Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ackee-redux-token-auth

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ackee-redux-token-auth - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc