iOS SDK Version

FBSDKAuthenticationToken

@interfaceFBSDKAuthenticationToken:NSObject<FBSDKCopying,NSSecureCoding>
Represent an AuthenticationToken used for a login attempt
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    -(instancetype)initNS_UNAVAILABLE;
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;
  • The “global” authentication token that represents the currently logged in user.
    The currentAuthenticationToken represents the authentication token of the current user and can be used by a client to verify an authentication attempt.

    Declaration

    Objective-C
    @property(class,nonatomic,copy,readwrite,nullable)FBSDKAuthenticationToken*currentAuthenticationToken;
    Swift
    @NSCopyingclassvarcurrent:AuthenticationToken?{getset}
  • The raw token string from the authentication response

    Declaration

    Objective-C
    @property(nonatomic,copy,readonly)NSString*_NonnulltokenString;
    Swift
    vartokenString:String{get}
  • The nonce from the decoded authentication response

    Declaration

    Objective-C
    @property(nonatomic,copy,readonly)NSString*_Nonnullnonce;
    Swift
    varnonce:String{get}
  • The graph domain where the user is authenticated.

    Declaration

    Objective-C
    @property(nonatomic,copy,readonly)NSString*_NonnullgraphDomain;
    Swift
    vargraphDomain:String{get}
  • Returns the claims encoded in the AuthenticationToken

    Declaration

    Objective-C
    -(nullableFBSDKAuthenticationTokenClaims*)claims;
    Swift
    funcclaims()->FBSDKAuthenticationTokenClaims?