AuthTokenResult

class AuthTokenResult : 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

    Swift

    var token: String { get }
  • Stores the ID token’s expiration date.

    Declaration

    Swift

    var expirationDate: Date { get }
  • 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

    Swift

    var authDate: Date { get }
  • Stores the date that the ID token was issued. This is the date last refreshed and NOT the last authentication date.

    Declaration

    Swift

    var issuedAtDate: Date { get }
  • Stores sign-in provider through which the token was obtained. This does not necesssarily map to provider IDs.

    Declaration

    Swift

    var signInProvider: String { get }
  • 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

    Swift

    var claims: [String : Any] { get }