Auctoritas v0.2.3 Auctoritas.TokenManager behaviour View Source
TokenManager module
- Specifies
TokenManager
behaviour - Implements default
TokenManager
with__using__
macro
Link to this section Summary
Callbacks
Invoked when authenticating; checks supplied authentication_data
Invoked when authenticating; checks supplied data
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
authentication_data_check(name, authentication_data) View Source
Invoked when authenticating; checks supplied authentication_data
Link to this callback
data_check(name, data) View Source
Invoked when authenticating; checks supplied data
Link to this callback
generate_token(name, authentication_data) View Source
Invoked when generating token from inserted authentication_data