Skip to content

Commit 95a0948

Browse files
authored
Comment out examples of deprecated authorize method
1 parent f069469 commit 95a0948

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ Please ensure that the supplied view controller is the top-most controller, so t
325325
// Note: this is the DEPRECATED authorization flow that grants a long-lived token.
326326
// If you are still using this, please update your app to use the `authorizeFromControllerV2` call instead.
327327
// See https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens
328-
[DBClientsManager authorizeFromController:[UIApplication sharedApplication]
329-
controller:[[self class] topMostController]
330-
openURL:^(NSURL *url) {
331-
[[UIApplication sharedApplication] openURL:url];
332-
}];
328+
// [DBClientsManager authorizeFromController:[UIApplication sharedApplication]
329+
// controller:[[self class] topMostController]
330+
// openURL:^(NSURL *url) {
331+
// [[UIApplication sharedApplication] openURL:url];
332+
// }];
333333
}
334334

335335
+ (UIViewController*)topMostController
@@ -364,9 +364,9 @@ Please ensure that the supplied view controller is the top-most controller, so t
364364
// Note: this is the DEPRECATED authorization flow that grants a long-lived token.
365365
// If you are still using this, please update your app to use the `authorizeFromControllerDesktopV2` call instead.
366366
// See https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens
367-
[DBClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace]
368-
controller:self
369-
openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; }];
367+
// [DBClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace]
368+
// controller:self
369+
// openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; }];
370370

371371
}
372372
```

0 commit comments

Comments
 (0)