百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

redux-auth-wrapper

> 前端框架
开源

一个用于处理身份验证和授权、路由和 Redux 的 React 高阶组件 (HOC)

2.2K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个用于处理身份验证和授权、路由和 Redux 的 React 高阶组件 (HOC)

redux-auth-wrapper

Decouple your Authentication and Authorization from your components!

npm install --save redux-auth-wrapper

redux-auth-wrapper is a utility library for handling authentication and authorization in react + redux applications.

Read the documentation at https://mjrussell.github.io/redux-auth-wrapper

Version 3

Version 3.x has the same external API as version 2, however it only supports React >= 16.3. It is also tested with react-router v5 and connected-react-router which replaced react-router-redux.

Version 2

Version 2.x is a big internal rewrite! It provides a massive increase in flexibility when using redux-auth-wrapper and also introduces some breaking changes. See the Migration Guide for more details if coming from 1.x. Or check out the Getting Started guide if you've never used redux-auth-wrapper before.

Looking for Version 1.x? You can browse the 1.x README here.

Submitting Issues

Having trouble? First check out the Troubleshooting section of the documentation, and then search the issues, both open and closed for your problem. If you are still having trouble or have a question on using redux-auth-wrapper, please open an issue! You can also ask on the gitter channel.

Examples

  • React Router 3
  • React Router 4/5

Other examples not yet updated to v2:

  • Redux-Router and React-Router 1.0 with JWT
  • React-Router-Redux and React-Router 2.0 with JWT

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •React Router 3
  • •React Router 4/5
  • •Redux-Router and React-Router 1.0 with JWT
  • •React-Router-Redux and React-Router 2.0 with JWT

> 标签

JavaScriptauthenticationhocreactreact-router

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架