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

    code

    the ‘authorization’ code to exchange for an access token.

    completionHandler

    A 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

    completionHandler

    A 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

    completionHandler

    A block object to be executed when the request operation finishes.