plug_hyper_auth v0.2.0 HyperAuth.Authenticator behaviour

Specification of the authenticator adapter.

Link to this section Summary

Link to this section Callbacks

Link to this callback authenticate(scheme, authorization, opts)
authenticate(scheme :: String.t, authorization :: map, opts :: Plug.opts) ::
  map |
  nil |
  {:error, String.t} |
  :error

Authenticate the suplicant.