We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10a488b commit c55362dCopy full SHA for c55362d
npachpande/cwc/sdb3/cwc_auth_1.html
@@ -5,6 +5,8 @@
5
</head>
6
<body>
7
8
+<button type="button" onclick="clearSession()">clearSession</button>
9
+
10
<script type='text/javascript'>
11
async function fetchAndSetIdentityToken() {
12
const identityTokenData = await fetchIdentityToken();
@@ -21,6 +23,9 @@
21
23
});
22
24
}
25
26
+ function clearSession() {
27
+ embeddedservice_bootstrap.userVerificationAPI.clearSession(true);
28
+ }
29
30
window.addEventListener("onEmbeddedMessagingReady", () => {
31
console.log("Received the onEmbeddedMessagingReady event…");
0 commit comments