Sign out API
The signOut
method simply revokes the session for the user.
signOut
function: API reference
The import SuperTokensRequest from 'supertokens-website';
SuperTokensRequest.signOut();
supertokens.signOut();
signOut
method called to revoke the current session. Note that this method is asynchronous and you should wait for it to return before considering it was successful.