{"repo":"jonasroussel/dart_jsonwebtoken","free":true,"listed":false,"github":"https://github.com/jonasroussel/dart_jsonwebtoken","clone":"git clone https://github.com/jonasroussel/dart_jsonwebtoken.git","description":"An easy to use JSON Web Token implementation in Dart (all algorithms supported).","language":"Dart","stars":109,"topics":["jwt","hmac","ecdsa","jwt-token","rsa"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"JSON Web Token (JWT) An easy to use JSON Web Token implementation in Dart (all algorithms supported). JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. dart jsonwebtoken allows you to sign, decode and verify JWT. Examples Check out the Example File for a full example code of all the different algorithms. You can also check out the jwt.io website for more information. Usage Import Creating & signing a JWT Verifying a JWT Decoding without verification You can decode a token without checking its signature (e.g. for inspection). Do not use this for authorization —always verify with JWT.verify when trusting the token. Key creation for all algorithms The raw PEM content below is for learning only. In production, read private and public keys from files and pass their contents (as strings) to the constructors. Supported Algorithms JWT Algorithms Digital Signature or MAC Algorithm -------------- ----------------------------------------------------- HS256 HMAC using SHA-256 hash algorithm HS384 HMAC using SHA-384 hash algorithm HS512 HMAC using SHA-512 hash algorithm PS256 RSASSA-PSS using SHA-256 hash algorithm PS384 RSASSA-PSS using SHA-384 hash algorithm PS512 RSASSA-PSS using SHA-512 hash algorithm RS256 RSASSA-PKCS1-v1 5 using SHA-256 hash algorithm RS384 RSASSA-PKCS1-v1 5 using SHA-384 hash algorithm RS512 RSASSA-PKCS1-v1 5 using SHA-512 hash algorithm ES256 ECDSA using P-256 curve and SHA-256 hash algorithm ES256","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonasroussel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonasroussel/dart_jsonwebtoken/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."}