Auctoritas v0.9.1 Auctoritas.TokenManager behaviour View Source
TokenManager module
- Specifies
TokenManager
behaviour - Implements default
TokenManager
with__using__
macro
Link to this section Summary
Callbacks
Invoked when generating token with :refresh_token config option
Invoked when generating token from inserted authentication_data
Link to this section Types
Link to this type
name()
View Source
name()
View Source
name() :: String.t()
name() :: String.t()
Name from config (Auctoritas supervisor name)
Link to this type
token()
View Source
token()
View Source
token() :: String.t()
token() :: String.t()
Authentication token
Link to this section Callbacks
Link to this callback
generate_refresh_token(name, authentication_data) View Source
Invoked when generating token with :refresh_token config option
Link to this callback
generate_token_and_data(name, authentication_data) View Source
Invoked when generating token from inserted authentication_data