Spell.Authentication behaviour
The Spell.Authentication module specifies the behaviour of WAMP
authentication schemes.
Summary↑
| get_details(authentication) | Helper for getting the WAMP HELLO auth details from Spell peer
|
| schemes_to_lookup(schemes) | Create a lookup from authentication scheme name to module |
Functions
Specs:
Helper for getting the WAMP HELLO auth details from Spell peer
authentication options.
Specs:
Create a lookup from authentication scheme name to module.
Callbacks
Specs:
- name :: String.t
Get the name of the authorization scheme as a string.
Specs:
- response(details :: %{}, options :: Keyword.t) :: {:ok, signature :: String.t, extra :: %{}} | {:error, any}
Attempt to authenticate the given options.
This is called in response to CHALLENGE.