public abstract class AppCheckTokenResult extends Object

Class to hold the result emitted by a Firebase App Check service application verification attempt. The result will always contain a token, which will either be a valid raw JWT attesting application identity, or a dummy value. The result may optionally contain a FirebaseException if application verification does not succeed.

Public Constructor Summary

Public Method Summary

abstract FirebaseException
getError()
Returns the FirebaseException if the InternalAppCheckTokenProvider failed to obtain a token.
abstract String
getToken()
Returns the raw JWT attesting to this application’s identity.

Inherited Method Summary

Public Constructors

public AppCheckTokenResult ()

Public Methods

public abstract FirebaseException getError ()

Returns the FirebaseException if the InternalAppCheckTokenProvider failed to obtain a token.

public abstract String getToken ()

Returns the raw JWT attesting to this application’s identity. May be a dummy value, if application verification does not succeed.