Authentication models: password + TOTP, Passkey enrollment + login, SSO via OIDC (Authorization Code + PKCE), m2m API key, mTLS service mesh, plus phishing/SIM-swap anti-patterns. Concept lesson for security curriculum.
Authentication proves control of one or more authenticators at a stated assurance level. It does not grant object permissions, and session or recovery design can be weaker than the initial ceremony.
| Component | Responsibility |
|---|---|
claimant | Claimant and Browser |
verifier | Authentication Verifier |
password-store | Salted Password Verifier |
otp-verifier | OTP or Out-of-Band Verifier |
public-key-verifier | Origin-Bound Public-Key Verifier |
rate-limiter | Account-Aware Rate Limiter |
risk-engine | Risk and Reauthentication Policy |
session-service | Session Service |
recovery-service | Authenticator Recovery |
attacker | Phisher or Credential Stuffer |
Topology edges represent authenticated or otherwise explicit communication paths. Responses reuse those physical paths in reverse; no response-only or bypass edges are added.
password-verification — Password verification with modern controlsA long password is checked against a blocklist at enrollment, stored with a salted password hashing scheme, and protected from online guessing by throttling.
phishing-resistant-passkey — Origin-bound public-key authenticationA verifier-bound cryptographic ceremony resists relay to an impostor origin; local user verification does not send biometric data to the server.
aal2-distinct-factors — AAL2 uses distinct factorsTwo steps count as multi-factor only when they prove two distinct factor types; two knowledge secrets are not two factors.
otp-phishing-relay — OTP is replay-resistant but not phishing-resistantA short-lived OTP can still be relayed by an impostor verifier because manual entry does not bind it to the legitimate verifier name.
credential-stuffing-throttle — Throttle credential stuffingRate limiting is enforced on account and risk signals without revealing whether the identifier exists or enabling cheap lockout abuse.
reauthentication-step-up — Reauthenticate for a sensitive eventA long-lived session is not proof of recent user presence; policy can demand a stronger or fresh ceremony before a high-risk action.
recovery-is-authentication — Recovery cannot be a weaker bypassAdding or replacing an authenticator is an authentication event with notifications, rate limits, and risk-appropriate proof.
verifier-dependency-outage — Fail closed when a required verifier is unavailableAn unavailable factor verifier does not become an authentication success; recovery or fallback must satisfy an explicitly approved assurance policy.
Введите числа или выберите пресет