AppCheckToken
abstract class AppCheckToken
Class to hold tokens emitted by the Firebase App Check service which are minted upon a successful application verification. These tokens are the federated output of a verification flow, the structure of which is independent of the mechanism by which the application was verified.
Summary
Public constructors |
|---|
Public functions |
|
|---|---|
abstract Long |
Returns the time at which the token will expire in milliseconds since epoch. |
abstract String |
getToken()Returns the raw JWT attesting to this application’s identity. |
Extension functions |
|
|---|---|
operator String |
Destructuring declaration for |
operator Long |
Destructuring declaration for |
Public constructors
Public functions
getExpireTimeMillis
abstract fun getExpireTimeMillis(): Long
Returns the time at which the token will expire in milliseconds since epoch.
Extension functions
component1
operator fun AppCheckToken.component1(): String
Destructuring declaration for AppCheckToken to provide token.
| Returns | |
|---|---|
String |
the token of the |
component2
operator fun AppCheckToken.component2(): Long
Destructuring declaration for AppCheckToken to provide expireTimeMillis.
| Returns | |
|---|---|
Long |
the expireTimeMillis of the |