{"repo":"crystal-community/jwt","free":true,"listed":false,"github":"https://github.com/crystal-community/jwt","clone":"git clone https://github.com/crystal-community/jwt.git","description":"JWT implementation in Crystal","language":"Crystal","stars":212,"topics":["jwt","crystal"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Crystal JWT An implementation of JSON Web Token (JWT) in Crystal programming language. Crystal JWT Installation Usage Supported algorithms Supported reserved claim names Expiration time (exp) Not before time (nbf) Issued At (iat) Audience (aud) Issuer (iss) Subject (sub) JWT ID (jti) Exceptions Test Contributors Installation Add this to your application's shard.yml : Usage Supported algorithms [x] none [x] HMAC (HS256, HS384, HS512) [x] RSA (RS256, RS384, RS512) [x] RSA-PSS (PS256, PS384, PS512) [x] ECDSA (ES256, ES256K, ES384, ES512) [x] Edwards-curve Digital Signature Algorithm (EdDSA - crv: Ed25519) Supported reserved claim names JSON Web Token defines some reserved claim names and how they should be used. 'exp' (Expiration Time) Claim 'nbf' (Not Before Time) Claim 'iss' (Issuer) Claim 'aud' (Audience) Claim 'jti' (JWT ID) Claim 'iat' (Issued At) Claim 'sub' (Subject) Claim 'typ' (Type) Claim Expiration Time (exp) From RFC 7519: The \"exp\" (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing. The processing of the \"exp\" claim requires that the current date/time MUST be before the expiration date/time listed in the \"exp\" claim. Implementers MAY provide for some small leeway, usually no more than a few minutes, to account for clock skew. Its value MUST be a number containing a NumericDate value. Use of this claim is OPTIONAL Example: Not Before Time (nbf) From RFC 7519: MUST NOT be accepted for processing. The pr","default_branch":null,"files":null,"tree":[],"storefront":"/r/crystal-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/crystal-community/jwt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}