This commit is contained in:
jonasroussel
2020-11-19 18:48:56 +01:00
parent ff0fe82556
commit 2b39a3be15
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
## 1.4.1
- Formating for 'static analysis'
## 1.4.0 ## 1.4.0
- Implementing `throwUndefinedErrors` option in the `JWT.verify` method - Implementing `throwUndefinedErrors` option in the `JWT.verify` method

View File

@ -1,7 +1,7 @@
# JSON Web Token (JWT) # JSON Web Token (JWT)
[![pub package](https://img.shields.io/pub/v/dart_jsonwebtoken.svg)](https://pub.dev/packages/dart_jsonwebtoken) [![pub package](https://img.shields.io/pub/v/dart_jsonwebtoken.svg)](https://pub.dev/packages/dart_jsonwebtoken)
A dart implementation of the famous javascript library `jsonwebtoken` (JWT). A dart implementation of the famous javascript library `jsonwebtoken`.
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
https://jwt.io allows you to decode, verify and generate JWT. https://jwt.io allows you to decode, verify and generate JWT.

View File

@ -120,7 +120,7 @@ class JWT {
} }
} catch (ex) { } catch (ex) {
if (throwUndefinedErrors) { if (throwUndefinedErrors) {
throw ex; rethrow;
} else { } else {
throw JWTInvalidError('invalid token'); throw JWTInvalidError('invalid token');
} }

View File

@ -1,6 +1,6 @@
name: dart_jsonwebtoken name: dart_jsonwebtoken
description: A dart implementation of the famous javascript library 'jsonwebtoken' (JWT). description: A dart implementation of the famous javascript library 'jsonwebtoken' (JWT).
version: 1.4.0 version: 1.4.1
repository: https://github.com/jonasroussel/jsonwebtoken repository: https://github.com/jonasroussel/jsonwebtoken
homepage: https://github.com/jonasroussel/jsonwebtoken#readme homepage: https://github.com/jonasroussel/jsonwebtoken#readme