- Adds Guardian.Plug.authenticated?
- Adds simple claim checks to EnsureAuthenticated
- Fix an issue with permissions strings vs atoms (not encoding correctly)
Rename
Guardian.mint -> Guardian.encode_and_sign
Guardian.verify -> Guardian.decode_and_verify
Guardian.Plug.EnsureSession -> Guardian.Plug.EnsureAuthenticated
Guardian.Plug.VerifyAuthorization -> Guardian.Plug.VerifyHeader
Add new hooks on_verify and on_revoke Remove multiple hooks registration
Allow multiple hooks to be registered to Guardian
Use strings for keys in the token.
Remove CSRF tokens support. CSRF tokens are masked and so cannot be adequately implemented.
- Add callback hooks for authentication things
- Update to use new Joken
- Include permissions
Initial Release