AppCheckToken
public 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 methods |
|
|---|---|
abstract long |
Returns the time at which the token will expire in milliseconds since epoch. |
abstract @NonNull String |
getToken()Returns the raw JWT attesting to this application’s identity. |
Extension functions |
|
|---|---|
final @NonNull String |
FirebaseAppCheckKt.component1(@NonNull AppCheckToken receiver)Destructuring declaration for |
final long |
FirebaseAppCheckKt.component2(@NonNull AppCheckToken receiver)Destructuring declaration for |
Public constructors
Public methods
getExpireTimeMillis
public abstract long getExpireTimeMillis()
Returns the time at which the token will expire in milliseconds since epoch.
Extension functions
FirebaseAppCheckKt.component1
public final @NonNull String FirebaseAppCheckKt.component1(@NonNull AppCheckToken receiver)
Destructuring declaration for AppCheckToken to provide token.
| Returns | |
|---|---|
@NonNull String |
the token of the |
FirebaseAppCheckKt.component2
public final long FirebaseAppCheckKt.component2(@NonNull AppCheckToken receiver)
Destructuring declaration for AppCheckToken to provide expireTimeMillis.
| Returns | |
|---|---|
long |
the expireTimeMillis of the |