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 (readonly, nonatomic) NSString *_Nonnull token;
  • Stores the ID token’s expiration date.

    Declaration

    Objective-C

    @property (readonly, nonatomic) 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 (readonly, nonatomic) 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 (readonly, nonatomic) NSDate *_Nonnull issuedAtDate;
  • Stores sign-in provider through which the token was obtained. This does not necesssarily map to provider IDs.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull signInProvider;
  • 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 (readonly, nonatomic) NSDictionary<NSString *, id> *_Nonnull claims;