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

OAuthInfo

data class OAuthInfo (source)

The result of authentication with FxA via an OAuth flow.

Constructors

<init>

OAuthInfo(accessToken: String, keys: Map<String, OAuthScopedKey>?, scopes: List<String>)

The result of authentication with FxA via an OAuth flow.

Properties

accessToken

val accessToken: String

The access token produced by the flow.

keys

val keys: Map<String, OAuthScopedKey>?

When present, a map of scopes to OAuthScopedKey.

scopes

val scopes: List<String>

A list of scopes that this token is valid for.