Phauxth v2.0.0-alpha.4 Phauxth.Token.Utils View Source
Utility functions to generate keys from a ‘key source’.
These functions are based on the key generation functions in the Phoenix.Token module.
Link to this section Summary
Functions
Gets a key from a key source
Link to this section Functions
Link to this function
get_key(key_source, opts)
View Source
get_key(Plug.Conn.t() | atom() | binary(), keyword()) :: binary()
Gets a key from a key source.
A key source can be a conn struct, an endpoint, or a string.