Type Alias


The completion handler for an authentication session when the user cancels or finishes the login.


typedef void (^SFAuthenticationCompletionHandler)(NSURL *callbackURL, NSError *error);


The custom callback URL should only be a custom URL scheme, and not a standard scheme (e.g. http or https). The session looks at the scheme registered first and routes to the app asking to start a session before potentially routing the scheme to another app.

See Also

Safari Content Display in Your App


An object that provides a visible standard interface for browsing the web.


A class that manages sharing a one-time login between Safari and an app, which can also be used for automatic login for associated apps.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software