iOS SDK Version

FBSDKAuthenticationTokenClaims

@interfaceFBSDKAuthenticationTokenClaims:NSObject/// A unique identifier for the token.@property(nonatomic,readonly,strong)NSString*jti;/// Issuer Identifier for the Issuer of the response.@property(nonatomic,readonly,strong)NSString*iss;/// Audience(s) that this ID Token is intended for.@property(nonatomic,readonly,strong)NSString*aud;/// String value used to associate a Client session with an ID Token, and to mitigate replay attacks.@property(nonatomic,readonly,strong)NSString*nonce;/// Expiration time on or after which the ID Token MUST NOT be accepted for processing.@property(nonatomic,readonly,assign)longexp;/// Time at which the JWT was issued.@property(nonatomic,readonly,assign)longiat;/// Subject - Identifier for the End-User at the Issuer.@property(nonatomic,readonly,strong)NSString*sub;/// End-User's full name in displayable form including all name parts.@property(nullable,nonatomic,readonly,strong)NSString*name;/// End-User's given name in displayable form@property(nullable,nonatomic,readonly,strong)NSString*givenName;/// End-User's middle name in displayable form@property(nullable,nonatomic,readonly,strong)NSString*middleName;/// End-User's family name in displayable form@property(nullable,nonatomic,readonly,strong)NSString*familyName;/** End-User's preferred e-mail address. IMPORTANT: This field will only be populated if your user has granted your application the 'email' permission. */@property(nullable,nonatomic,readonly,strong)NSString*email;/// URL of the End-User's profile picture.@property(nullable,nonatomic,readonly,strong)NSString*picture;/** End-User's friends. IMPORTANT: This field will only be populated if your user has granted your application the 'user_friends' permission. */@property(nullable,nonatomic,readonly,strong)NSArray<NSString*>*userFriends;/// End-User's birthday@property(nullable,nonatomic,readonly,strong)NSString*userBirthday;/// End-User's age range@property(nullable,nonatomic,readonly,strong)NSDictionary<NSString*,NSNumber*>*userAgeRange;/// End-User's hometown@property(nullable,nonatomic,readonly,strong)NSDictionary<NSString*,NSString*>*userHometown;/// End-User's location@property(nullable,nonatomic,readonly,strong)NSDictionary<NSString*,NSString*>*userLocation;/// End-User's gender@property(nullable,nonatomic,readonly,strong)NSString*userGender;/// End-User's link@property(nullable,nonatomic,readonly,strong)NSString*userLink;-(instancetype)initNS_UNAVAILABLE;+(instancetype)newNS_UNAVAILABLE;@end
Undocumented
  • A unique identifier for the token.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly)NSString*_Nonnulljti;
    Swift
    varjti:String{get}
  • Issuer Identifier for the Issuer of the response.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly)NSString*_Nonnulliss;
    Swift
    variss:String{get}
  • Audience(s) that this ID Token is intended for.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly)NSString*_Nonnullaud;
    Swift
    varaud:String{get}
  • String value used to associate a Client session with an ID Token, and to mitigate replay attacks.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly)NSString*_Nonnullnonce;
    Swift
    varnonce:String{get}
  • Expiration time on or after which the ID Token MUST NOT be accepted for processing.

    Declaration

    Objective-C
    @property(nonatomic,assign,unsafe_unretained,readonly)longexp;
    Swift
    varexp:Int{get}
  • Time at which the JWT was issued.

    Declaration

    Objective-C
    @property(nonatomic,assign,unsafe_unretained,readonly)longiat;
    Swift
    variat:Int{get}
  • Subject - Identifier for the End-User at the Issuer.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly)NSString*_Nonnullsub;
    Swift
    varsub:String{get}
  • End-User’s full name in displayable form including all name parts.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*name;
    Swift
    varname:String?{get}
  • End-User’s given name in displayable form

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*givenName;
    Swift
    vargivenName:String?{get}
  • End-User’s middle name in displayable form

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*middleName;
    Swift
    varmiddleName:String?{get}
  • End-User’s family name in displayable form

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*familyName;
    Swift
    varfamilyName:String?{get}
  • End-User’s preferred e-mail address.
    IMPORTANT: This field will only be populated if your user has granted your application the ‘email’ permission.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*email;
    Swift
    varemail:String?{get}
  • URL of the End-User’s profile picture.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*picture;
    Swift
    varpicture:String?{get}
  • End-User’s friends.
    IMPORTANT: This field will only be populated if your user has granted your application the ‘user_friends’ permission.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSArray<NSString*>*userFriends;
    Swift
    varuserFriends:[String]?{get}
  • End-User’s birthday

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*userBirthday;
    Swift
    varuserBirthday:String?{get}
  • End-User’s age range

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSDictionary<NSString*,NSNumber*>*userAgeRange;
    Swift
    varuserAgeRange:[String:NSNumber]?{get}
  • End-User’s hometown

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSDictionary<NSString*,NSString*>*userHometown;
    Swift
    varuserHometown:[String:String]?{get}
  • End-User’s location

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSDictionary<NSString*,NSString*>*userLocation;
    Swift
    varuserLocation:[String:String]?{get}
  • End-User’s gender

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*userGender;
    Swift
    varuserGender:String?{get}
  • End-User’s link

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSString*userLink;
    Swift
    varuserLink:String?{get}
  • Unavailable
    Undocumented

    Declaration

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

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;