plug_hyper_auth v0.2.1 HyperAuth.Authenticator behaviour

Specification of the authenticator adapter.

Link to this section Summary

Callbacks

Authenticate the suplicant

Link to this section Callbacks

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

Authenticate the suplicant.