UNPKG

oidc-client

Version:

OpenID Connect (OIDC) & OAuth2 client library

19 lines 505 B
<!--The content below is only a placeholder and can be replaced.--> <div style="text-align:center"> <h1> Sample Angular Client </h1> </div> <div> <button (click)='onLogin()'>Login</button> <button (click)='onCallAPI()'>Call API</button> <button (click)='onRenewToken()'>Renew Token</button> <button (click)='onLogout()'>Logout</button> </div> <pre>{{currentUserJson}}</pre> <div> <h2>Messages</h2> <ul> <li *ngFor='let msg of messages'>{{msg}}</li> </ul> </div>