@netrist-smartbridge/cac-login-button
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

CAC Login Button

This button allows for a streamlined login process with CAC using Smartbridge.

Installation

npm install @netrist-smartbridge/cac-login-button

Usage

Inputs:

  • callbackUrl: URL where the results will be POSTed.

    callbackUrl='netrist.com'

  • style: any styling need for the login button in JSON format.

    style={
            'padding': '10px',
            'margin': '5px'
           }
    


Outputs:

  • success: the JSON web token from a successful authentication.


Example:

    <cac-login-button
     [style]="{'padding': '10px'}"
     [callbackUrl]="'netrist.com'"
     (success)="webToken = $event"
    >
    </cac-login-button>

Readme

Keywords

none

Package Sidebar

Install

npm i @netrist-smartbridge/cac-login-button

Weekly Downloads

1

Version

0.0.4

License

none

Unpacked Size

35.8 kB

Total Files

17

Last publish

Collaborators

  • jroddam
  • kwood-netrist
  • smainar