ackee-redux-token-auth
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "ackee-redux-token-auth", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Redux and redux saga logic for token authentication with an auto token refresh.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -16,3 +16,3 @@ # ackee-redux-token-auth | ||
* * * | ||
--- | ||
@@ -29,5 +29,5 @@ ## Table of contents | ||
- [Utilities](#utilities) | ||
- [Migration guides (`1.x.x` -> `2.0.0`)](#migration-guides) | ||
- [Migration guides (`1.x.x` -> `2.0.x`)](#migration-guides) | ||
* * * | ||
--- | ||
@@ -48,3 +48,3 @@ ## <a name="installing"></a>Installing | ||
* * * | ||
--- | ||
@@ -128,3 +128,3 @@ ## <a name="initialization"></a>Initialization | ||
* * * | ||
--- | ||
@@ -137,3 +137,3 @@ ## API | ||
- ##### <a name="constants-tokens-persistence"></a>`persistence` | ||
- <a name="constants-tokens-persistence"></a>`persistence` | ||
@@ -146,3 +146,3 @@ Tokens persistence defines how and where will be tokens stored and when they will be cleared: | ||
###### Example | ||
Example | ||
@@ -284,13 +284,14 @@ ```js | ||
* * * | ||
--- | ||
> ### Tokens management logic | ||
> | ||
> More detail description of the [Tokens management logic](/src/sagas/tokens/tokens.md). | ||
> More detail description of the [Tokens management logic](https://gitlab.ack.ee/Web/token-auth/blob/master/src/sagas/tokens/tokens.md). | ||
* * * | ||
--- | ||
## <a name="migration-guides"></a>Migration guides from `1.x.x` to `2.0.0` | ||
## <a name="migration-guides"></a>Migration guides from `1.x.x` to `2.0.x` | ||
The `configure` method now accept an object with following changes: | ||
1. `refreshTokens` function is now required | ||
@@ -297,0 +298,0 @@ 2. `getAuthUser` is a required function, that returns a user object. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144507
304