Skip to main content

Module auth_types

Module auth_types 

Source
Expand description

Auth-block classifier types.

Pure data types used by the two-stage classifier. No I/O, no parsing — those live in super::auth_parsers and super::auth_classifier.

Structs§

AuthBlockSignature
Classified auth-block signature on a single response.
AuthChallenge
Parsed WWW-Authenticate or Proxy-Authenticate challenge.
AuthErrorBodySignal
Auth error parsed from a response body (typically JSON).
LoginRedirectSignal
Login-redirect signal extracted from a 3xx response.

Enums§

AuthBlockConfidence
Confidence in an auth-block classification. RFC-conformant signals are Strong; non-conformant or heuristic signals are Medium; weak/body-only signals are Weak.
AuthBlockFamily
Family of auth-related block. Each family corresponds to a distinct operator action.
AuthGateDecision
Result of the auth-gate decision. Three states matter: gate, do-not-gate (preserve evidence), and no-auth-involvement (continue to other gates).
AuthScheme
Auth scheme identifier (case-insensitive). RFC 7235.
CredentialBlockKind
Why the credential failed (or was not provided). Determines operator action.