Skip to content

Structure

FirebaseAuthIdentityToken

struct FirebaseAuthIdentityToken

Topics

Structures

Initializers

Instance Properties

  • audience
    The audience that this ID token is intended for. It must be your Firebase project ID, the unique identifier for your Firebase project, which can be found in the URL of that project’s console.
  • authTime
    Authentication time. It must be in the past. The time when the user authenticated.
  • email
    The user’s email address.
  • emailVerified
    True if the user’s e-mail address has been verified; otherwise false.
  • expires
    Expiration time. It must be in the future. The time is measured in seconds since the UNIX epoch.
  • firebase
    Additional Firebase-specific claims
  • issuedAt
    Issued-at time. It must be in the past. The time is measured in seconds since the UNIX epoch.
  • issuer
    Issuer. It must be “https://securetoken.google.com/”, where is the same project ID used for aud
  • name
    The user’s full name, in a displayable form.
  • phoneNumber
    The user’s phone number.
  • picture
    The URL of the user’s profile picture.
  • subject
    Subject. It must be a non-empty string and must be the uid of the user or device.
  • userID

Instance Methods

  • verify(using:)
    Verifies that the payload’s claims are correct or throws an error.

Relationships

Conforms To

  • JWTPayload
  • Swift.Decodable
  • Swift.Encodable
  • Swift.Sendable
  • Swift.SendableMetatype