mirror of
https://github.com/TECHNOFAB11/svelte-oidc.git
synced 2025-12-11 23:50:06 +01:00
feat: add refreshToken/SlientLogin button
This commit is contained in:
parent
6859dfb31b
commit
77fd4d289d
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ import {
|
|||
isLoading,
|
||||
login,
|
||||
logout,
|
||||
refreshToken,
|
||||
userInfo,
|
||||
} from './components/components.module.js';
|
||||
</script>
|
||||
|
|
@ -29,6 +30,7 @@ import {
|
|||
|
||||
<button class="btn" on:click|preventDefault='{() => login() }'>Login</button>
|
||||
<button class="btn" on:click|preventDefault='{() => logout() }'>Logout</button>
|
||||
<button class="btn" on:click|preventDefault='{() => refreshToken() }'>refreshToken</button>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th style="width: 20%;">store</th><th style="width: 80%;">value</th></tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue