Type Alias: OcTokenCheck
type OcTokenCheck =
| {
session: SessionPayload;
status: "valid";
}
| {
reason?: OcSessionRefusal;
status: "invalid";
}
| {
reason: "key_set_unavailable";
status: "unavailable";
};
Defined in: me-client/src/server.ts:160 (opens in a new tab)
A sign-in token's check, telling one that fails from a key set that can't be
read. unavailable is an outage: answer it 503 so the client tries again,
never as a failed sign-in.