XmBindIdExchangeTokenResponse

XmBindIdExchangeTokenResponse

Represents that result of an exchange token request.

public protocol XmBindIdExchangeTokenResponse: Codable

Inheritance

Codable

Requirements

accessToken

Token-based authentication parameter - Allows an application to access an API. The application receives an access token after a user successfully authenticates and authorizes access, then passes the access token as a credential when it calls the target API.

var accessToken: String!

idToken

Token-based authentication parameter - Used to cache user profile information represented in the form of claims.

var idToken: String!

tokenType

Type of access token. Currently, only “Bearer” is returned.

var tokenType: XmBindIdTokenType!

expiresIn

Expiration time of the access token in seconds.

var expiresIn: Int!