AppCheckProvider

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 functions

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 functions

getToken

fun getToken(): 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.