-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jiří Čermák edited this page Jul 18, 2022
·
4 revisions
A tool for handling token-based authentication in React/Redux/Redux-Saga applications.
It automatically refreshes access token based on provided expiration timestamp, persists its state, so the authentication session last as long as user wishes.
$ yarn add @ackee/petrus
The library required following peer dependencies:
"core-js": "3.x",
"react": "16.x | 17.x | 18.x",
"react-redux": "7.x | 8.x",
"redux": "4.x",
"redux-saga": "1.x"