android-components / mozilla.components.service.fxa / AccessTokenInfo

AccessTokenInfo

data class AccessTokenInfo (source)

The result of authentication with FxA via an OAuth flow.

Constructors

<init>

AccessTokenInfo(token: String, key: OAuthScopedKey?, expiresAt: Long)

The result of authentication with FxA via an OAuth flow.

Properties

expiresAt

val expiresAt: Long

The expiry date timestamp of this token since unix epoch (in seconds).

key

val key: OAuthScopedKey?

An OAuthScopedKey if present.

token

val token: String

The access token produced by the flow.