View Source PrimaAuth0Ex.TokenProvider.TokenCache behaviour (prima_auth0_ex v0.3.1)
Behaviour that defines a cache for tokens.
Link to this section Summary
Link to this section Callbacks
Specs
get_token_for(String.t()) :: {:ok, PrimaAuth0Ex.TokenProvider.TokenInfo.t() | nil} | {:error, any()}
Specs
set_token_for(String.t(), PrimaAuth0Ex.TokenProvider.TokenInfo.t()) :: :ok | {:error, any()}