API Reference prima_auth0_ex v0.3.0
Modules
Handles the retrieval of token from Auth0 and their verification/validation.
Credentials to access Auth0
Strategy used by Joken
to obtain JWKS from Auth0.
Simple ETS counter based state machine
Utilities to help working with prima_auth0_ex
on a local environment, without the need to integrate with Auth0.
Plug to verify and validate bearer tokens
Module to verify the integrity and validate the claims of tokens.
GenServer that handles the storage and refresh of tokens.
Implementation of PrimaAuth0Ex.TokenProvider.AuthorizationService
for Auth0.
Fetches key ids (aka kid
s) from Auth0 JWKS
Behaviour to handle communications with an authorization service.
Implementation of PrimaAuth0Ex.TokenProvider.TokenService
that caches tokens on
an external cache in order to limit the requests made to Auth0 by reusing tokens.
Implementation of PrimaAuth0Ex.TokenProvider.TokenCache
that persists encrypted copies of tokens on Redis.
Behaviour to fetch key ids (aka kid
s) from a JWKS server
Implementation of PrimaAuth0Ex.TokenProvider.RefreshStrategy
that relies on a probabilistic approach
to decide whether to refresh a token.
Behaviour to define a strategy to decide whether to refresh a token or keep using it for some more time.
Behaviour that defines a cache for tokens.
Module to perform authenticated symmetric encryption of binaries.
Information related to a JWT, including the JWT itself and additional metadata
Behaviour to deal with retrieval and refresh of tokens