AuthenticationTokens

public struct AuthenticationTokens

Represents authentication tokens associated with a given user.

  • Signed ID token carrying identity claims.

    Declaration

    Swift

    public let idToken: String
  • Signed access token used for API access that does not require details of the user’s identity..

    Declaration

    Swift

    public let accessToken: String
  • Refresh token used for refreshing ID and access tokens.

    Declaration

    Swift

    public let refreshToken: String
  • Lifetime of the ID and access tokens in seconds.

    Declaration

    Swift

    public let lifetime: Int
  • Username associated with the tokens.

    Declaration

    Swift

    public let username: String