OAuthToken

public struct OAuthToken : Codable, Equatable, AccessToken

OAuth token model returned by the server for accessToken requests and refreshAccessToken requests They are also constructed from LoginResponse These may be legacy TP OAuth tokens (which will not have a refreshToken) or a Cognito token. Cognito tokens will have refreshToken and expiresIn set

Codable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws