Skip to content

Commit cc589b4

Browse files
authored
Improve documentation for method handleURL: in GIDSignIn public API (#246)
1 parent dbe49dc commit cc589b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GoogleSignIn/Sources/GIDSignIn.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ @implementation GIDSignIn {
170170

171171
#pragma mark - Public methods
172172

173+
// Handles the custom scheme URL opened by SFSafariViewController or the Device Policy App.
174+
//
175+
// For SFSafariViewController invoked via AppAuth, this method is used on iOS 10.
176+
// For the Device Policy App (EMM flow) this method is used on all iOS versions.
173177
- (BOOL)handleURL:(NSURL *)url {
174178
// Check if the callback path matches the expected one for a URL from Safari/Chrome/SafariVC.
175179
if ([url.path isEqual:kBrowserCallbackPath]) {

0 commit comments

Comments
 (0)