Socket
Socket
Sign inDemoInstall

@adamldoyle/react-aws-auth-redux-slice

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @adamldoyle/react-aws-auth-redux-slice

Extension of [@adamldoyle/react-aws-auth-context-core](https://github.com/adamldoyle/react-aws-auth-context-core) that listens to Auth context changes and adds the session and profile to an authentication Redux slice.


Version published
Maintainers
1
Created

Readme

Source

react-aws-auth-redux-slice

Extension of @adamldoyle/react-aws-auth-context-core that listens to Auth context changes and adds the session and profile to an authentication Redux slice.

Features

  1. Automatically detects profile/session changes and keeps them up-to-date in Redux
  2. Provides several selectors to extract information

Installation

  1. yarn add @adamldoyle/react-aws-auth-redux-slice
  2. Build auth slice using buildAuthSlice which returns authSlice, authSelectors, AuthInjector
  3. Nest AuthInjector within AuthContextProvider (from @adamldoyle/react-aws-auth-context-core or a related component library) and containing the rest of your application component heirarchy
  4. Use selectors provided by authSelectors to select session/profile information as necessary

Examples

OR

  1. Create .env file in root based on .env.sample
  2. yarn storybook

Development

  1. yarn install
  2. yarn build

Contributors

Adam Doyle

License

MIT

FAQs

Last updated on 08 Feb 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc