Skip to content

Type Alias: SignInRuleCheck

TypeScript
type SignInRuleCheck = 
  | {
  ok: true;
}
  | {
  body: Record<string, unknown>;
  ok: false;
  status: number;
};

Defined in: me-client/src/server.ts:684 (opens in a new tab)

Whether a session meets the sign-in rule: { ok: true }, or the status and body the adapters answer with (403 bond_required, 503 bond_policy_unavailable, 500 unknown_project_key).