Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accessTokenFormat - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
accessTokenFormatrecord component. - accessTokenFormat() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
accessTokenFormatrecord component. - accessTokenTtl - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
accessTokenTtlrecord component. - accessTokenTtl() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
accessTokenTtlrecord component. - AccountMailer - Interface in com.irurueta.authserver.authorization.domain.account
-
Port that sends the e-mails of the account lifecycle.
- AccountMailException - Exception Class in com.irurueta.authserver.authorization.domain.account
-
An account message could not be delivered.
- AccountMailException(String, Throwable) - Constructor for exception class com.irurueta.authserver.authorization.domain.account.AccountMailException
-
Creates the exception.
- AccountToken - Record Class in com.irurueta.authserver.authorization.domain.account
-
A single-use token that proves the right to perform one account operation.
- AccountToken(UUID, UUID, String, String, Instant, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Validates the token.
- AccountTokenRepository - Interface in com.irurueta.authserver.authorization.domain.account
-
Port that stores single-use account tokens.
- activate(Instant) - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Creates the key as it is once it starts signing.
- activatedAt - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
activatedAtrecord component. - activatedAt() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
activatedAtrecord component. - ACTIVE - Enum constant in enum class com.irurueta.authserver.authorization.domain.keys.SigningKeyStatus
-
The one key that signs new tokens.
- advanceLastUsedStep(UUID, long) - Method in interface com.irurueta.authserver.authorization.domain.totp.TotpCredentialRepository
-
Records the step of an accepted code, in one atomic step that only succeeds when the step is newer than the stored one, so that two concurrent requests cannot both spend the same code.
- alg - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
algrecord component. - alg() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
algrecord component. - ALGORITHM_NAME - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Name of the algorithm as written in an
otpauthURI. - allowedCountries - Variable in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Countries that may receive messages, as upper-case ISO alpha-2 codes.
- ALPHABET - Static variable in class com.irurueta.authserver.authorization.domain.totp.Base32
-
The Base32 alphabet.
- amrValue - Variable in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
The field for the
amrValuerecord component. - amrValue() - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Returns the value of the
amrValuerecord component. - any() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Tells whether any way to sign in is left.
- APPLE - Enum constant in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Sign in with Apple, an OpenID Connect provider whose client secret is a signed JWT.
- attempts - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
attemptsrecord component. - attempts - Variable in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
The field for the
attemptsrecord component. - attempts() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
attemptsrecord component. - attempts() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Returns the value of the
attemptsrecord component. - audiences - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
audiencesrecord component. - audiences() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
audiencesrecord component. - AUTH_CLIENT_SECRET_PREFIX - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Prefix of the authentication methods that use a client secret.
- AUTH_PRIVATE_KEY_JWT - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Authentication method of a client that proves possession of a registered private key.
- AUTH_SELF_SIGNED_TLS_CLIENT_AUTH - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Authentication method of mutual TLS with a self-signed certificate.
- AUTH_TLS_CLIENT_AUTH - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Authentication method of mutual TLS with a certificate issued by a trusted authority.
- AuthenticationContextClass - Class in com.irurueta.authserver.authorization.domain.mfa
-
Authentication context class references (
acr) that this server reports and understands. - AuthenticationContextClass() - Constructor for class com.irurueta.authserver.authorization.domain.mfa.AuthenticationContextClass
-
Not instantiable: a holder of constants.
- AuthenticationFactor - Record Class in com.irurueta.authserver.authorization.domain.mfa
-
A way of authenticating, as registered by a feature.
- AuthenticationFactor(String, String, String, FactorStrength) - Constructor for record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Creates a factor that does not prove a multi-factor authentication alone, the usual case.
- AuthenticationFactor(String, String, String, FactorStrength, boolean) - Constructor for record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Validates the factor.
- authMethods - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
authMethodsrecord component. - authMethods() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
authMethodsrecord component. - authorities - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
authoritiesrecord component. - authorities() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
authoritiesrecord component. - authority - Variable in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
The field for the
authorityrecord component. - authority() - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Returns the value of the
authorityrecord component.
B
- backedUp - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
backedUprecord component. - backedUp() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
backedUprecord component. - backupEligible - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
backupEligiblerecord component. - backupEligible() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
backupEligiblerecord component. - Base32 - Class in com.irurueta.authserver.authorization.domain.totp
-
Base32 encoding (RFC 4648) without padding, the form authenticator applications expect for a shared secret.
- Base32() - Constructor for class com.irurueta.authserver.authorization.domain.totp.Base32
-
Not instantiable: a holder of static helpers.
- bindingId - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
bindingIdrecord component. - bindingId() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
bindingIdrecord component. - BITS_PER_BYTE - Static variable in class com.irurueta.authserver.authorization.domain.totp.Base32
-
Bits carried by each byte.
- BITS_PER_CHAR - Static variable in class com.irurueta.authserver.authorization.domain.totp.Base32
-
Bits carried by each character.
- body - Variable in record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
The field for the
bodyrecord component. - body() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
Returns the value of the
bodyrecord component. - build(String, String, byte[]) - Static method in class com.irurueta.authserver.authorization.domain.totp.TotpUri
-
Builds the URI of a TOTP enrolment.
- BYTE_MASK - Static variable in class com.irurueta.authserver.authorization.domain.totp.Base32
-
Mask selecting the bits of one byte, to read it as unsigned.
C
- capMicros - Variable in record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
The field for the
capMicrosrecord component. - capMicros() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
Returns the value of the
capMicrosrecord component. - CERTIFICATE_BOUND - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A client certificate was bound to an account.
- CERTIFICATE_UNBOUND - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A client certificate was unbound from an account.
- CertificateAlreadyBoundException - Exception Class in com.irurueta.authserver.authorization.domain.x509
-
Thrown when a certificate is already bound to another account: one certificate belongs to one account only.
- CertificateAlreadyBoundException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.x509.CertificateAlreadyBoundException
-
Creates the exception.
- CertificateBinding - Record Class in com.irurueta.authserver.authorization.domain.x509
-
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.
- CertificateBinding(UUID, UUID, String, String, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Validates the binding.
- CertificateBindingRepository - Interface in com.irurueta.authserver.authorization.domain.x509
-
Port that stores the client certificates bound to accounts.
- certificateBoundAccessTokens - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
certificateBoundAccessTokensrecord component. - certificateBoundAccessTokens() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
certificateBoundAccessTokensrecord component. - CertificateNotFoundException - Exception Class in com.irurueta.authserver.authorization.domain.x509
-
Thrown when an account has no bound certificate with the requested identifier.
- CertificateNotFoundException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.x509.CertificateNotFoundException
-
Creates the exception.
- certificates - Variable in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
The field for the
certificatesrecord component. - certificates() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Returns the value of the
certificatesrecord component. - channel - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
channelrecord component. - channel() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
channelrecord component. - CHAR_MASK - Static variable in class com.irurueta.authserver.authorization.domain.totp.Base32
-
Mask selecting the bits of one character.
- ClientAlreadyExistsException - Exception Class in com.irurueta.authserver.authorization.domain.clients
-
A client with that identifier is already registered.
- ClientAlreadyExistsException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.clients.ClientAlreadyExistsException
-
Creates the exception.
- ClientAssertionReplayRegistry - Interface in com.irurueta.authserver.authorization.domain.clientauth
-
Port that remembers the identifiers (
jti) of the client assertions already accepted, so an assertion cannot be presented twice. - ClientAssertionUse - Record Class in com.irurueta.authserver.authorization.domain.clientauth
-
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).
- ClientAssertionUse(String, String, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
Validates the components.
- clientId - Variable in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
The field for the
clientIdrecord component. - clientId - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
clientIdrecord component. - clientId() - Method in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
Returns the value of the
clientIdrecord component. - clientId() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
clientIdrecord component. - ClientNotFoundException - Exception Class in com.irurueta.authserver.authorization.domain.clients
-
No client is registered with that identifier.
- ClientNotFoundException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.clients.ClientNotFoundException
-
Creates the exception.
- ClientRegistration - Record Class in com.irurueta.authserver.authorization.domain.clients
-
An OAuth 2.1 client registered with the authorization server.
- ClientRegistration(String, String, boolean, List<String>, List<String>, List<String>, List<String>, boolean, List<String>, Duration, Duration, String, boolean, List<String>, boolean, boolean, String, String, String, String, boolean) - Constructor for record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Validates the registration and defensively copies its collections.
- ClientRegistrationRepository - Interface in com.irurueta.authserver.authorization.domain.clients
-
Port that stores registered clients.
- CODE - Enum constant in enum class com.irurueta.authserver.authorization.domain.ott.OttKind
-
A short numeric code the user types.
- codeHash - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
codeHashrecord component. - codeHash - Variable in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
The field for the
codeHashrecord component. - codeHash() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
codeHashrecord component. - codeHash() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Returns the value of the
codeHashrecord component. - codeLength - Variable in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Length of the numeric code, in digits.
- codeLength() - Method in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Gets the length of the numeric code.
- codeTtl - Variable in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Lifetime of a numeric code.
- com.irurueta.authserver.authorization.domain - package com.irurueta.authserver.authorization.domain
-
Root of the domain layer: the helpers every feature's models share.
- com.irurueta.authserver.authorization.domain.account - package com.irurueta.authserver.authorization.domain.account
-
Account lifecycle: registration, e-mail verification, password change and reset.
- com.irurueta.authserver.authorization.domain.clientauth - package com.irurueta.authserver.authorization.domain.clientauth
-
Client authentication at the protocol endpoints: the model and the ports of the replay protection of
private_key_jwtclient assertions. - com.irurueta.authserver.authorization.domain.clients - package com.irurueta.authserver.authorization.domain.clients
-
Registered OAuth 2.1 clients and the port that stores them.
- com.irurueta.authserver.authorization.domain.keys - package com.irurueta.authserver.authorization.domain.keys
-
Signing keys: their model, lifecycle states and the ports the use cases need.
- com.irurueta.authserver.authorization.domain.mfa - package com.irurueta.authserver.authorization.domain.mfa
-
Multi-factor authentication: the authentication factors, the policy that decides when an authentication is strong enough, trusted devices, the audit trail and the failed-attempt lockout of the second factor.
- com.irurueta.authserver.authorization.domain.ott - package com.irurueta.authserver.authorization.domain.ott
-
One-time tokens: e-mail and SMS codes and magic links as a sign-in method.
- com.irurueta.authserver.authorization.domain.passkeys - package com.irurueta.authserver.authorization.domain.passkeys
-
Passkeys (WebAuthn credentials): the descriptive model of a registered credential, the port that lists, renames and deletes them, and the exception for a credential that does not exist.
- com.irurueta.authserver.authorization.domain.password - package com.irurueta.authserver.authorization.domain.password
-
Password-based user accounts and the port that provides them.
- com.irurueta.authserver.authorization.domain.sms - package com.irurueta.authserver.authorization.domain.sms
-
Phones and text messages: the phone number value object, the phone a user verified, the ports to send messages, keep phones and pending verifications, record the spend, and the policy that caps the cost.
- com.irurueta.authserver.authorization.domain.social - package com.irurueta.authserver.authorization.domain.social
-
Social login (identity brokering): the identities of external providers linked to an account, the providers supported, how far a provider's multi-factor claim is trusted, and the port that stores the links.
- com.irurueta.authserver.authorization.domain.tokens - package com.irurueta.authserver.authorization.domain.tokens
-
Tokens issued by the authorization server and the stored authorizations behind them.
- com.irurueta.authserver.authorization.domain.totp - package com.irurueta.authserver.authorization.domain.totp
-
Time-based one-time passwords (RFC 6238) and single-use recovery codes: the credential, the algorithm and the ports that store and protect the secrets.
- com.irurueta.authserver.authorization.domain.x509 - package com.irurueta.authserver.authorization.domain.x509
-
X.509 client certificates as a sign-in method: the binding of a certificate to an account and the port that stores it.
- CompromisedPasswordCheck - Interface in com.irurueta.authserver.authorization.domain.password
-
Port that tells whether a password is known to have leaked in a data breach.
- CompromisedPasswordException - Exception Class in com.irurueta.authserver.authorization.domain.password
-
The chosen password is known to be compromised.
- CompromisedPasswordException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.password.CompromisedPasswordException
-
Creates the exception.
- confidential - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
confidentialrecord component. - confidential() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
confidentialrecord component. - confirm(UUID) - Method in interface com.irurueta.authserver.authorization.domain.totp.TotpCredentialRepository
-
Marks the credential of a user as confirmed.
- confirmed - Variable in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
The field for the
confirmedrecord component. - confirmed() - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Returns the value of the
confirmedrecord component. - consume(String, String, Instant) - Method in interface com.irurueta.authserver.authorization.domain.account.AccountTokenRepository
-
Consumes a token: finds an unused, unexpired token with the given hash and purpose and marks it as used, in one atomic step, so that two concurrent calls can never both succeed.
- consume(UUID) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeRepository
-
Spends a code, in one atomic step, so that two concurrent requests cannot both use it.
- CONTAINS_USERNAME - Enum constant in enum class com.irurueta.authserver.authorization.domain.password.PasswordViolation
-
The password contains the username of the account.
- costMicros(String) - Method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Gets what a message to a country costs.
- costMicrosByCountry - Variable in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Cost of a message per country, in millionths of the budget currency.
- countByUser(UUID) - Method in interface com.irurueta.authserver.authorization.domain.social.FederatedIdentityRepository
-
Counts the identities linked to an account.
- countryOf(PhoneNumber) - Method in interface com.irurueta.authserver.authorization.domain.sms.PhoneCountryResolver
-
Finds the country of a number.
- createdAt - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
createdAtrecord component. - createdAt - Variable in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
The field for the
createdAtrecord component. - createdAt - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
createdAtrecord component. - createdAt - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
createdAtrecord component. - createdAt - Variable in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
The field for the
createdAtrecord component. - createdAt - Variable in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
The field for the
createdAtrecord component. - createdAt() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Returns the value of the
createdAtrecord component.
D
- dailyCap() - Method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Gets the cap of a day, as the ledger checks it.
- dailyCapMicros - Variable in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Budget of a day.
- DAY - Static variable in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Length of the window of the daily budget.
- decrypt(byte[]) - Method in interface com.irurueta.authserver.authorization.domain.totp.TotpSecretCipher
-
Decrypts a secret.
- DEFAULT_TENANT - Static variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Tenant of the accounts that do not name one.
- defaultCostMicros - Variable in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Cost of a message to an allowed country with no cost of its own.
- delete(String, String) - Method in interface com.irurueta.authserver.authorization.domain.passkeys.PasskeyRepository
-
Deletes a passkey of a user.
- delete(UUID, UUID) - Method in interface com.irurueta.authserver.authorization.domain.social.FederatedIdentityRepository
-
Deletes a link of an account.
- delete(UUID, UUID) - Method in interface com.irurueta.authserver.authorization.domain.x509.CertificateBindingRepository
-
Deletes a binding of an account.
- deleteAbandoned(Instant) - Method in interface com.irurueta.authserver.authorization.domain.tokens.UserAuthorizationRepository
-
Deletes the abandoned authorizations: those that never got any token (an authorization or consent request the user never completed) and were created before an instant.
- deleteByClientId(String) - Method in interface com.irurueta.authserver.authorization.domain.clients.ClientRegistrationRepository
-
Deletes a client.
- deleteByKid(String) - Method in interface com.irurueta.authserver.authorization.domain.keys.SigningKeyRepository
-
Deletes a key.
- deleteByPrincipalName(String) - Method in interface com.irurueta.authserver.authorization.domain.tokens.UserAuthorizationRepository
-
Deletes every authorization granted to a user.
- deleteByUser(UUID) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceRepository
-
Revokes every device of a user, for example when the second factor they skip is removed.
- deleteByUser(UUID) - Method in interface com.irurueta.authserver.authorization.domain.totp.RecoveryCodeRepository
-
Deletes every code of a user.
- deleteByUser(UUID) - Method in interface com.irurueta.authserver.authorization.domain.totp.TotpCredentialRepository
-
Deletes the credential of a user.
- deleteByUserId(UUID) - Method in interface com.irurueta.authserver.authorization.domain.sms.PhoneVerificationRepository
-
Removes the pending verification of a user.
- deleteByUserId(UUID) - Method in interface com.irurueta.authserver.authorization.domain.sms.UserPhoneRepository
-
Removes the verified phone of a user.
- deleteExpired(Instant) - Method in interface com.irurueta.authserver.authorization.domain.account.AccountTokenRepository
-
Deletes the tokens that expired before an instant.
- deleteExpired(Instant) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceRepository
-
Deletes the devices that expired before an instant.
- deleteExpired(Instant) - Method in interface com.irurueta.authserver.authorization.domain.ott.ExpiredLinkTokenPurger
-
Deletes the tokens that expired at or before an instant.
- deleteExpired(Instant) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeRepository
-
Deletes every code that has expired.
- deleteExpired(Instant) - Method in interface com.irurueta.authserver.authorization.domain.sms.PhoneVerificationRepository
-
Deletes every pending verification that has expired.
- deleteExpired(Instant) - Method in interface com.irurueta.authserver.authorization.domain.tokens.UserAuthorizationRepository
-
Deletes the authorizations whose every token has expired.
- deleteOlderThan(Instant) - Method in interface com.irurueta.authserver.authorization.domain.sms.SmsCostLedgerRepository
-
Deletes the entries older than an instant.
- deliverCode(OttChannel, String, String, Duration) - Method in interface com.irurueta.authserver.authorization.domain.ott.OttDelivery
-
Delivers a numeric code.
- deliverLink(OttChannel, String, URI, Duration) - Method in interface com.irurueta.authserver.authorization.domain.ott.OttDelivery
-
Delivers a magic link.
- detail - Variable in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
The field for the
detailrecord component. - detail() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Returns the value of the
detailrecord component. - DIGITS - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Number of digits of a code.
E
- e164 - Variable in record class com.irurueta.authserver.authorization.domain.sms.PhoneNumber
-
The field for the
e164record component. - e164() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneNumber
-
Returns the value of the
e164record component. - E164 - Static variable in record class com.irurueta.authserver.authorization.domain.sms.PhoneNumber
-
Shape of an E.164 number.
- email - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
emailrecord component. - email - Variable in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
The field for the
emailrecord component. - email() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
emailrecord component. - email() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns the value of the
emailrecord component. - EMAIL - Enum constant in enum class com.irurueta.authserver.authorization.domain.ott.OttChannel
-
The token is sent to the verified e-mail address of the account.
- emailVerified - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
emailVerifiedrecord component. - emailVerified() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
emailVerifiedrecord component. - enabled - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
enabledrecord component. - enabled() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
enabledrecord component. - encode(byte[]) - Static method in class com.irurueta.authserver.authorization.domain.totp.Base32
-
Encodes bytes.
- encode(CharSequence) - Method in interface com.irurueta.authserver.authorization.domain.password.PasswordHasher
-
Encodes a clear-text password (or a client secret) with the current algorithm.
- encode(String) - Static method in class com.irurueta.authserver.authorization.domain.totp.TotpUri
-
Percent-encodes a value, with spaces as
%20as a URI path requires. - encodedPassword - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
encodedPasswordrecord component. - encodedPassword() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
encodedPasswordrecord component. - encrypt(byte[]) - Method in interface com.irurueta.authserver.authorization.domain.totp.TotpSecretCipher
-
Encrypts a secret.
- encryptedPrivateJwk - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
encryptedPrivateJwkrecord component. - encryptedPrivateJwk() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
encryptedPrivateJwkrecord component. - encryptedSecret - Variable in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
The field for the
encryptedSecretrecord component. - encryptedSecret() - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Gives the encrypted secret.
- entries() - Method in interface com.irurueta.authserver.authorization.domain.sms.SmsInbox
-
Lists the recorded messages.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneNumber
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Compares credentials by value, comparing the secret by content.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Indicates whether some other object is "equal to" this one.
- existsByUsername(String) - Method in interface com.irurueta.authserver.authorization.domain.password.UserAccountRepository
-
Tells whether an account with a username exists.
- existsForAccount(UUID) - Method in interface com.irurueta.authserver.authorization.domain.passkeys.PasskeyRepository
-
Tells whether an account has registered at least one passkey, in a single lookup.
- ExpiredLinkTokenPurger - Interface in com.irurueta.authserver.authorization.domain.ott
-
Port that removes the expired magic-link tokens.
- expiresAt - Variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
The field for the
expiresAtrecord component. - expiresAt - Variable in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
The field for the
expiresAtrecord component. - expiresAt - Variable in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
The field for the
expiresAtrecord component. - expiresAt - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
expiresAtrecord component. - expiresAt - Variable in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
The field for the
expiresAtrecord component. - expiresAt() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
expiresAtrecord component. - expiresAt() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Returns the value of the
expiresAtrecord component.
F
- FactorStrength - Enum Class in com.irurueta.authserver.authorization.domain.mfa
-
How much an authentication factor proves on its own.
- FactorStrength() - Constructor for enum class com.irurueta.authserver.authorization.domain.mfa.FactorStrength
- failedCount - Variable in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
The field for the
failedCountrecord component. - failedCount() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Returns the value of the
failedCountrecord component. - federatedIdentities - Variable in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
The field for the
federatedIdentitiesrecord component. - federatedIdentities() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Returns the value of the
federatedIdentitiesrecord component. - FederatedIdentity - Record Class in com.irurueta.authserver.authorization.domain.social
-
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.
- FederatedIdentity(UUID, UUID, IdentityProvider, String, String, Instant, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Validates the identity.
- FederatedIdentityAlreadyLinkedException - Exception Class in com.irurueta.authserver.authorization.domain.social
-
Thrown when an identity of an external provider is already linked to another account: one external identity belongs to one account only.
- FederatedIdentityAlreadyLinkedException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.social.FederatedIdentityAlreadyLinkedException
-
Creates the exception.
- FederatedIdentityNotFoundException - Exception Class in com.irurueta.authserver.authorization.domain.social
-
Thrown when an account has no linked identity with the requested identifier.
- FederatedIdentityNotFoundException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.social.FederatedIdentityNotFoundException
-
Creates the exception.
- FederatedIdentityRepository - Interface in com.irurueta.authserver.authorization.domain.social
-
Port that stores the identities of external providers linked to accounts.
- FederatedLinkingPolicy - Class in com.irurueta.authserver.authorization.domain.social
-
Rules of identity brokering: when an external identity may be tied to an account, and when it may be removed.
- FederatedLinkingPolicy() - Constructor for class com.irurueta.authserver.authorization.domain.social.FederatedLinkingPolicy
- FederatedLoginRefusedException - Exception Class in com.irurueta.authserver.authorization.domain.social
-
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.
- FederatedLoginRefusedException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.social.FederatedLoginRefusedException
-
Creates the exception.
- find(UUID) - Method in interface com.irurueta.authserver.authorization.domain.mfa.SecondFactorAttemptRepository
-
Reads the state of a user.
- findActive(String, String, Instant) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeRepository
-
Finds the code that is still active for a binding and a user.
- findAll() - Method in interface com.irurueta.authserver.authorization.domain.clients.ClientRegistrationRepository
-
Finds every registered client.
- findAll() - Method in interface com.irurueta.authserver.authorization.domain.keys.SigningKeyRepository
-
Finds every stored key.
- findByClientId(String) - Method in interface com.irurueta.authserver.authorization.domain.clients.ClientRegistrationRepository
-
Finds a client by its identifier.
- findByEmail(String) - Method in interface com.irurueta.authserver.authorization.domain.password.UserAccountRepository
-
Finds a user account by its e-mail address.
- findByFingerprintSha256(String) - Method in interface com.irurueta.authserver.authorization.domain.x509.CertificateBindingRepository
-
Finds the binding of a certificate.
- findById(UUID) - Method in interface com.irurueta.authserver.authorization.domain.password.UserAccountRepository
-
Finds a user account by its identifier.
- findByIdAndUser(UUID, UUID) - Method in interface com.irurueta.authserver.authorization.domain.social.FederatedIdentityRepository
-
Finds one link of an account.
- findByIdAndUserId(String, String) - Method in interface com.irurueta.authserver.authorization.domain.passkeys.PasskeyRepository
-
Finds one passkey of a user.
- findByPhone(PhoneNumber) - Method in interface com.irurueta.authserver.authorization.domain.sms.UserPhoneRepository
-
Finds the verified phone that holds a number.
- findByProviderAndSubject(IdentityProvider, String) - Method in interface com.irurueta.authserver.authorization.domain.social.FederatedIdentityRepository
-
Finds the link of a provider's subject.
- findByUser(UUID) - Method in interface com.irurueta.authserver.authorization.domain.social.FederatedIdentityRepository
-
Lists the identities linked to an account, oldest link first.
- findByUser(UUID) - Method in interface com.irurueta.authserver.authorization.domain.totp.TotpCredentialRepository
-
Finds the credential of a user.
- findByUser(UUID) - Method in interface com.irurueta.authserver.authorization.domain.x509.CertificateBindingRepository
-
Lists the certificates bound to an account, oldest first.
- findByUser(UUID, Instant) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceRepository
-
Lists the devices of a user that are still trusted.
- findByUserId(String) - Method in interface com.irurueta.authserver.authorization.domain.passkeys.PasskeyRepository
-
Lists the passkeys of a user, oldest first.
- findByUserId(UUID) - Method in interface com.irurueta.authserver.authorization.domain.sms.PhoneVerificationRepository
-
Finds the pending verification of a user.
- findByUserId(UUID) - Method in interface com.irurueta.authserver.authorization.domain.sms.UserPhoneRepository
-
Finds the verified phone of a user.
- findByUsername(String) - Method in interface com.irurueta.authserver.authorization.domain.password.UserAccountRepository
-
Finds a user account by the name the user signs in with.
- findRecentByUser(UUID, int) - Method in interface com.irurueta.authserver.authorization.domain.mfa.SecurityEventRepository
-
Lists the most recent events of a user, newest first.
- findUnused(UUID) - Method in interface com.irurueta.authserver.authorization.domain.totp.RecoveryCodeRepository
-
Lists the codes of a user that have not been spent.
- findUsable(String, String, Instant) - Method in interface com.irurueta.authserver.authorization.domain.account.AccountTokenRepository
-
Finds an unused, unexpired token with the given hash and purpose, without consuming it, so that a caller can run every check before spending the token.
- findUsable(UUID, String, Instant) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceRepository
-
Finds a device that is still trusted.
- findUserIdByUsername(String) - Method in interface com.irurueta.authserver.authorization.domain.passkeys.PasskeyRepository
-
Finds the WebAuthn user handle of an account.
- FINGERPRINT - Static variable in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Shape of a fingerprint: lower case hexadecimal digits only.
- FINGERPRINT_LENGTH - Static variable in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Number of hexadecimal digits of a SHA-256 fingerprint.
- fingerprintSha256 - Variable in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
The field for the
fingerprintSha256record component. - fingerprintSha256() - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Returns the value of the
fingerprintSha256record component. - FORMAT_REFERENCE - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Access token format of opaque, reference tokens.
- FORMAT_SELF_CONTAINED - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Access token format of self-contained (JWT) tokens.
- fromId(String) - Static method in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Finds a provider by its registration id.
G
- generate() - Method in interface com.irurueta.authserver.authorization.domain.account.TokenGenerator
-
Creates an unguessable URL-safe token.
- generate() - Method in interface com.irurueta.authserver.authorization.domain.totp.SecretGenerator
-
Creates an unguessable secret.
- generate() - Method in class com.irurueta.authserver.authorization.domain.totp.SecureRandomSecretGenerator
-
Creates an unguessable secret.
- generate(byte[], long) - Method in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Computes the code of a time step.
- generate(int) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeGenerator
-
Generates a random numeric code from a cryptographically secure source.
- generate(Instant) - Method in interface com.irurueta.authserver.authorization.domain.keys.SigningKeyGenerator
-
Generates a new key pair, with a unique identifier and its private half already encrypted.
- GeneratedPasswordRepository - Interface in com.irurueta.authserver.authorization.domain.social
-
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.
- getViolations() - Method in exception class com.irurueta.authserver.authorization.domain.password.InvalidPasswordException
-
Gets the broken rules.
- GITHUB - Enum constant in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
GitHub, a plain OAuth 2.0 provider.
- GOOGLE - Enum constant in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Google, an OpenID Connect provider.
- GRANT_IMPLICIT - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Grant type of the legacy implicit flow.
- GRANT_REFRESH_TOKEN - Static variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Grant type of refresh tokens.
- grantTypes - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
grantTypesrecord component. - grantTypes() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
grantTypesrecord component.
H
- hash(String) - Method in interface com.irurueta.authserver.authorization.domain.account.TokenGenerator
-
Hashes a token with a deterministic, one-way function, so a stored hash can be looked up by the presented token.
- hash(String) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeHasher
-
Hashes a code.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneNumber
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Computes a hash consistent with
TotpCredential.equals(Object). - hashCode() - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Returns a hash code value for this object.
- hashedCode - Variable in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
The field for the
hashedCoderecord component. - hashedCode() - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Returns the value of the
hashedCoderecord component. - hashedToken - Variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
The field for the
hashedTokenrecord component. - hashedToken - Variable in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
The field for the
hashedTokenrecord component. - hashedToken() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns the value of the
hashedTokenrecord component. - hashedToken() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns the value of the
hashedTokenrecord component. - hasStrength(Set<AuthenticationFactor>, FactorStrength) - Static method in class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
-
Tells whether any factor has a strength.
I
- id - Variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
The field for the
idrecord component. - id - Variable in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
The field for the
idrecord component. - id - Variable in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
The field for the
idrecord component. - id - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
idrecord component. - id - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
idrecord component. - id - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
idrecord component. - id - Variable in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
The field for the
idrecord component. - id - Variable in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Registration id of the provider, in lower case.
- id - Variable in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
The field for the
idrecord component. - id - Variable in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
The field for the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns the value of the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Returns the value of the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns the value of the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns the value of the
idrecord component. - id() - Method in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Returns the registration id of the provider.
- id() - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Returns the value of the
idrecord component. - id() - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Returns the value of the
idrecord component. - IDENTITY_LINKED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
An identity of an external provider was linked to an account, or an account was created from one.
- IDENTITY_UNLINKED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
An identity of an external provider was unlinked from an account.
- IdentityProvider - Enum Class in com.irurueta.authserver.authorization.domain.social
-
External identity providers an account can be linked to.
- IdentityProvider(String) - Constructor for enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Creates a provider.
- ImplicitClientRefusedException - Exception Class in com.irurueta.authserver.authorization.domain.clients
-
A client with the legacy implicit grant was submitted through the administration API: only the demo client seeded under the
legacy-implicitprofile may have that grant, so the implicit flow never reaches a deployment that did not opt in to it. - ImplicitClientRefusedException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.clients.ImplicitClientRefusedException
-
Creates the exception.
- incrementAttempts(UUID) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeRepository
-
Counts a wrong submission, in one atomic step.
- incrementAttempts(UUID) - Method in interface com.irurueta.authserver.authorization.domain.sms.PhoneVerificationRepository
-
Counts a wrong submission, in one atomic step.
- InvalidAccountTokenException - Exception Class in com.irurueta.authserver.authorization.domain.account
-
The presented account token is unknown, expired, already used or issued for another purpose.
- InvalidAccountTokenException() - Constructor for exception class com.irurueta.authserver.authorization.domain.account.InvalidAccountTokenException
-
Creates the exception.
- InvalidCredentialsException - Exception Class in com.irurueta.authserver.authorization.domain.password
-
The username or the current password is wrong.
- InvalidCredentialsException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.password.InvalidCredentialsException
-
Creates the exception.
- InvalidPasskeyLabelException - Exception Class in com.irurueta.authserver.authorization.domain.passkeys
-
Thrown when the label given to a passkey is refused: blank, or longer than allowed once trimmed.
- InvalidPasskeyLabelException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.passkeys.InvalidPasskeyLabelException
-
Creates the exception.
- InvalidPasswordException - Exception Class in com.irurueta.authserver.authorization.domain.password
-
The chosen password breaks the
PasswordPolicy. - InvalidPasswordException(List<PasswordViolation>) - Constructor for exception class com.irurueta.authserver.authorization.domain.password.InvalidPasswordException
-
Creates the exception.
- InvalidTotpCodeException - Exception Class in com.irurueta.authserver.authorization.domain.totp
-
Thrown when the code presented to confirm the enrolment of an authenticator app is wrong.
- InvalidTotpCodeException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.totp.InvalidTotpCodeException
-
Creates the exception.
- isBlank(String) - Static method in class com.irurueta.authserver.authorization.domain.Preconditions
-
Tells whether a text is missing.
- isCompromised(String) - Method in interface com.irurueta.authserver.authorization.domain.password.CompromisedPasswordCheck
-
Checks a password against a list of leaked passwords.
- isCountryAllowed(String) - Method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Tells whether messages may be sent to a country.
- isExhausted(int) - Method in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Tells whether a code has used up its attempts.
- isExpired(Instant) - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Tells whether the device is no longer trusted at an instant.
- isExpiredAt(Instant) - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Tells whether the code has expired.
- isExpiredAt(Instant) - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Tells whether the verification has expired.
- isGenerated(UUID) - Method in interface com.irurueta.authserver.authorization.domain.social.GeneratedPasswordRepository
-
Tells whether the password of an account is a generated one.
- isLocked(Instant) - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Tells whether the second factor is locked at an instant.
- isMultiFactor(Set<AuthenticationFactor>) - Method in class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
-
Tells whether the factors of an authentication make it multi-factor, the one rule behind the
amrmfavalue, the multi-factoracrand every step-up check: at leastMfaPolicy.MIN_MULTI_FACTORSdistinct reported factors, or one reported factor that proves a multi-factor authentication alone (AuthenticationFactor.multiFactor()). - isNotPositive(Duration) - Static method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Tells whether a duration is missing, zero or negative.
- isPrimary(AuthenticationFactor) - Method in class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
-
Tells whether a factor is the primary one of an authentication, the one
auth_timeandmax_ageare measured from. - isReported(AuthenticationFactor) - Method in class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
-
Tells whether a factor proves something about the authentication it was presented in, and is therefore reported (
amr,acr,auth_time) and counted by a step-up request. - isRequired(boolean, boolean) - Method in class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
-
Tells whether multi-factor authentication is required, which is when either the client or the user demands it.
- isRequired(UUID) - Method in interface com.irurueta.authserver.authorization.domain.mfa.UserMfaSettingsRepository
-
Tells whether an account requires a second factor.
- isSatisfied(Set<AuthenticationFactor>) - Method in class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
-
Tells whether a set of factors satisfies the sign-in policy: a
FactorStrength.PRIMARY_STRONGfactor alone, or aFactorStrength.PRIMARYfactor together with aFactorStrength.SECONDor aFactorStrength.REMEMBEREDone (a trusted device skips the second factor of a sign-in). - isStrong(Collection<String>) - Method in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
Tells whether a sign-in counts as strong, that is, whether it proves identity without a second factor.
- issue(String, String, Duration) - Method in interface com.irurueta.authserver.authorization.domain.account.SignedTokenService
-
Issues a signed token.
- isUsed() - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Tells whether the code has been spent.
- isValid(String, String) - Method in class com.irurueta.authserver.authorization.domain.password.PasswordPolicy
-
Tells whether a candidate password follows every rule.
- isWithinDailyCap(long) - Method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Tells whether the spend of the last day is within its budget.
- isWithinWindowCap(long) - Method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Tells whether the spend of the short window is within its budget.
J
- jti - Variable in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
The field for the
jtirecord component. - jti() - Method in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
Returns the value of the
jtirecord component. - jwks - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
jwksrecord component. - jwks() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
jwksrecord component. - jwkSetUrl - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
jwkSetUrlrecord component. - jwkSetUrl() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
jwkSetUrlrecord component.
K
- kid - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
kidrecord component. - kid() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
kidrecord component.
L
- label - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
labelrecord component. - label() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
labelrecord component. - lastLoginAt - Variable in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
The field for the
lastLoginAtrecord component. - lastLoginAt() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns the value of the
lastLoginAtrecord component. - LastSignInMethodException - Exception Class in com.irurueta.authserver.authorization.domain.social
-
Thrown when removing a sign-in method would leave the account with none, so its owner could never sign in again.
- LastSignInMethodException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.social.LastSignInMethodException
-
Creates the exception.
- lastUsedAt - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
lastUsedAtrecord component. - lastUsedAt() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
lastUsedAtrecord component. - lastUsedStep - Variable in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
The field for the
lastUsedSteprecord component. - lastUsedStep() - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Returns the value of the
lastUsedSteprecord component. - LINK - Enum constant in enum class com.irurueta.authserver.authorization.domain.ott.OttKind
-
A magic link the user opens.
- linkedAt - Variable in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
The field for the
linkedAtrecord component. - linkedAt() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns the value of the
linkedAtrecord component. - linkTtl - Variable in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Lifetime of a magic link.
- lock(UUID) - Method in interface com.irurueta.authserver.authorization.domain.social.SignInMethodsLock
-
Takes the lock of an account until the caller's transaction ends; a second caller for the same account waits.
- lockedUntil - Variable in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
The field for the
lockedUntilrecord component. - lockedUntil() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Returns the value of the
lockedUntilrecord component. - lockForUpdate(UUID) - Method in interface com.irurueta.authserver.authorization.domain.mfa.SecondFactorAttemptRepository
-
Reads the state of a user and locks it until the end of the current transaction, creating a clean state first when nothing was recorded, so that concurrent verifications of the same user's second factor run one after the other instead of all passing the lockout check before any of their failures is counted.
- lockSubject(IdentityProvider, String) - Method in interface com.irurueta.authserver.authorization.domain.social.FederatedIdentityRepository
-
Serializes, until the caller's transaction ends, every caller that links or resolves the same identity of a provider, so that two first sign-ins of the same person never both try to link it: the second one waits and then finds the link of the first.
- LOGIN - Enum constant in enum class com.irurueta.authserver.authorization.domain.ott.OttPurpose
-
The token is the primary factor of a passwordless sign-in.
- LOGIN_FAILURE - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
An authentication with the primary factor failed.
- LOGIN_SUCCESS - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A user authenticated with the primary factor.
- longest() - Method in interface com.irurueta.authserver.authorization.domain.keys.SignedTokenLifetimes
-
Finds the longest lifetime of a signed token (an access or ID token) that any registered client can obtain.
M
- MAC_ALGORITHM - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Name of the JCA MAC algorithm.
- markEmailVerified(UUID) - Method in interface com.irurueta.authserver.authorization.domain.password.UserAccountRepository
-
Marks the e-mail address of an account as verified and enables the account, but only while the address is still unverified: the transition happens once, so a replayed verification never re-enables an account that was disabled after its address had been verified.
- markGenerated(UUID) - Method in interface com.irurueta.authserver.authorization.domain.social.GeneratedPasswordRepository
-
Marks the password of an account as generated, that is, unknown to its owner.
- markUsed(UUID, Instant) - Method in interface com.irurueta.authserver.authorization.domain.totp.RecoveryCodeRepository
-
Spends a code, in one atomic step, so that two concurrent requests cannot both use it.
- matches(byte[], String, Instant, long) - Method in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Tells whether a code is valid, with the window and replay rules of
TotpAlgorithm.matchingStep(byte[], java.lang.String, java.time.Instant, long). - matches(CharSequence, String) - Method in interface com.irurueta.authserver.authorization.domain.password.PasswordHasher
-
Checks a clear-text password against an encoded one.
- matches(String, String) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeHasher
-
Tells whether a code matches a hash, comparing in constant time.
- matchingStep(byte[], String, Instant, long) - Method in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Finds the time step a presented code corresponds to, accepting
TotpAlgorithm.WINDOWsteps on each side of the current one and rejecting any step that is not newer than the last one used, so that a code cannot be replayed. - MAX_LENGTH - Static variable in class com.irurueta.authserver.authorization.domain.password.PasswordPolicy
-
Maximum number of characters of a password.
- maxAttempts - Variable in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Wrong submissions tolerated before a code is rejected for good.
- maxAttempts() - Method in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Gets the wrong submissions tolerated per code.
- mayLinkByEmail(UserAccount, String, boolean) - Method in class com.irurueta.authserver.authorization.domain.social.FederatedLinkingPolicy
-
Tells whether an external identity may be linked to the account that has its e-mail address.
- mayProvision(String, boolean) - Method in class com.irurueta.authserver.authorization.domain.social.FederatedLinkingPolicy
-
Tells whether a new account may be created from an external identity: the provider must vouch for a usable e-mail address.
- maySignIn(UserAccount) - Method in class com.irurueta.authserver.authorization.domain.social.FederatedLinkingPolicy
-
Tells whether a sign-in with an external provider may reach an account at all: a disabled account is never linked to an identity and never signed in through one, the rule every other sign-in method applies.
- mayUnlink(SignInMethods) - Method in class com.irurueta.authserver.authorization.domain.social.FederatedLinkingPolicy
-
Tells whether a sign-in method (a linked identity, a bound certificate) may be removed: the account must keep at least one other way to sign in.
- MFA_AMR - Static variable in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
The
amrvalue (RFC 8176) that says the provider authenticated the user with several factors. - MfaPolicy - Class in com.irurueta.authserver.authorization.domain.mfa
-
The rule that decides when the factors of an authentication are enough, and when they are required.
- MfaPolicy() - Constructor for class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
- mfaRequired - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
mfaRequiredrecord component. - mfaRequired() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
mfaRequiredrecord component. - MICROSOFT - Enum constant in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Microsoft Entra ID, an OpenID Connect provider with a multi-tenant issuer.
- MIN_LENGTH - Static variable in class com.irurueta.authserver.authorization.domain.password.PasswordPolicy
-
Minimum number of characters of a password.
- MIN_MULTI_FACTORS - Static variable in class com.irurueta.authserver.authorization.domain.mfa.MfaPolicy
-
Minimum number of distinct reported factors of a multi-factor authentication.
- MODULUS - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Modulus that keeps the last
TotpAlgorithm.DIGITSdecimal digits. - MULTI_FACTOR - Static variable in class com.irurueta.authserver.authorization.domain.mfa.AuthenticationContextClass
-
Reference of an authentication that satisfied the multi-factor policy.
- multiFactor - Variable in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
The field for the
multiFactorrecord component. - multiFactor() - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Returns the value of the
multiFactorrecord component.
N
- name - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
namerecord component. - name() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
namerecord component. - NEVER_USED - Static variable in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Value of the last used step of a credential that has not accepted any code yet.
- NEXT - Enum constant in enum class com.irurueta.authserver.authorization.domain.keys.SigningKeyStatus
-
Published in the JWKS but not yet used to sign, so relying parties can cache it before its first use.
- none() - Static method in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Creates the state of a user with no failed attempts.
- normalize(String, String) - Method in interface com.irurueta.authserver.authorization.domain.sms.PhoneNormalizer
-
Normalizes a number.
O
- occurredAt - Variable in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
The field for the
occurredAtrecord component. - occurredAt() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Returns the value of the
occurredAtrecord component. - OFFSET_MASK - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Mask of the low nibble of the last hash byte, which gives the truncation offset.
- OneTimeCode - Record Class in com.irurueta.authserver.authorization.domain.ott
-
A numeric one-time code that was issued to a user.
- OneTimeCode(UUID, String, OttChannel, OttPurpose, String, String, int, Instant, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Validates the code.
- OneTimeCodeGenerator - Interface in com.irurueta.authserver.authorization.domain.ott
-
Port that generates the numeric codes users type.
- OneTimeCodeHasher - Interface in com.irurueta.authserver.authorization.domain.ott
-
Port that hashes one-time codes so that only the hash is stored.
- OneTimeCodeRepository - Interface in com.irurueta.authserver.authorization.domain.ott
-
Port that stores the numeric one-time codes.
- OttChannel - Enum Class in com.irurueta.authserver.authorization.domain.ott
-
Channel through which a one-time token reaches the user.
- OttChannel() - Constructor for enum class com.irurueta.authserver.authorization.domain.ott.OttChannel
- OttDelivery - Interface in com.irurueta.authserver.authorization.domain.ott
-
Port that delivers a one-time token to a destination through a channel.
- OttDeliveryException - Exception Class in com.irurueta.authserver.authorization.domain.ott
-
Thrown when a one-time token could not be delivered.
- OttDeliveryException(String, Throwable) - Constructor for exception class com.irurueta.authserver.authorization.domain.ott.OttDeliveryException
-
Creates the exception.
- OttKind - Enum Class in com.irurueta.authserver.authorization.domain.ott
-
Shape of a one-time token.
- OttKind() - Constructor for enum class com.irurueta.authserver.authorization.domain.ott.OttKind
- OttPolicy - Class in com.irurueta.authserver.authorization.domain.ott
-
The rules of one-time tokens: how long each kind lives, how long a code is and how many wrong submissions are tolerated.
- OttPolicy(int, Duration, Duration, int) - Constructor for class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Creates the policy.
- OttPurpose - Enum Class in com.irurueta.authserver.authorization.domain.ott
-
What a one-time token is used for.
- OttPurpose() - Constructor for enum class com.irurueta.authserver.authorization.domain.ott.OttPurpose
P
- passkey - Variable in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
The field for the
passkeyrecord component. - passkey() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Returns the value of the
passkeyrecord component. - Passkey - Record Class in com.irurueta.authserver.authorization.domain.passkeys
-
A passkey (WebAuthn credential) registered by a user.
- Passkey(String, String, String, Instant, Instant, long, boolean, boolean) - Constructor for record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Validates the passkey.
- PasskeyNotFoundException - Exception Class in com.irurueta.authserver.authorization.domain.passkeys
-
Thrown when a user has no passkey with the requested identifier.
- PasskeyNotFoundException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.passkeys.PasskeyNotFoundException
-
Creates the exception.
- PasskeyRepository - Interface in com.irurueta.authserver.authorization.domain.passkeys
-
Port that reads and manages the passkeys users registered.
- password - Variable in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
The field for the
passwordrecord component. - password() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Returns the value of the
passwordrecord component. - PASSWORD - Static variable in class com.irurueta.authserver.authorization.domain.mfa.AuthenticationContextClass
-
Reference of an authentication with a password only.
- PasswordHasher - Interface in com.irurueta.authserver.authorization.domain.password
-
Port that hashes and checks passwords.
- PasswordPolicy - Class in com.irurueta.authserver.authorization.domain.password
-
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.
- PasswordPolicy() - Constructor for class com.irurueta.authserver.authorization.domain.password.PasswordPolicy
- PasswordViolation - Enum Class in com.irurueta.authserver.authorization.domain.password
-
A rule of the
PasswordPolicythat a candidate password breaks. - PasswordViolation() - Constructor for enum class com.irurueta.authserver.authorization.domain.password.PasswordViolation
- PERIOD_SECONDS - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Length of a time step, in seconds.
- phone - Variable in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
The field for the
phonerecord component. - phone - Variable in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
The field for the
phonerecord component. - phone() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Returns the value of the
phonerecord component. - phone() - Method in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
Returns the value of the
phonerecord component. - PhoneCountryResolver - Interface in com.irurueta.authserver.authorization.domain.sms
-
Port that tells the country of a phone number.
- PhoneNormalizer - Interface in com.irurueta.authserver.authorization.domain.sms
-
Port that turns the phone number a user typed into E.164.
- PhoneNumber - Record Class in com.irurueta.authserver.authorization.domain.sms
-
A phone number in E.164 format.
- PhoneNumber(String) - Constructor for record class com.irurueta.authserver.authorization.domain.sms.PhoneNumber
-
Validates the number.
- PhoneVerification - Record Class in com.irurueta.authserver.authorization.domain.sms
-
A pending verification of a phone number: the code that was sent to it, hashed, until the user types it.
- PhoneVerification(UUID, PhoneNumber, String, int, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Validates the verification.
- PhoneVerificationRepository - Interface in com.irurueta.authserver.authorization.domain.sms
-
Port that stores the pending phone verification of each user, with the code hashed.
- postLogoutRedirectUris - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
postLogoutRedirectUrisrecord component. - postLogoutRedirectUris() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
postLogoutRedirectUrisrecord component. - Preconditions - Class in com.irurueta.authserver.authorization.domain
-
Argument checks shared by the domain models.
- Preconditions() - Constructor for class com.irurueta.authserver.authorization.domain.Preconditions
-
Not instantiable: a holder of static helpers.
- PRIMARY - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.FactorStrength
-
A factor that identifies the user but needs a second one, for example a password.
- PRIMARY_STRONG - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.FactorStrength
-
A factor that is sufficient alone, for example a passkey: it is possession plus user verification.
- provider - Variable in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
The field for the
providerrecord component. - provider - Variable in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
The field for the
providerrecord component. - provider() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns the value of the
providerrecord component. - provider() - Method in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
Returns the value of the
providerrecord component. - ProviderTrust - Record Class in com.irurueta.authserver.authorization.domain.social
-
How far a provider's own multi-factor authentication is trusted.
- ProviderTrust(IdentityProvider, boolean) - Constructor for record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
Validates the trust setting.
- publicJwk - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
publicJwkrecord component. - publicJwk() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
publicJwkrecord component. - purgeExpired(Instant) - Method in interface com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionReplayRegistry
-
Forgets the identifiers of the assertions that expired at or before an instant.
- purpose - Variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
The field for the
purposerecord component. - purpose - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
purposerecord component. - purpose() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns the value of the
purposerecord component. - purpose() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
purposerecord component. - PURPOSE_CLAIM - Static variable in interface com.irurueta.authserver.authorization.domain.account.SignedTokenService
-
Name of the claim that carries the purpose of a signed token.
- PURPOSE_EMAIL_VERIFICATION - Static variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Purpose of the signed token that proves ownership of an e-mail address.
- PURPOSE_PASSWORD_RESET - Static variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Purpose of the single-use token that allows choosing a new password.
R
- random - Variable in class com.irurueta.authserver.authorization.domain.totp.SecureRandomSecretGenerator
-
Source of randomness.
- recordFailure(UUID, int, Duration, Instant) - Method in interface com.irurueta.authserver.authorization.domain.mfa.SecondFactorAttemptRepository
-
Records one failed attempt and, when the counter reaches the maximum, locks the second factor.
- RECOVERY_CODE_USED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A recovery code was spent in place of a second factor.
- RecoveryCode - Record Class in com.irurueta.authserver.authorization.domain.totp
-
A single-use code that replaces the second factor when the authenticator is lost.
- RecoveryCode(UUID, UUID, String, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Validates the code.
- RecoveryCodeRepository - Interface in com.irurueta.authserver.authorization.domain.totp
-
Port that stores the recovery codes of each user.
- redirectUris - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
redirectUrisrecord component. - redirectUris() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
redirectUrisrecord component. - refreshTokenTtl - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
refreshTokenTtlrecord component. - refreshTokenTtl() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
refreshTokenTtlrecord component. - register(String, String, Instant) - Method in interface com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionReplayRegistry
-
Records the first use of an assertion identifier of a client.
- REMEMBERED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.FactorStrength
-
A factor that only stands in for a
FactorStrength.SECONDone at sign-in, for example a trusted device: it lets the sign-in policy be satisfied without asking for a code again, but proves nothing about this sign-in, so it is never reported inamr,acrorauth_timeand never satisfies a step-up request. - rename(String, String, String) - Method in interface com.irurueta.authserver.authorization.domain.passkeys.PasskeyRepository
-
Renames a passkey of a user.
- replaceAll(UUID, List<RecoveryCode>) - Method in interface com.irurueta.authserver.authorization.domain.totp.RecoveryCodeRepository
-
Replaces every code of a user with a new set, which is what regenerating codes means.
- requireConsent - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
requireConsentrecord component. - requireConsent() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
requireConsentrecord component. - requireCountry(String) - Static method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Rejects anything but an upper-case ISO 3166-1 alpha-2 code.
- requireNoNulls(List<String>, String) - Static method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Rejects a null list and a list with null elements.
- requirePositive(Duration, String) - Static method in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Rejects a missing, zero or negative duration.
- requireProofKey - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
requireProofKeyrecord component. - requireProofKey() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
requireProofKeyrecord component. - requireText(String, String) - Static method in class com.irurueta.authserver.authorization.domain.Preconditions
-
Rejects a null or blank text.
- requireTextIfPresent(String, String) - Static method in class com.irurueta.authserver.authorization.domain.Preconditions
-
Rejects a blank text but accepts a missing one, for an optional value.
- requireValidImplicit(boolean, boolean, List<String>) - Static method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Refuses an
implicitclient that is confidential, requires consent or may use refresh tokens. - reset(UUID) - Method in interface com.irurueta.authserver.authorization.domain.mfa.SecondFactorAttemptRepository
-
Clears the counter and any lock, after a successful verification.
- retire(Instant) - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Creates the key as it is once it stops signing.
- RETIRED - Enum constant in enum class com.irurueta.authserver.authorization.domain.keys.SigningKeyStatus
-
No longer signs, but still published until the tokens it signed have expired.
- retiredAt - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
retiredAtrecord component. - retiredAt() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
retiredAtrecord component. - reuseRefreshTokens - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
reuseRefreshTokensrecord component. - reuseRefreshTokens() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
reuseRefreshTokensrecord component. - revoke(UUID, UUID) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceRepository
-
Revokes a device of a user.
S
- save(ClientRegistration, String) - Method in interface com.irurueta.authserver.authorization.domain.clients.ClientRegistrationRepository
-
Inserts a client, or replaces the settings of the stored client that has the same identifier.
- save(SigningKey) - Method in interface com.irurueta.authserver.authorization.domain.keys.SigningKeyRepository
-
Inserts a key, or replaces the stored key that has the same identifier.
- save(OneTimeCode) - Method in interface com.irurueta.authserver.authorization.domain.ott.OneTimeCodeRepository
-
Stores a code, replacing any other active code of the same binding and user name so that only the latest one can be used.
- save(UserAccount) - Method in interface com.irurueta.authserver.authorization.domain.password.UserAccountRepository
-
Stores a new account, with its authorities.
- save(PhoneVerification) - Method in interface com.irurueta.authserver.authorization.domain.sms.PhoneVerificationRepository
-
Stores the pending verification of a user, replacing the one it had.
- save(UserPhone) - Method in interface com.irurueta.authserver.authorization.domain.sms.UserPhoneRepository
-
Stores the verified phone of a user, replacing the one it had.
- save(FederatedIdentity) - Method in interface com.irurueta.authserver.authorization.domain.social.FederatedIdentityRepository
-
Stores a link, inserting it or updating the e-mail address and last sign-in instant of an existing one.
- save(TotpCredential) - Method in interface com.irurueta.authserver.authorization.domain.totp.TotpCredentialRepository
-
Stores a credential, replacing any previous one of the same user.
- save(CertificateBinding) - Method in interface com.irurueta.authserver.authorization.domain.x509.CertificateBindingRepository
-
Stores a binding.
- scopes - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
scopesrecord component. - scopes() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
scopesrecord component. - SECOND - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.FactorStrength
-
A factor that only counts once a
FactorStrength.PRIMARYfactor has been presented, for example a TOTP code. - SECOND_FACTOR - Enum constant in enum class com.irurueta.authserver.authorization.domain.ott.OttPurpose
-
The token is the second factor of a sign-in that already proved a primary factor.
- SECOND_FACTOR_FAILURE - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A second factor was rejected.
- SECOND_FACTOR_LOCKED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
The second factor of a user was locked after too many failed attempts.
- SECOND_FACTOR_REMOVED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A user removed a second factor, which also revokes every trusted device of the user.
- SECOND_FACTOR_SUCCESS - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A second factor was verified.
- SecondFactorAttemptRepository - Interface in com.irurueta.authserver.authorization.domain.mfa
-
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.
- SecondFactorLockedException - Exception Class in com.irurueta.authserver.authorization.domain.mfa
-
Thrown when a second factor is attempted while the user's second factor is locked after too many failures.
- SecondFactorLockedException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockedException
-
Creates the exception.
- SecondFactorLockout - Record Class in com.irurueta.authserver.authorization.domain.mfa
-
The failed-attempt state of the second factor of one user.
- SecondFactorLockout(int, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Validates the state.
- SECRET_BYTES - Static variable in class com.irurueta.authserver.authorization.domain.totp.SecureRandomSecretGenerator
-
Length of a secret in bytes, which is 160 bits.
- SecretGenerator - Interface in com.irurueta.authserver.authorization.domain.totp
-
Port that creates the shared secrets of TOTP credentials.
- SecureRandomSecretGenerator - Class in com.irurueta.authserver.authorization.domain.totp
-
Creates 160-bit secrets, the length RFC 4226 recommends for HMAC-SHA1, from a
SecureRandom. - SecureRandomSecretGenerator() - Constructor for class com.irurueta.authserver.authorization.domain.totp.SecureRandomSecretGenerator
- SecurityEvent - Record Class in com.irurueta.authserver.authorization.domain.mfa
-
An authentication event kept for audit.
- SecurityEvent(SecurityEventType, UUID, String, String, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Validates the event.
- SecurityEventRepository - Interface in com.irurueta.authserver.authorization.domain.mfa
-
Port that stores the audit trail of authentication events.
- SecurityEventType - Enum Class in com.irurueta.authserver.authorization.domain.mfa
-
Kinds of authentication events that are recorded for audit.
- SecurityEventType() - Constructor for enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
- send(PhoneNumber, String) - Method in interface com.irurueta.authserver.authorization.domain.sms.SmsSender
-
Sends a text message.
- sendAlreadyRegistered(String) - Method in interface com.irurueta.authserver.authorization.domain.account.AccountMailer
-
Tells the owner of an address that someone tried to register it again.
- sendEmailVerification(String, String) - Method in interface com.irurueta.authserver.authorization.domain.account.AccountMailer
-
Asks the owner of an address to confirm it.
- sendPasswordReset(String, String) - Method in interface com.irurueta.authserver.authorization.domain.account.AccountMailer
-
Sends the link that allows choosing a new password.
- sentAt - Variable in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
The field for the
sentAtrecord component. - sentAt() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
Returns the value of the
sentAtrecord component. - serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.account.AccountMailException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.account.InvalidAccountTokenException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.clients.ClientAlreadyExistsException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.clients.ClientNotFoundException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.clients.ImplicitClientRefusedException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockedException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.ott.OttDeliveryException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.passkeys.InvalidPasskeyLabelException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.passkeys.PasskeyNotFoundException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.password.CompromisedPasswordException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.password.InvalidCredentialsException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.password.InvalidPasswordException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.sms.SmsDeliveryException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.social.FederatedIdentityAlreadyLinkedException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.social.FederatedIdentityNotFoundException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.social.FederatedLoginRefusedException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.social.LastSignInMethodException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.totp.InvalidTotpCodeException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.totp.TotpAlreadyEnabledException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.totp.TotpNotEnrolledException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.x509.CertificateAlreadyBoundException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.domain.x509.CertificateNotFoundException
-
Serialization version.
- setRequired(UUID, boolean) - Method in interface com.irurueta.authserver.authorization.domain.mfa.UserMfaSettingsRepository
-
Sets whether an account requires a second factor.
- sign(String) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceTokenSigner
-
Signs a token.
- SIGN_MASK - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Mask that clears the sign bit of the truncated word.
- signatureCount - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
signatureCountrecord component. - signatureCount() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
signatureCountrecord component. - SignedTokenLifetimes - Interface in com.irurueta.authserver.authorization.domain.keys
-
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.
- SignedTokenService - Interface in com.irurueta.authserver.authorization.domain.account
-
Port that issues and verifies signed, purpose-bound tokens.
- SigningKey - Record Class in com.irurueta.authserver.authorization.domain.keys
-
An asymmetric key pair used to sign tokens.
- SigningKey(String, String, String, String, SigningKeyStatus, Instant, Instant, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Validates the key.
- SigningKeyGenerator - Interface in com.irurueta.authserver.authorization.domain.keys
-
Port that generates new signing keys.
- SigningKeyRepository - Interface in com.irurueta.authserver.authorization.domain.keys
-
Port that stores signing keys.
- SigningKeyStatus - Enum Class in com.irurueta.authserver.authorization.domain.keys
-
Lifecycle state of a signing key.
- SigningKeyStatus() - Constructor for enum class com.irurueta.authserver.authorization.domain.keys.SigningKeyStatus
- SignInMethods - Record Class in com.irurueta.authserver.authorization.domain.social
-
The ways an account can sign in with.
- SignInMethods(boolean, long, boolean, long) - Constructor for record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Creates an instance of a
SignInMethodsrecord class. - SignInMethodsLock - Interface in com.irurueta.authserver.authorization.domain.social
-
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.
- SMS - Enum constant in enum class com.irurueta.authserver.authorization.domain.ott.OttChannel
-
The token is sent as a text message to the verified phone number of the account.
- SmsCostLedgerRepository - Interface in com.irurueta.authserver.authorization.domain.sms
-
Port that keeps the ledger of what text messages cost, in the database so that a restart cannot reset a budget.
- SmsCostPolicy - Class in com.irurueta.authserver.authorization.domain.sms
-
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.
- SmsCostPolicy(Set<String>, Map<String, Long>, long, Duration, long, long) - Constructor for class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Creates the policy.
- SmsDeliveryException - Exception Class in com.irurueta.authserver.authorization.domain.sms
-
Thrown when a text message could not be sent.
- SmsDeliveryException(String, Throwable) - Constructor for exception class com.irurueta.authserver.authorization.domain.sms.SmsDeliveryException
-
Creates the exception.
- SmsInbox - Interface in com.irurueta.authserver.authorization.domain.sms
-
Port that lists the messages a development sender recorded instead of sending them.
- SmsInboxEntry - Record Class in com.irurueta.authserver.authorization.domain.sms
-
A text message a development sender recorded instead of sending it, as the development inbox shows it.
- SmsInboxEntry(PhoneNumber, String, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
Validates the entry.
- SmsMessage - Record Class in com.irurueta.authserver.authorization.domain.sms
-
A text message to send.
- SmsMessage(PhoneNumber, String) - Constructor for record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
Validates the message.
- SmsSender - Interface in com.irurueta.authserver.authorization.domain.sms
-
Port that sends a text message through a gateway.
- SmsSpendCap - Record Class in com.irurueta.authserver.authorization.domain.sms
-
A spending cap of text messages: what may be spent in a window that ends at the message being sent.
- SmsSpendCap(Duration, long) - Constructor for record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
Validates the cap.
- status - Variable in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
The field for the
statusrecord component. - status() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns the value of the
statusrecord component. - stepAt(Instant) - Method in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Computes the time step that contains an instant.
- store(AccountToken) - Method in interface com.irurueta.authserver.authorization.domain.account.AccountTokenRepository
-
Stores a new token.
- store(SecurityEvent) - Method in interface com.irurueta.authserver.authorization.domain.mfa.SecurityEventRepository
-
Stores an event.
- store(TrustedDevice) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceRepository
-
Stores a new trusted device.
- strength - Variable in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
The field for the
strengthrecord component. - strength() - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Returns the value of the
strengthrecord component. - subject - Variable in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
The field for the
subjectrecord component. - subject() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns the value of the
subjectrecord component. - subjectDn - Variable in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
The field for the
subjectDnrecord component. - subjectDn() - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Returns the value of the
subjectDnrecord component.
T
- tenant - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
tenantrecord component. - tenant() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
tenantrecord component. - text - Variable in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
The field for the
textrecord component. - text() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
Returns the value of the
textrecord component. - tlsClientAuthSubjectDn - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
tlsClientAuthSubjectDnrecord component. - tlsClientAuthSubjectDn() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
tlsClientAuthSubjectDnrecord component. - to - Variable in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
The field for the
torecord component. - to - Variable in record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
The field for the
torecord component. - to() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
Returns the value of the
torecord component. - to() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
Returns the value of the
torecord component. - tokenEndpointSigningAlgorithm - Variable in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
The field for the
tokenEndpointSigningAlgorithmrecord component. - tokenEndpointSigningAlgorithm() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns the value of the
tokenEndpointSigningAlgorithmrecord component. - TokenGenerator - Interface in com.irurueta.authserver.authorization.domain.account
-
Port that creates random opaque tokens and hashes them for storage.
- TOO_LONG - Enum constant in enum class com.irurueta.authserver.authorization.domain.password.PasswordViolation
-
The password is longer than
PasswordPolicy.MAX_LENGTHcharacters. - TOO_SHORT - Enum constant in enum class com.irurueta.authserver.authorization.domain.password.PasswordViolation
-
The password is shorter than
PasswordPolicy.MIN_LENGTHcharacters. - toString() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.clientauth.ClientAssertionUse
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.keys.SigningKey
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.mfa.AuthenticationFactor
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecondFactorLockout
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneNumber
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsInboxEntry
-
Describes the entry without the text, which carries a one-time code.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsMessage
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Describes the credential without its secret.
- toString() - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Returns a string representation of this record class.
- TotpAlgorithm - Class in com.irurueta.authserver.authorization.domain.totp
-
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.
- TotpAlgorithm() - Constructor for class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
- TotpAlreadyEnabledException - Exception Class in com.irurueta.authserver.authorization.domain.totp
-
Thrown when a user who already confirmed an authenticator app tries to enrol another one.
- TotpAlreadyEnabledException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.totp.TotpAlreadyEnabledException
-
Creates the exception.
- TotpCredential - Record Class in com.irurueta.authserver.authorization.domain.totp
-
The TOTP credential of one user.
- TotpCredential(UUID, byte[], boolean, long, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Validates the credential and copies the secret.
- TotpCredentialRepository - Interface in com.irurueta.authserver.authorization.domain.totp
-
Port that stores the TOTP credential of each user.
- TotpNotEnrolledException - Exception Class in com.irurueta.authserver.authorization.domain.totp
-
Thrown when a user has no authenticator app being enrolled, so there is nothing to confirm.
- TotpNotEnrolledException(String) - Constructor for exception class com.irurueta.authserver.authorization.domain.totp.TotpNotEnrolledException
-
Creates the exception.
- TotpSecretCipher - Interface in com.irurueta.authserver.authorization.domain.totp
-
Port that protects TOTP secrets at rest.
- TotpUri - Class in com.irurueta.authserver.authorization.domain.totp
-
Builds the
otpauth://URI that authenticator applications read from a QR code to enrol a secret. - TotpUri() - Constructor for class com.irurueta.authserver.authorization.domain.totp.TotpUri
-
Not instantiable: a holder of static helpers.
- TRUNCATED_BYTES - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Number of bytes of the truncated word.
- TRUSTED_DEVICE_ADDED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A user trusted a device.
- TRUSTED_DEVICE_REVOKED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A trusted device was revoked.
- TRUSTED_DEVICE_USED - Enum constant in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
A trusted device skipped the second factor.
- TrustedDevice - Record Class in com.irurueta.authserver.authorization.domain.mfa
-
A browser that a user chose to trust, which lets it skip the second factor (never the first) until it expires.
- TrustedDevice(UUID, UUID, String, String, Instant, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Validates the device.
- TrustedDeviceRepository - Interface in com.irurueta.authserver.authorization.domain.mfa
-
Port that stores the devices users trust.
- TrustedDeviceTokenSigner - Interface in com.irurueta.authserver.authorization.domain.mfa
-
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.
- trustMfa - Variable in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
The field for the
trustMfarecord component. - trustMfa() - Method in record class com.irurueta.authserver.authorization.domain.social.ProviderTrust
-
Returns the value of the
trustMfarecord component. - tryRecord(Instant, String, long, SmsSpendCap, SmsSpendCap) - Method in interface com.irurueta.authserver.authorization.domain.sms.SmsCostLedgerRepository
-
Records a message only when it keeps the spend within both caps, atomically: of concurrent callers, the ones whose messages would together exceed a cap are refused, so a budget is never overshot.
- ttl(OttKind) - Method in class com.irurueta.authserver.authorization.domain.ott.OttPolicy
-
Gets the lifetime of a token of a kind.
- type - Variable in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
The field for the
typerecord component. - type() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Returns the value of the
typerecord component.
U
- updatePassword(UUID, String) - Method in interface com.irurueta.authserver.authorization.domain.password.UserAccountRepository
-
Replaces the encoded password of an account.
- updateSecret(String, String) - Method in interface com.irurueta.authserver.authorization.domain.clients.ClientRegistrationRepository
-
Replaces the secret of a client.
- upgradeEncoding(String) - Method in interface com.irurueta.authserver.authorization.domain.password.PasswordHasher
-
Tells whether a stored encoding is weaker than the current algorithm and should be replaced the next time the clear-text password is known.
- usedAt - Variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
The field for the
usedAtrecord component. - usedAt - Variable in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
The field for the
usedAtrecord component. - usedAt() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns the value of the
usedAtrecord component. - usedAt() - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Returns the value of the
usedAtrecord component. - UserAccount - Record Class in com.irurueta.authserver.authorization.domain.password
-
A user that can sign in with a password.
- UserAccount(UUID, String, String, boolean, List<String>) - Constructor for record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Creates an account without an e-mail address, in the default tenant.
- UserAccount(UUID, String, String, boolean, List<String>, String, boolean, String) - Constructor for record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Validates the account and defensively copies its authorities.
- UserAccountRepository - Interface in com.irurueta.authserver.authorization.domain.password
-
Port that provides the user accounts able to sign in with a password.
- userAgentSummary - Variable in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
The field for the
userAgentSummaryrecord component. - userAgentSummary() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns the value of the
userAgentSummaryrecord component. - UserAuthorizationRepository - Interface in com.irurueta.authserver.authorization.domain.tokens
-
Port that removes the stored authorizations (and so the tokens) of users.
- userId - Variable in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
The field for the
userIdrecord component. - userId - Variable in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
The field for the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.account.AccountToken
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.mfa.TrustedDevice
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.passkeys.Passkey
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.sms.PhoneVerification
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.social.FederatedIdentity
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.totp.RecoveryCode
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.totp.TotpCredential
-
Returns the value of the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.domain.x509.CertificateBinding
-
Returns the value of the
userIdrecord component. - UserMfaSettingsRepository - Interface in com.irurueta.authserver.authorization.domain.mfa
-
Port that stores the multi-factor settings of a user account.
- username - Variable in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
The field for the
usernamerecord component. - username - Variable in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
The field for the
usernamerecord component. - username - Variable in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
The field for the
usernamerecord component. - username() - Method in record class com.irurueta.authserver.authorization.domain.mfa.SecurityEvent
-
Returns the value of the
usernamerecord component. - username() - Method in record class com.irurueta.authserver.authorization.domain.ott.OneTimeCode
-
Returns the value of the
usernamerecord component. - username() - Method in record class com.irurueta.authserver.authorization.domain.password.UserAccount
-
Returns the value of the
usernamerecord component. - UserPhone - Record Class in com.irurueta.authserver.authorization.domain.sms
-
The verified phone number of a user.
- UserPhone(UUID, PhoneNumber, Instant) - Constructor for record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
Validates the phone.
- UserPhoneRepository - Interface in com.irurueta.authserver.authorization.domain.sms
-
Port that stores the verified phone number of each user.
- usesClientSecret() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Tells whether the client authenticates with a client secret.
- usesImplicit() - Method in record class com.irurueta.authserver.authorization.domain.clients.ClientRegistration
-
Tells whether the client may use the legacy implicit grant, which only the legacy demo client seeded under the
legacy-implicitprofile may have.
V
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.keys.SigningKeyStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.mfa.FactorStrength
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.ott.OttChannel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.ott.OttKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.ott.OttPurpose
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.password.PasswordViolation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.keys.SigningKeyStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.mfa.FactorStrength
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.mfa.SecurityEventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.ott.OttChannel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.ott.OttKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.ott.OttPurpose
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.password.PasswordViolation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.irurueta.authserver.authorization.domain.social.IdentityProvider
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifiedAt - Variable in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
The field for the
verifiedAtrecord component. - verifiedAt() - Method in record class com.irurueta.authserver.authorization.domain.sms.UserPhone
-
Returns the value of the
verifiedAtrecord component. - VerifiedEmailLookup - Interface in com.irurueta.authserver.authorization.domain.social
-
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).
- verifiedPrimaryEmail(String, String) - Method in interface com.irurueta.authserver.authorization.domain.social.VerifiedEmailLookup
-
Finds the address that the provider marks as both primary and verified.
- verify(String) - Method in interface com.irurueta.authserver.authorization.domain.mfa.TrustedDeviceTokenSigner
-
Checks the signature of a cookie value, in constant time.
- verify(String, String) - Method in interface com.irurueta.authserver.authorization.domain.account.SignedTokenService
-
Verifies a token.
- violations - Variable in exception class com.irurueta.authserver.authorization.domain.password.InvalidPasswordException
-
The rules the password breaks.
- violations(String, String) - Method in class com.irurueta.authserver.authorization.domain.password.PasswordPolicy
-
Finds the rules a candidate password breaks.
W
- window - Variable in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Length of the short window.
- window - Variable in record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
The field for the
windowrecord component. - window() - Method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Gets the length of the short window the window budget applies to.
- window() - Method in record class com.irurueta.authserver.authorization.domain.sms.SmsSpendCap
-
Returns the value of the
windowrecord component. - WINDOW - Static variable in class com.irurueta.authserver.authorization.domain.totp.TotpAlgorithm
-
Number of steps accepted on each side of the current one, to tolerate clock drift.
- windowCap() - Method in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Gets the cap of the short window, as the ledger checks it.
- windowCapMicros - Variable in class com.irurueta.authserver.authorization.domain.sms.SmsCostPolicy
-
Budget of the short window.
- withoutCertificate() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Counts the methods without one bound client certificate.
- withoutFederatedIdentity() - Method in record class com.irurueta.authserver.authorization.domain.social.SignInMethods
-
Counts the methods without one linked external identity.
- withRotationLock(Supplier<T>) - Method in interface com.irurueta.authserver.authorization.domain.keys.SigningKeyRepository
-
Runs an action while holding the cluster-wide rotation lock and inside one transaction, so that two instances can never rotate the keys at the same time.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form