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>