@fenderdigital/react-auth-indicator
TypeScript icon, indicating that this package has built-in type declarations

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @fenderdigital/react-auth-indicator

      Weekly Downloads

      2

      Version

      2.1.1

      License

      UNLICENSED

      Unpacked Size

      76 kB

      Total Files

      22

      Last publish

      Collaborators

      • stevenhuynh
      • markv242
      • coopercodecomposer
      • sherbert
      • jcuanan
      • derduher
      • philipyun
      • theloopla
      • jemnon