| Features | - Generates, signs, verifies and validates JWTs as separate steps
- Built-in claim generation and validation
- Supports all HS, RS, ES and PS signing algorithms and the Edwards algorithms
- Key configuration through Elixir's config system
- Hooks to extend every core operation
- Test helpers for apps that use Joken
| - JSON Web Tokens by default, other token types through a behaviour
- Plug pipelines for Phoenix and other web apps
- authentication for Phoenix channels and sockets
- several token types and configurations in one application
- custom claims in tokens
| - JWS signing and verification
- JWE encryption and decryption
- JWK keys and thumbprints
- JWT verification with an allowed-algorithm list
- ChaCha20-Poly1305, Curve25519 and Curve448
- the 'none' algorithm disabled by default
| - Authorization Code, Password and Client Credentials flows
- custom strategies
- serializers per content type
- HTTP through Tesla with a choice of adapter
|