Auctoritas v0.1.1 Auctoritas.AuthenticationManager.DataStorage behaviour View Source
Link to this section Summary
Link to this section Types
Link to this type
token()
View Source
token()
View Source
token() :: String.t()
token() :: String.t()
Link to this section Functions
Link to this function
delete_token(token) View Source
Link to this function
get_token_data(token) View Source
Link to this function
get_tokens(start, amount)
View Source
get_tokens(start, amount)
View Source
get_tokens(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
get_tokens(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
Link to this function
get_tokens_with_data(start, amount)
View Source
get_tokens_with_data(start, amount)
View Source
get_tokens_with_data(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
get_tokens_with_data(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
Link to this function
insert_data(token, data) View Source
Link to this function
token_exists?(token) View Source
Link to this function
token_expires?(token) View Source
Link to this function
worker() View Source
Link to this section Callbacks
Link to this callback
delete_token(token) View Source
Link to this callback
get_token_data(token) View Source
Link to this callback
get_tokens(non_neg_integer, non_neg_integer)
View Source
get_tokens(non_neg_integer, non_neg_integer)
View Source
get_tokens(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
get_tokens(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
Link to this callback
get_tokens_with_data(non_neg_integer, non_neg_integer)
View Source
get_tokens_with_data(non_neg_integer, non_neg_integer)
View Source
get_tokens_with_data(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
get_tokens_with_data(non_neg_integer(), non_neg_integer()) :: {atom(), any()}
Link to this callback
insert_data(token, any) View Source
Link to this callback
token_exists?(token) View Source
Link to this callback