FirebaseAuth Framework Reference

FIRAuthTokenResult


@interface FIRAuthTokenResult : NSObject

A data class containing the ID token JWT string and other properties associated with the token including the decoded payload claims.

  • Stores the JWT string of the ID token.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull token;
  • Stores the ID token’s expiration date.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDate *_Nonnull expirationDate;
  • Stores the ID token’s authentication date. This is the date the user was signed in and NOT the date the token was refreshed.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDate *_Nonnull authDate;
  • Stores the date that the ID token was issued. This is the date last refreshed and NOT the last authentication date.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDate *_Nonnull issuedAtDate;
  • Stores sign-in provider through which the token was obtained. This does not necessarily map to provider IDs.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull signInProvider;
  • Stores sign-in second factor through which the token was obtained.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull signInSecondFactor;
  • Stores the entire payload of claims found on the ID token. This includes the standard reserved claims as well as custom claims set by the developer via the Admin SDK.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDictionary<NSString *, id> *_Nonnull claims;