authenticator v0.1.0 Authenticator.Header

A plug that authenticates a resource from the Authorization header. The header is expected to conform to the following format:

Bearer <token>

If the header is not present or has an invalid format, this plug won’t do anything.

Examples

plug Authenticator.Header, with: MyAppWeb.Authenticator