Skip to content
Jiří Čermák edited this page Jul 18, 2022 · 4 revisions

ackee|Petrus

GitHub license CI Status PRs Welcome Dependency Status bundlephobia bundlephobia

Petrus

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.


Table of contents


Installation

$ yarn add @ackee/petrus

Stack Dependencies

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"

@ackee/petrus - v6.0.0

Clone this wiki locally