Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@fenderdigital/react-auth-indicator

2.1.1 • Public • Published

AuthIndicator for Fender React UI Kit

Description

AuthIndicator is a simple component for SSO (Single Sign On). It allows you to redirect to the SSO app for sign in and out. It also displays the user's first name if passed.

Installation and Usage

yarn install @fenderdigital/react-auth-indicator --save
import AuthIndicator from '@fenderdigital/react-auth-indicator';

Props

  • name - the users name, displays when logged in.
  • signedIn - boolean to show either the signed in/out documentation
  • signInUrl - string to go to SSO application for sign in.
  • signOutUrl - string to go to SSO application for sign out.
propName propType defaultValue isRequired
name string 'User' -
signedIn bool false -
signInUrl string https://www.fender.com/connect/sign-in -
signOutUrl string https://www.fender.com/connect/sign-out -

Development

Check the Monorepo README for development documentation.

Install

npm i @fenderdigital/react-auth-indicator

DownloadsWeekly Downloads

2

Version

2.1.1

License

UNLICENSED

Unpacked Size

76 kB

Total Files

22

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar