Reauthentication
The reauthenticate()
method lets you initiate a reauthentication flow before a sensitive operation. A Feedback Notification is displayed on failed reauthentication attempts.
The reauthenticated state of a session MUST be validated on server-side. See the Session Validator Client for details.
Utility Reference
window.e.utils.v2.auth.reauthenticate()
window.e.utils.v2.auth.reauthenticate().then(result => {
if (!result) {
return;
}
return doSensitiveOperation();
});
Return value
Type | Description |
---|---|
A promise that resolves to the result of the reauthentication process |