All Classes and Interfaces
Class
Description
Port that sends the e-mails of the account lifecycle.
An account message could not be delivered.
A single-use token that proves the right to perform one account operation.
Port that stores single-use account tokens.
Authentication context class references (
acr) that this server reports and understands.A way of authenticating, as registered by a feature.
Base32 encoding (RFC 4648) without padding, the form authenticator applications expect for a shared secret.
Thrown when a certificate is already bound to another account: one certificate belongs to one account only.
The binding of a client certificate to an account: the certificate is recognised by the SHA-256 fingerprint of its
encoded form, never by its subject, which anyone can choose.
Port that stores the client certificates bound to accounts.
Thrown when an account has no bound certificate with the requested identifier.
A client with that identifier is already registered.
Port that remembers the identifiers (
jti) of the client assertions already accepted, so an assertion cannot
be presented twice.One presentation of a client assertion: which client presented which JWT identifier, and until when the assertion
is valid (after that instant the identifier no longer needs to be remembered).
No client is registered with that identifier.
An OAuth 2.1 client registered with the authorization server.
Port that stores registered clients.
Port that tells whether a password is known to have leaked in a data breach.
The chosen password is known to be compromised.
Port that removes the expired magic-link tokens.
How much an authentication factor proves on its own.
An identity of an external provider linked to a local account: the account is reached by presenting the provider's
stable subject, never by its e-mail address, which a provider may change.
Thrown when an identity of an external provider is already linked to another account: one external identity
belongs to one account only.
Thrown when an account has no linked identity with the requested identifier.
Port that stores the identities of external providers linked to accounts.
Rules of identity brokering: when an external identity may be tied to an account, and when it may be removed.
Thrown when a sign-in through an external provider is refused: the provider did not vouch for the e-mail address,
or the address belongs to an account whose own address was never verified.
Port that remembers which accounts only hold a password the server generated and nobody knows: the accounts
created by the first sign-in with an external provider.
External identity providers an account can be linked to.
A client with the legacy implicit grant was submitted through the administration API: only the demo client seeded
under the
legacy-implicit profile may have that grant, so the implicit flow never reaches a deployment that
did not opt in to it.The presented account token is unknown, expired, already used or issued for another purpose.
The username or the current password is wrong.
Thrown when the label given to a passkey is refused: blank, or longer than allowed once trimmed.
The chosen password breaks the
PasswordPolicy.Thrown when the code presented to confirm the enrolment of an authenticator app is wrong.
Thrown when removing a sign-in method would leave the account with none, so its owner could never sign in again.
The rule that decides when the factors of an authentication are enough, and when they are required.
A numeric one-time code that was issued to a user.
Port that generates the numeric codes users type.
Port that hashes one-time codes so that only the hash is stored.
Port that stores the numeric one-time codes.
Channel through which a one-time token reaches the user.
Port that delivers a one-time token to a destination through a channel.
Thrown when a one-time token could not be delivered.
Shape of a one-time token.
The rules of one-time tokens: how long each kind lives, how long a code is and how many wrong submissions are
tolerated.
What a one-time token is used for.
A passkey (WebAuthn credential) registered by a user.
Thrown when a user has no passkey with the requested identifier.
Port that reads and manages the passkeys users registered.
Port that hashes and checks passwords.
Password rules in the style of NIST SP 800-63B: a minimum and a maximum length, no composition rules (no required
digits, symbols or upper-case letters) and a password that does not contain the username.
A rule of the
PasswordPolicy that a candidate password breaks.Port that tells the country of a phone number.
Port that turns the phone number a user typed into E.164.
A phone number in E.164 format.
A pending verification of a phone number: the code that was sent to it, hashed, until the user types it.
Port that stores the pending phone verification of each user, with the code hashed.
Argument checks shared by the domain models.
How far a provider's own multi-factor authentication is trusted.
A single-use code that replaces the second factor when the authenticator is lost.
Port that stores the recovery codes of each user.
Port that keeps the failed second-factor attempts of each user, so that a lockout survives restarts and is shared by
every instance of the server.
Thrown when a second factor is attempted while the user's second factor is locked after too many failures.
The failed-attempt state of the second factor of one user.
Port that creates the shared secrets of TOTP credentials.
Creates 160-bit secrets, the length RFC 4226 recommends for HMAC-SHA1, from a
SecureRandom.An authentication event kept for audit.
Port that stores the audit trail of authentication events.
Kinds of authentication events that are recorded for audit.
Port that tells how long the tokens signed with the signing keys stay valid, so that a retired key stays published
for as long as any token it signed can still be presented.
Port that issues and verifies signed, purpose-bound tokens.
An asymmetric key pair used to sign tokens.
Port that generates new signing keys.
Port that stores signing keys.
Lifecycle state of a signing key.
The ways an account can sign in with.
Port that serializes the removals of the sign-in methods of one account (unlinking an identity, unbinding a
certificate), so that two concurrent removals cannot each count the other's method as remaining and together leave
the account with no way to sign in.
Port that keeps the ledger of what text messages cost, in the database so that a restart cannot reset a budget.
The rules that keep text messages from costing too much: the countries messages may go to, what a message costs in
each and the budget per window and per day.
Thrown when a text message could not be sent.
Port that lists the messages a development sender recorded instead of sending them.
A text message a development sender recorded instead of sending it, as the development inbox shows it.
A text message to send.
Port that sends a text message through a gateway.
A spending cap of text messages: what may be spent in a window that ends at the message being sent.
Port that creates random opaque tokens and hashes them for storage.
The time-based one-time password algorithm of RFC 6238 over HMAC-SHA1, with the parameters every authenticator
application supports: 30 second steps and 6 digits.
Thrown when a user who already confirmed an authenticator app tries to enrol another one.
The TOTP credential of one user.
Port that stores the TOTP credential of each user.
Thrown when a user has no authenticator app being enrolled, so there is nothing to confirm.
Port that protects TOTP secrets at rest.
Builds the
otpauth:// URI that authenticator applications read from a QR code to enrol a secret.A browser that a user chose to trust, which lets it skip the second factor (never the first) until it expires.
Port that stores the devices users trust.
Port that signs the value of the trusted-device cookie and checks that signature, so a value the server did not
issue is rejected before anything is looked up.
A user that can sign in with a password.
Port that provides the user accounts able to sign in with a password.
Port that removes the stored authorizations (and so the tokens) of users.
Port that stores the multi-factor settings of a user account.
The verified phone number of a user.
Port that stores the verified phone number of each user.
Port that asks an external provider for the verified primary e-mail address of the user who just signed in, for a
provider whose profile does not vouch for its e-mail address (GitHub).