Ruby
JWT Examples for Ruby
HMAC Signatures (HS256, HS384, HS512)
- Create JWT Using HS256, HS384, or HS512
- Verify JWT Using HS256, HS384, or HS512
RSA Signatures, Certificates and Smart Cards
- Create JWT Using RSA (RS256, RS384, or RS512)
- Verify JWT Using an RSA Public Key (RS256, RS384, RS512)
- Create JWT using a Certificate's Private Key
- Create JWT using Smart Card
ECC and EdDSA Signatures
- Create JWT Using ECC (ES256, ES384, or ES512)
- Verify JWT Using an ECC Public Key (ES256, ES384, ES512)
- Create JWT using a Brainpool EC Key
- Create JWT Using Ed25519 Private Key (EdDSA)
- Verify JWT with EdDSA / Ed25519 Signature
ID Tokens and Service-Specific JWTs
- Validate the at_hash Claim of an ID Token
- Verify a JWT Created by the Amazon Cognito Service
- bitzlato.com whoami (uses an ES256 JWT for Authorization Bearer in REST API)