New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cape-redux-auth

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cape-redux-auth

A redux reducer for some authentication state.

4.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

cape-redux-auth v2.1.0

An example redux reducer for handling some authentication state.

Actions

  • login(user) Saves user object to auth.
  • loginRedirect(user, location) thunk action allow logging in and redirect using redux-history-sync.

Selectors

  • selectUser() Returns auth.user or graph.entity[selectUse().uid] if user in state is an object with a single id prop.

FAQs

Package last updated on 24 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts