AppCheckProvider

public interface AppCheckProvider


Interface for a provider that generates AppCheckTokens. This provider can be called at any time by any Firebase library that depends (optionally or otherwise) on AppCheckTokens. This provider is responsible for determining if it can create a new token at the time of the call and returning that new token if it can.

Summary

Public methods

abstract @NonNull Task<AppCheckToken>

Returns a Task which resolves to a valid AppCheckToken or an Exception in the case that an unexpected failure occurred while getting the token.

Public methods

getToken

abstract @NonNull Task<AppCheckTokengetToken()

Returns a Task which resolves to a valid AppCheckToken or an Exception in the case that an unexpected failure occurred while getting the token.