Enode — API Reference
    Preparing search index...
    • "Sign out" from a required-action card: cancels the current action (so the interrupted request gives up instead of resuming) and, when a session already exists, runs the normal manual sign-out. Without a token (the redirect came from the sign-in code verification itself) there is nothing to sign out of: after cancelling, the registered restart handler (see setRequiredActionRestartHandler) returns to the start of sign-in.

      Returns void

      The restart is deferred to the next macrotask. Cancelling makes the interrupted request reject with an ActionRequiredError, which the sign-in flow turns into an error on the code step through a chain of microtasks; the restart has to land after that so the late error can't overwrite it.