0.0.4 • Published 3 years ago

@netrist-smartbridge/cac-login-button v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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>
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago