Type Alias: OcSignOutResult
type OcSignOutResult =
| {
ok: true;
}
| {
ok: false;
reason: "unreachable" | "refused";
status?: number;
};
Defined in: types.ts:137 (opens in a new tab)
What signOut() did. ok: false means the session may still be live: the
auth host did not answer ('unreachable') or refused ('refused', with its
HTTP status). The provider then changes nothing, so the page still shows the
signed-in account; tell the person it did not work and let them try again.