Skip to content

nooschain v0.1.0


nooschain / auth/session-tokens / AuthErrorCode

Type Alias: AuthErrorCode

AuthErrorCode = "AUTH_CHALLENGE_EXPIRED" | "AUTH_CHALLENGE_ALREADY_USED" | "AUTH_CHALLENGE_NOT_FOUND" | "AUTH_CHALLENGE_INVALID_SIGNATURE" | "AUTH_TOKEN_EXPIRED" | "AUTH_TOKEN_INVALID" | "AUTH_TOKEN_MISSING" | "AUTH_TOKEN_SUBJECT_NOT_FOUND"

Defined in: auth/session-tokens.ts:26

Stable error codes thrown by the auth session store.

Route adapters can map these codes to HTTP responses without matching on human-readable messages.

Audience-first NOOSChain documentation.