PROTOCOL

OAuthTokenModel

public protocol OAuthTokenModel: OAuthModel

A token model related with OAuth.

Properties

accessToken

var accessToken: String

The access token.

tokenType

var tokenType: String?

The token type.

scope

var scope: String?

The resulting scope.

expiresIn

var expiresIn: Int

The lifetime of the access token, in seconds.

refreshToken

var refreshToken: String?

The refresh token.

idToken

var idToken: String?

The ID Token value associated with the authenticated session.