UNPKG
@othent/kms-unbundled
Version:
latest (1.0.5)
1.0.5
1.0.2
1.0.1
Arweave Oauth Othent wallets enabled Google Key Management Service.
othent.io
Othent/KMS-JS-new
@othent/kms-unbundled
/
dist
/
lib
/
auth
/
logOut.js
11 lines
•
314 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ getAuth0Client }
from
"./auth0.js"
;
export
async
function
logOut
(
) {
const
auth0 =
await
getAuth0Client
();
await
auth0.
logout
({
logoutParams
: {
returnTo
:
window
.
location
.
origin
, }, });
return
{
response
:
"User logged out"
}; }
//# sourceMappingURL=logOut.js.map