FacebookOAuth2Module
An OAuth2Module subclass specific to ‘Facebook’ authorization
-
Undocumented
-
Exchange an authorization code for an access token.
Declaration
Swift
override public func exchangeAuthorizationCodeForAccessToken(code: String, completionHandler: (AnyObject?, NSError?) -> Void)Parameters
codethe ‘authorization’ code to exchange for an access token.
completionHandlerA block object to be executed when the request operation finishes.
-
Request to revoke access.
Declaration
Swift
override public func revokeAccess(completionHandler: (AnyObject?, NSError?) -> Void)Parameters
completionHandlerA block object to be executed when the request operation finishes.
-
Gateway to request authorization access
Declaration
Swift
override public func login(completionHandler: (AnyObject?, OpenIDClaim?, NSError?) -> Void)Parameters
completionHandlerA block object to be executed when the request operation finishes.
View on GitHub
FacebookOAuth2Module Class Reference