GetTokenResult

class GetTokenResult(val token: String?, val claims: Map<String, Any?>)(source)

An ID token and its claims, mirroring com.google.firebase.auth.GetTokenResult.

Constructors

Link copied to clipboard
constructor(token: String?, claims: Map<String, Any?>)

Properties

Link copied to clipboard

When the user authenticated, in seconds since the epoch.

Link copied to clipboard

The claims of the token, including the custom claims.

Link copied to clipboard

When the token expires, in seconds since the epoch.

Link copied to clipboard

When the token was issued, in seconds since the epoch.

Link copied to clipboard

The provider the user signed in with, e.g. password, or null.

Link copied to clipboard

The second factor the user signed in with, e.g. phone, or null.

Link copied to clipboard

The JWT, or null when unavailable.