YipyipExAuth v0.1.0-alpha.2 API Reference
Modules
Config struct. Keys :session_ttl
, :refresh_token_ttl
and :session_store_module
have no defaults and are mandatory.
Setting :session_ttl
to nil
means sessions can live forever, as long as they are refreshed.
The token salts serve to separate one token from another, the real secret is the endpoint's secret key base.
Defaults
A session.
Tokens to be communicated to the client.
Function plugs to create and delete sessions. create_session/3
can be used in combination with
YipyipExAuth.Plugs.ProcessRefreshToken
for token refreshing.
Plug to process access tokens.
Process refresh tokens.
Behaviour definition of a persistent session store, to be implemented by the application. The implementation is expected to handle cleanup of expired entries.
Utility functions, mainly getters and setters for module internals.