View Source PrimaAuth0Ex.TokenProvider.TokenService behaviour (prima_auth0_ex v0.3.1)
Behaviour to deal with retrieval and refresh of tokens
Link to this section Summary
Link to this section Callbacks
Specs
refresh_token( PrimaAuth0Ex.Auth0Credentials.t(), String.t(), PrimaAuth0Ex.TokenProvider.TokenInfo.t() | nil, force_cache_bust :: boolean() ) :: {:ok, PrimaAuth0Ex.TokenProvider.TokenInfo.t()} | {:error, any()}
Specs
retrieve_token(PrimaAuth0Ex.Auth0Credentials.t(), String.t()) :: {:ok, PrimaAuth0Ex.TokenProvider.TokenInfo.t()} | {:error, any()}