Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abandonedAfter - Variable in class com.irurueta.authserver.authorization.application.tokens.CleanExpiredAuthorizationsUseCase
-
Age after which an authorization that never got a token is deleted (
authserver.tokens.cleanup.abandoned-after, default 1 day). - accept(OneTimeCode) - Method in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Consumes a correct code; a code consumed by a concurrent request is refused.
- accepted - Variable in record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
The field for the
acceptedrecord component. - accepted() - Method in record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
Returns the value of the
acceptedrecord component. - ACCESS_TOKEN_TTL - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Lifetime of access tokens.
- account - Variable in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
The field for the
accountrecord component. - account() - Method in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
Returns the value of the
accountrecord component. - accountMailer - Variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Port that sends the e-mails.
- accountMailer - Variable in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
Port that sends the e-mails.
- accountTokenRepository - Variable in class com.irurueta.authserver.authorization.application.account.CleanExpiredAccountTokensUseCase
-
Port that stores the account tokens.
- accountTokenRepository - Variable in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
Port that stores the reset tokens.
- accountTokenRepository - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Port that stores the reset tokens.
- ActiveSigningKeyUseCase - Class in com.irurueta.authserver.authorization.application.keys
-
Use case that finds the one key that signs new tokens.
- ActiveSigningKeyUseCase() - Constructor for class com.irurueta.authserver.authorization.application.keys.ActiveSigningKeyUseCase
- address - Variable in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
The field for the
addressrecord component. - address - Variable in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
The field for the
addressrecord component. - address - Variable in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
The field for the
addressrecord component. - address() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
Returns the value of the
addressrecord component. - address() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
Returns the value of the
addressrecord component. - address() - Method in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
Returns the value of the
addressrecord component. - addressOf(UserAccount, OttChannel) - Method in class com.irurueta.authserver.authorization.application.ott.ResolveOttDestinationUseCase
-
Reads the verified address of an account for a channel.
- ALGORITHM - Static variable in class com.irurueta.authserver.authorization.application.ott.Sha256OneTimeCodeHasher
-
Name of the digest algorithm.
- allowedCountries - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
allowedCountriesrecord component. - allowedCountries() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
allowedCountriesrecord component. - allowedOrigins - Variable in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
The field for the
allowedOriginsrecord component. - allowedOrigins() - Method in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
Returns the value of the
allowedOriginsrecord component. - ALPHABET - Static variable in class com.irurueta.authserver.authorization.application.totp.RecoveryCodes
-
Crockford's base-32 alphabet.
- AUDIT_DETAIL - Static variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Detail stored in the audit event of an accepted code.
- AUDIT_DETAIL - Static variable in class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
-
Detail of the audit event.
B
- bff(List<String>, String) - Static method in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Defines the
bffclient: confidential,client_secret_basic, authorization code with PKCE and refresh tokens, with refresh token rotation on. - bff(List<String>, String, List<String>) - Static method in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Defines the
bffclient with the URIs it may be sent to after an OpenID Connect RP-initiated logout. - BFF_CLIENT_ID - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Client id of the backend for frontend.
- BindCertificateUseCase - Class in com.irurueta.authserver.authorization.application.x509
-
Use case that binds a client certificate to an account and audits it.
- BindCertificateUseCase() - Constructor for class com.irurueta.authserver.authorization.application.x509.BindCertificateUseCase
C
- certificateBindingRepository - Variable in class com.irurueta.authserver.authorization.application.social.LockSignInMethodsUseCase
-
Port that reads the bound certificates.
- certificateBindingRepository - Variable in class com.irurueta.authserver.authorization.application.x509.BindCertificateUseCase
-
Port that stores the bindings.
- certificateBindingRepository - Variable in class com.irurueta.authserver.authorization.application.x509.ListCertificatesUseCase
-
Port that stores the bindings.
- certificateBindingRepository - Variable in class com.irurueta.authserver.authorization.application.x509.ResolveCertificateLoginUseCase
-
Port that stores the bindings.
- certificateBindingRepository - Variable in class com.irurueta.authserver.authorization.application.x509.UnbindCertificateUseCase
-
Port that stores the bindings.
- ChangePasswordUseCase - Class in com.irurueta.authserver.authorization.application.account
-
Use case that lets a signed-in user choose a new password.
- ChangePasswordUseCase() - Constructor for class com.irurueta.authserver.authorization.application.account.ChangePasswordUseCase
- channel - Variable in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
The field for the
channelrecord component. - channel - Variable in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
The field for the
channelrecord component. - channel() - Method in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
Returns the value of the
channelrecord component. - channel() - Method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Returns the value of the
channelrecord component. - check(String, String, String, OttPurpose, Set<OttChannel>) - Method in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Checks a code against the active one, counting the attempt.
- checkSecondFactorLockoutUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Use case that tells whether the second factor is locked (and serializes the attempts of a user).
- checkSecondFactorLockoutUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpAtSignInUseCase
-
Use case that tells whether the second factor is locked (and serializes the attempts of a user).
- checkSecondFactorLockoutUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Use case that tells whether the second factor is locked.
- checkSecondFactorLockoutUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Use case that tells whether the second factor is locked.
- CheckSecondFactorLockoutUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that tells whether the second factor of a user is locked after too many failed attempts.
- CheckSecondFactorLockoutUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.CheckSecondFactorLockoutUseCase
- CleanExpiredAccountTokensUseCase - Class in com.irurueta.authserver.authorization.application.account
-
Use case that deletes the account tokens (password reset links) that have expired, used or not: once expired they can never be consumed, so keeping them only grows the table.
- CleanExpiredAccountTokensUseCase() - Constructor for class com.irurueta.authserver.authorization.application.account.CleanExpiredAccountTokensUseCase
- CleanExpiredAuthorizationsUseCase - Class in com.irurueta.authserver.authorization.application.tokens
-
Use case that deletes the authorizations whose tokens have all expired, and the abandoned ones: authorization or consent requests that never got a token and are older than a threshold.
- CleanExpiredAuthorizationsUseCase() - Constructor for class com.irurueta.authserver.authorization.application.tokens.CleanExpiredAuthorizationsUseCase
- CleanExpiredTrustedDevicesUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that deletes the trusted devices that have expired, since they can never be used again.
- CleanExpiredTrustedDevicesUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.CleanExpiredTrustedDevicesUseCase
- cleanup - Variable in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
The field for the
cleanuprecord component. - cleanup() - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
Returns the value of the
cleanuprecord component. - Cleanup(String) - Constructor for record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties.Cleanup
-
Applies the default and validates the expression.
- CleanupOttUseCase - Class in com.irurueta.authserver.authorization.application.ott
-
Deletes what the one-time-code and SMS features leave behind: expired codes, expired pending phone verifications, cost ledger rows older than the retention and expired magic-link tokens.
- CleanupOttUseCase() - Constructor for class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
- ClientAssertionProperties - Record Class in com.irurueta.authserver.authorization.application.clientauth
-
Settings of the client assertions, bound from
authserver.client-assertion.*once and validated at startup. - ClientAssertionProperties(Duration, ClientAssertionProperties.Cleanup) - Constructor for record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
Applies the defaults and validates the settings.
- ClientAssertionProperties.Cleanup - Record Class in com.irurueta.authserver.authorization.application.clientauth
-
Settings of the purge of expired identifiers.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.clients.CreateClientUseCase
-
Port that stores the clients.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.clients.DeleteClientUseCase
-
Port that stores the clients.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.clients.GetClientUseCase
-
Port that stores the clients.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.clients.ListClientsUseCase
-
Port that stores the clients.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.clients.RotateClientSecretUseCase
-
Port that stores the clients.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.clients.SeedRegisteredClientsUseCase
-
Port that stores the clients.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.clients.UpdateClientUseCase
-
Port that stores the clients.
- clientRegistrationRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.IsClientMfaRequiredUseCase
-
Port that stores the clients.
- clientSecret - Variable in record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
The field for the
clientSecretrecord component. - clientSecret() - Method in record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
Returns the value of the
clientSecretrecord component. - clientSecretGenerator - Variable in class com.irurueta.authserver.authorization.application.clients.CreateClientUseCase
-
Generator of client secrets.
- clientSecretGenerator - Variable in class com.irurueta.authserver.authorization.application.clients.RotateClientSecretUseCase
-
Generator of client secrets.
- ClientSecretGenerator - Class in com.irurueta.authserver.authorization.application.clients
-
Generates random client secrets.
- ClientSecretGenerator() - Constructor for class com.irurueta.authserver.authorization.application.clients.ClientSecretGenerator
- clock - Variable in class com.irurueta.authserver.authorization.application.account.CleanExpiredAccountTokensUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.clientauth.PurgeClientAssertionsUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.keys.PublishedSigningKeysUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.mfa.CheckSecondFactorLockoutUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.mfa.CleanExpiredTrustedDevicesUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.mfa.FindTrustedDeviceUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.mfa.ListTrustedDevicesUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.mfa.RecordSecurityEventUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.mfa.RegisterSecondFactorFailureUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.sms.SendSmsOneTimeCodeUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.social.LinkIdentityUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.tokens.CleanExpiredAuthorizationsUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.totp.EnrollTotpUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Source of the current time.
- clock - Variable in class com.irurueta.authserver.authorization.application.x509.BindCertificateUseCase
-
Source of the current time.
- clock() - Method in class com.irurueta.authserver.authorization.application.time.ClockConfiguration
-
Creates the system clock in UTC.
- ClockConfiguration - Class in com.irurueta.authserver.authorization.application.time
-
Provides the
Clockthe use cases read the current time from, so tests can replace it with a fixed one. - ClockConfiguration() - Constructor for class com.irurueta.authserver.authorization.application.time.ClockConfiguration
- clockSkew - Variable in class com.irurueta.authserver.authorization.application.keys.SigningKeyRetention
-
Clock skew tolerated by the token consumers (
authserver.keys.clock-skew, default 60 seconds). - code - Variable in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
The field for the
coderecord component. - code() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
Returns the value of the
coderecord component. - CODE_COUNT - Static variable in class com.irurueta.authserver.authorization.application.totp.GenerateRecoveryCodesUseCase
-
Number of codes in a set.
- CODE_LENGTH - Static variable in class com.irurueta.authserver.authorization.application.totp.RecoveryCodes
-
Number of characters of a code.
- codeLength - Variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
The field for the
codeLengthrecord component. - codeLength() - Method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Returns the value of the
codeLengthrecord component. - codes - Variable in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
The field for the
codesrecord component. - codes() - Method in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Returns the value of the
codesrecord component. - codeTtl - Variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
The field for the
codeTtlrecord component. - codeTtl() - Method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Returns the value of the
codeTtlrecord component. - com.irurueta.authserver.authorization.application.account - package com.irurueta.authserver.authorization.application.account
-
Use cases of the account lifecycle: registration, e-mail verification, password change and reset.
- com.irurueta.authserver.authorization.application.clientauth - package com.irurueta.authserver.authorization.application.clientauth
-
Use cases and settings of client authentication: registering the identifier of an accepted client assertion so it cannot be replayed, and purging the identifiers that expired.
- com.irurueta.authserver.authorization.application.clients - package com.irurueta.authserver.authorization.application.clients
-
Use cases that manage registered clients.
- com.irurueta.authserver.authorization.application.keys - package com.irurueta.authserver.authorization.application.keys
-
Use cases that manage the signing keys.
- com.irurueta.authserver.authorization.application.mfa - package com.irurueta.authserver.authorization.application.mfa
-
Use cases of the multi-factor framework: security events, second-factor lockout and trusted devices.
- com.irurueta.authserver.authorization.application.ott - package com.irurueta.authserver.authorization.application.ott
-
Use cases of the one-time-code (e-mail and SMS) authentication factor: requesting, verifying and cleaning up codes, and the policy beans they share.
- com.irurueta.authserver.authorization.application.passkeys - package com.irurueta.authserver.authorization.application.passkeys
-
Use cases that manage the passkeys (WebAuthn credentials) of a user: list, rename and delete, whether the user has one (a second factor enrolment query), and the relying party settings.
- com.irurueta.authserver.authorization.application.password - package com.irurueta.authserver.authorization.application.password
-
Use cases of the password-based sign-in.
- com.irurueta.authserver.authorization.application.sms - package com.irurueta.authserver.authorization.application.sms
-
Use cases of the SMS channel: phone enrolment and verification, cost-capped sending of codes and the enrolment query of the SMS second factor.
- com.irurueta.authserver.authorization.application.social - package com.irurueta.authserver.authorization.application.social
-
Use cases of social login (identity brokering): resolving a sign-in with an external provider to an account (finding it, linking by verified e-mail address, or provisioning it), linking, unlinking and listing the identities of an account.
- com.irurueta.authserver.authorization.application.time - package com.irurueta.authserver.authorization.application.time
-
Shared time source.
- com.irurueta.authserver.authorization.application.tokens - package com.irurueta.authserver.authorization.application.tokens
-
Use cases that act on issued tokens and stored authorizations.
- com.irurueta.authserver.authorization.application.totp - package com.irurueta.authserver.authorization.application.totp
-
Use cases of the TOTP authenticator-app second factor and its recovery codes.
- com.irurueta.authserver.authorization.application.x509 - package com.irurueta.authserver.authorization.application.x509
-
Use cases of X.509 client certificate sign-in: resolving a certificate fingerprint to an account, binding a certificate to an account and unbinding it.
- compromisedPasswordCheck - Variable in class com.irurueta.authserver.authorization.application.account.ChangePasswordUseCase
-
Port that checks passwords against leaked ones.
- compromisedPasswordCheck - Variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Port that checks passwords against leaked ones.
- compromisedPasswordCheck - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Port that checks passwords against leaked ones.
- configuredRetention - Variable in class com.irurueta.authserver.authorization.application.keys.SigningKeyRetention
-
Minimum retention (
authserver.keys.retention, default 2 hours). - ConfirmPhoneUseCase - Class in com.irurueta.authserver.authorization.application.sms
-
Confirms a phone with the code that was sent to it.
- ConfirmPhoneUseCase() - Constructor for class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
- ConfirmTotpAtSignInUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that confirms the enrolment of an authenticator app inside the sign-in, where the code also stands as the second factor of that sign-in: like
VerifyTotpUseCase, a locked second factor is refused, a wrong code counts towards the lockout and a right one clears the counter and is audited. - ConfirmTotpAtSignInUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.ConfirmTotpAtSignInUseCase
- confirmTotpUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpAtSignInUseCase
-
Use case that confirms the enrolment.
- ConfirmTotpUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that finishes the enrolment of an authenticator app with the first code it shows.
- ConfirmTotpUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
- cookieValue - Variable in record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
The field for the
cookieValuerecord component. - cookieValue() - Method in record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
Returns the value of the
cookieValuerecord component. - costPerCountryMicros - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
costPerCountryMicrosrecord component. - costPerCountryMicros() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
costPerCountryMicrosrecord component. - CountRecoveryCodesUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that counts the recovery codes a user still has, so the UI can warn when few are left.
- CountRecoveryCodesUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.CountRecoveryCodesUseCase
- CreateClientUseCase - Class in com.irurueta.authserver.authorization.application.clients
-
Use case that registers a client.
- CreateClientUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clients.CreateClientUseCase
- created - Variable in record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
The field for the
createdrecord component. - created() - Method in record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
Returns the value of the
createdrecord component. - CreatedClient - Record Class in com.irurueta.authserver.authorization.application.clients
-
The result of creating a client.
- CreatedClient(ClientRegistration, String) - Constructor for record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
Creates an instance of a
CreatedClientrecord class. - CreatedTrustedDevice - Record Class in com.irurueta.authserver.authorization.application.mfa
-
A trusted device just created, with the signed cookie value that is only available now.
- CreatedTrustedDevice(TrustedDevice, String) - Constructor for record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
Creates an instance of a
CreatedTrustedDevicerecord class. - CreateTrustedDeviceUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that trusts the browser of a user for some days so it skips the second factor.
- CreateTrustedDeviceUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
- cron - Variable in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties.Cleanup
-
The field for the
cronrecord component. - cron() - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties.Cleanup
-
Returns the value of the
cronrecord component.
D
- dailyCapMicros - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
dailyCapMicrosrecord component. - dailyCapMicros() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
dailyCapMicrosrecord component. - DEFAULT_API_AUDIENCE - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Default audience of the authorization server's own REST API (
authserver.api.audience). - DEFAULT_AUTHORITY - Static variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Authority granted to registered accounts.
- DEFAULT_CODE_LENGTH - Static variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Default number of digits of a code.
- DEFAULT_CODE_LENGTH - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Default digits of the verification code.
- DEFAULT_CODE_TTL_MINUTES - Static variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Default validity of a code, in minutes.
- DEFAULT_CODE_TTL_MINUTES - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Default validity of the verification code, in minutes.
- DEFAULT_COUNTRIES - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Default allowed regions.
- DEFAULT_CRON - Static variable in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties.Cleanup
-
Default cron expression.
- DEFAULT_LINK_TTL_MINUTES - Static variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Default validity of a link, in minutes.
- DEFAULT_MAX_ATTEMPTS - Static variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Default number of verification attempts.
- DEFAULT_MAX_ATTEMPTS - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Default attempts of the verification code.
- DEFAULT_MAX_LIFETIME_MINUTES - Static variable in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
Default longest lifetime of an assertion, in minutes.
- DEFAULT_REGION - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Default region.
- DEFAULT_RETENTION_DAYS - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Default retention of the ledger, in days.
- DEFAULT_WINDOW_MINUTES - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Default spending window, in minutes.
- DefaultClientDefinitions - Class in com.irurueta.authserver.authorization.application.clients
-
The single definition of the clients a deployment can start with: the confidential
bff(backend for frontend) and the publicspa-public. - DefaultClientDefinitions() - Constructor for class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Not instantiable.
- defaultCostMicros - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
defaultCostMicrosrecord component. - defaultCostMicros() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
defaultCostMicrosrecord component. - defaultRegion - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
defaultRegionrecord component. - defaultRegion() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
defaultRegionrecord component. - DeleteClientUseCase - Class in com.irurueta.authserver.authorization.application.clients
-
Use case that deletes a registered client.
- DeleteClientUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clients.DeleteClientUseCase
- DeletePasskeyUseCase - Class in com.irurueta.authserver.authorization.application.passkeys
-
Use case that deletes a passkey of a user and audits the removal.
- DeletePasskeyUseCase() - Constructor for class com.irurueta.authserver.authorization.application.passkeys.DeletePasskeyUseCase
- deliverEmailCode(EmailCodeRequested) - Method in class com.irurueta.authserver.authorization.application.ott.DeliverOneTimeTokenUseCase
-
E-mails a code.
- deliverEmailLink(EmailLinkRequested) - Method in class com.irurueta.authserver.authorization.application.ott.DeliverOneTimeTokenUseCase
-
E-mails a magic link.
- DeliverOneTimeTokenUseCase - Class in com.irurueta.authserver.authorization.application.ott
-
Delivers what the one-time token use cases asked for: an e-mailed code or link, or a text message whose cost was already recorded.
- DeliverOneTimeTokenUseCase() - Constructor for class com.irurueta.authserver.authorization.application.ott.DeliverOneTimeTokenUseCase
- deliverSms(SmsRequested) - Method in class com.irurueta.authserver.authorization.application.ott.DeliverOneTimeTokenUseCase
-
Sends a text message.
- device - Variable in record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
The field for the
devicerecord component. - device() - Method in record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
Returns the value of the
devicerecord component. - digest(String) - Static method in class com.irurueta.authserver.authorization.application.ott.Sha256OneTimeCodeHasher
-
Computes the SHA-256 digest of a text.
- DisableTotpUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that removes the authenticator app of a user together with the recovery codes that went with it.
- DisableTotpUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.DisableTotpUseCase
- durationOrDefault(Duration, Duration, String) - Static method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Keeps a positive duration, replaces a missing or zero one by its default and rejects a negative one.
E
- effective() - Method in class com.irurueta.authserver.authorization.application.keys.SigningKeyRetention
-
Computes the effective retention at this moment: registering a client with longer-lived tokens lengthens it.
- EmailCodeRequested - Record Class in com.irurueta.authserver.authorization.application.ott
-
Event published when a one-time code must be e-mailed.
- EmailCodeRequested(String, String, Duration) - Constructor for record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
Validates the event.
- EmailLinkRequested - Record Class in com.irurueta.authserver.authorization.application.ott
-
Event published when a magic link must be e-mailed.
- EmailLinkRequested(String, URI, Duration) - Constructor for record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
Validates the event.
- EnrollTotpUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that starts the enrolment of an authenticator app: it generates a secret, stores it encrypted and unconfirmed (replacing any earlier unconfirmed one) and returns the
otpauth://URI to show as a QR code. - EnrollTotpUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.EnrollTotpUseCase
- enrolmentQueries - Variable in class com.irurueta.authserver.authorization.application.mfa.HasConfirmedSecondFactorUseCase
-
One query per second factor.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties.Cleanup
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.keys.SigningKeysRotatedEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.sms.PhoneEnrolmentStarted
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
Indicates whether some other object is "equal to" this one.
- eventPublisher - Variable in class com.irurueta.authserver.authorization.application.ott.RequestMagicLinkUseCase
-
Publishes the delivery request.
- eventPublisher - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Publishes the request of an e-mail delivery.
- eventPublisher - Variable in class com.irurueta.authserver.authorization.application.sms.SendSmsOneTimeCodeUseCase
-
Publishes the request to send the message.
- execute() - Method in class com.irurueta.authserver.authorization.application.account.CleanExpiredAccountTokensUseCase
-
Deletes the expired account tokens.
- execute() - Method in class com.irurueta.authserver.authorization.application.clientauth.PurgeClientAssertionsUseCase
-
Runs the purge.
- execute() - Method in class com.irurueta.authserver.authorization.application.clients.ListClientsUseCase
-
Lists the clients.
- execute() - Method in class com.irurueta.authserver.authorization.application.keys.ActiveSigningKeyUseCase
-
Finds the active key.
- execute() - Method in class com.irurueta.authserver.authorization.application.keys.ListSigningKeysUseCase
-
Lists the keys.
- execute() - Method in class com.irurueta.authserver.authorization.application.keys.PublishedSigningKeysUseCase
-
Finds the keys to publish.
- execute() - Method in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Does whatever the key lifecycle requires at the current instant: the scheduled path, which only rotates a key that has signed for the whole rotation interval.
- execute() - Method in class com.irurueta.authserver.authorization.application.mfa.CleanExpiredTrustedDevicesUseCase
-
Deletes the expired devices.
- execute() - Method in class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
-
Runs the cleanup.
- execute() - Method in class com.irurueta.authserver.authorization.application.tokens.CleanExpiredAuthorizationsUseCase
-
Deletes the expired and the abandoned authorizations.
- execute(ClientAssertionUse) - Method in class com.irurueta.authserver.authorization.application.clientauth.RegisterClientAssertionUseCase
-
Registers the use of an assertion.
- execute(ClientRegistration) - Method in class com.irurueta.authserver.authorization.application.clients.CreateClientUseCase
-
Registers a client.
- execute(ClientRegistration) - Method in class com.irurueta.authserver.authorization.application.clients.UpdateClientUseCase
-
Updates a client.
- execute(SecurityEventType, UUID, String, String) - Method in class com.irurueta.authserver.authorization.application.mfa.RecordSecurityEventUseCase
-
Records an event that happened now.
- execute(PhoneNumber, String) - Method in class com.irurueta.authserver.authorization.application.sms.SendSmsOneTimeCodeUseCase
-
Reserves the cost of a message and requests it.
- execute(IdentityProvider, String, String, boolean) - Method in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Resolves a sign-in.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
Requests a password reset.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.account.VerifyEmailUseCase
-
Verifies the e-mail address the token was issued for.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.clients.DeleteClientUseCase
-
Deletes a client.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.clients.GetClientUseCase
-
Finds a client.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.clients.RotateClientSecretUseCase
-
Rotates the secret of a client.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.mfa.IsClientMfaRequiredUseCase
-
Tells whether a client requires a second factor.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.mfa.IsUserMfaRequiredUseCase
-
Tells whether an account requires a second factor.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.passkeys.ListPasskeysUseCase
-
Lists the passkeys of an account, oldest first.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.password.FindUserAccountUseCase
-
Finds the account of a user.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.tokens.RevokeUserAuthorizationsUseCase
-
Deletes the authorizations granted to a user.
- execute(String) - Method in class com.irurueta.authserver.authorization.application.x509.ResolveCertificateLoginUseCase
-
Finds the account a certificate is bound to.
- execute(String, OttChannel) - Method in class com.irurueta.authserver.authorization.application.ott.ResolveOttDestinationUseCase
-
Resolves the destination of a user.
- execute(String, OttChannel, OttPurpose, String) - Method in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Requests a code.
- execute(String, String) - Method in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Resets the password of the user the token was issued to.
- execute(String, String) - Method in class com.irurueta.authserver.authorization.application.mfa.FindTrustedDeviceUseCase
-
Finds the device.
- execute(String, String, String) - Method in class com.irurueta.authserver.authorization.application.account.ChangePasswordUseCase
-
Changes the password of a user.
- execute(String, String, String) - Method in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Registers an account.
- execute(String, String, String) - Method in class com.irurueta.authserver.authorization.application.passkeys.RenamePasskeyUseCase
-
Renames a passkey; a passkey of another account is never touched.
- execute(String, String, String, OttPurpose, Set<OttChannel>) - Method in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Verifies a code.
- execute(String, URI) - Method in class com.irurueta.authserver.authorization.application.ott.RequestMagicLinkUseCase
-
Requests the delivery of a link.
- execute(List<ClientRegistration>, Map<String, String>) - Method in class com.irurueta.authserver.authorization.application.clients.SeedRegisteredClientsUseCase
-
Registers the missing clients among the given definitions.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.mfa.CheckSecondFactorLockoutUseCase
-
Checks the lockout of a user.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.mfa.HasConfirmedSecondFactorUseCase
-
Tells whether a user has confirmed a second factor.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.mfa.ListTrustedDevicesUseCase
-
Lists the devices.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.mfa.ResetSecondFactorFailuresUseCase
-
Clears the counter and any lockout of a user.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.passkeys.HasConfirmedPasskeyUseCase
-
Tells whether a user has at least one passkey.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.sms.FindUserPhoneUseCase
-
Finds the verified phone of a user.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.sms.HasVerifiedPhoneUseCase
-
Tells whether a user has a verified phone.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.social.ListIdentitiesUseCase
-
Lists the identities of an account, oldest link first.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.social.LockSignInMethodsUseCase
-
Locks the sign-in methods of an account and counts them.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.totp.CountRecoveryCodesUseCase
-
Counts the unused codes.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.totp.GenerateRecoveryCodesUseCase
-
Generates the codes.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.totp.IsTotpEnabledUseCase
-
Tells whether a user has a confirmed authenticator app.
- execute(UUID) - Method in class com.irurueta.authserver.authorization.application.x509.ListCertificatesUseCase
-
Lists the certificates of an account, oldest first.
- execute(UUID, String) - Method in class com.irurueta.authserver.authorization.application.mfa.RegisterSecondFactorFailureUseCase
-
Registers a failed attempt.
- execute(UUID, String) - Method in class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
-
Removes the phone and any pending verification of a user.
- execute(UUID, String) - Method in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Starts the enrolment.
- execute(UUID, String) - Method in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
-
Confirms the enrolment.
- execute(UUID, String) - Method in class com.irurueta.authserver.authorization.application.totp.DisableTotpUseCase
-
Disables TOTP.
- execute(UUID, String) - Method in class com.irurueta.authserver.authorization.application.totp.EnrollTotpUseCase
-
Starts the enrolment.
- execute(UUID, String, IdentityProvider, String, String) - Method in class com.irurueta.authserver.authorization.application.social.LinkIdentityUseCase
-
Links an identity to an account.
- execute(UUID, String, String) - Method in class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
-
Trusts a device.
- execute(UUID, String, String) - Method in class com.irurueta.authserver.authorization.application.passkeys.DeletePasskeyUseCase
-
Deletes a passkey; a passkey of another account is never touched.
- execute(UUID, String, String) - Method in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Confirms the phone of a user.
- execute(UUID, String, String) - Method in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpAtSignInUseCase
-
Confirms the enrolment with the first code of the authenticator app.
- execute(UUID, String, String) - Method in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Verifies and consumes a recovery code.
- execute(UUID, String, String) - Method in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Verifies a code.
- execute(UUID, String, String, String) - Method in class com.irurueta.authserver.authorization.application.x509.BindCertificateUseCase
-
Binds a certificate to an account.
- execute(UUID, String, UUID) - Method in class com.irurueta.authserver.authorization.application.mfa.RevokeTrustedDeviceUseCase
-
Revokes a device; a device of another user is never touched.
- execute(UUID, String, UUID) - Method in class com.irurueta.authserver.authorization.application.social.UnlinkIdentityUseCase
-
Unlinks an identity; an identity of another account is never touched.
- execute(UUID, String, UUID) - Method in class com.irurueta.authserver.authorization.application.x509.UnbindCertificateUseCase
-
Unbinds a certificate; a certificate of another account is never touched.
- executeForced() - Method in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Rotates now, whatever the age of the active key: the active key is retired, the next key promoted and a new next key generated (for example after a suspected key compromise).
- EXISTING - Enum constant in enum class com.irurueta.authserver.authorization.application.social.FederatedLoginOutcome
-
The identity was already linked to the account.
- expiredLinkTokenPurger - Variable in class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
-
Port that removes the expired magic-link tokens.
- expiresIn - Variable in record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
The field for the
expiresInrecord component. - expiresIn - Variable in record class com.irurueta.authserver.authorization.application.sms.PhoneEnrolmentStarted
-
The field for the
expiresInrecord component. - expiresIn() - Method in record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
Returns the value of the
expiresInrecord component. - expiresIn() - Method in record class com.irurueta.authserver.authorization.application.sms.PhoneEnrolmentStarted
-
Returns the value of the
expiresInrecord component.
F
- failure() - Static method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Returns the result of a rejected code.
- FAILURE - Enum constant in enum class com.irurueta.authserver.authorization.application.ott.OttVerificationResult.Status
-
The code was wrong, expired, burnt or already used.
- FAILURE - Static variable in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Result of a wrong, expired, burnt or already used code.
- federatedIdentityRepository - Variable in class com.irurueta.authserver.authorization.application.social.LinkIdentityUseCase
-
Port that stores the links.
- federatedIdentityRepository - Variable in class com.irurueta.authserver.authorization.application.social.ListIdentitiesUseCase
-
Port that stores the links.
- federatedIdentityRepository - Variable in class com.irurueta.authserver.authorization.application.social.LockSignInMethodsUseCase
-
Port that stores the links.
- federatedIdentityRepository - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Port that stores the links.
- federatedIdentityRepository - Variable in class com.irurueta.authserver.authorization.application.social.UnlinkIdentityUseCase
-
Port that stores the links.
- federatedLinkingPolicy - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Rules of linking and provisioning.
- federatedLinkingPolicy - Variable in class com.irurueta.authserver.authorization.application.social.UnlinkIdentityUseCase
-
Rules of linking and unlinking.
- federatedLinkingPolicy - Variable in class com.irurueta.authserver.authorization.application.x509.UnbindCertificateUseCase
-
Rules of removing a sign-in method.
- federatedLinkingPolicy() - Method in class com.irurueta.authserver.authorization.application.social.SocialConfiguration
-
Builds the linking policy.
- FederatedLogin - Record Class in com.irurueta.authserver.authorization.application.social
-
The account a sign-in with an external provider resolved to.
- FederatedLogin(UserAccount, FederatedIdentity, FederatedLoginOutcome) - Constructor for record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
Creates an instance of a
FederatedLoginrecord class. - FederatedLoginOutcome - Enum Class in com.irurueta.authserver.authorization.application.social
-
How a sign-in with an external provider found its account.
- FederatedLoginOutcome() - Constructor for enum class com.irurueta.authserver.authorization.application.social.FederatedLoginOutcome
- FindTrustedDeviceUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that finds the usable (not revoked, not expired) trusted device of a user from the value of the cookie.
- FindTrustedDeviceUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.FindTrustedDeviceUseCase
- findUserAccountUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.ResolveOttDestinationUseCase
-
Use case that finds an account.
- findUserAccountUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Use case that finds the account of the user.
- FindUserAccountUseCase - Class in com.irurueta.authserver.authorization.application.password
-
Use case that looks a user account up by username.
- FindUserAccountUseCase() - Constructor for class com.irurueta.authserver.authorization.application.password.FindUserAccountUseCase
- FindUserPhoneUseCase - Class in com.irurueta.authserver.authorization.application.sms
-
Finds the verified phone of a user, which the account API shows masked.
- FindUserPhoneUseCase() - Constructor for class com.irurueta.authserver.authorization.application.sms.FindUserPhoneUseCase
- FINGERPRINT - Static variable in class com.irurueta.authserver.authorization.application.x509.ResolveCertificateLoginUseCase
-
Shape of a fingerprint: 64 lower case hexadecimal digits.
- first(List<SigningKey>, SigningKeyStatus) - Static method in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Finds the first key in a state.
G
- generate() - Method in class com.irurueta.authserver.authorization.application.clients.ClientSecretGenerator
-
Generates an unguessable URL-safe secret.
- generate(int) - Method in class com.irurueta.authserver.authorization.application.ott.SecureRandomOneTimeCodeGenerator
-
Generates a code.
- generatedPasswordRepository - Variable in class com.irurueta.authserver.authorization.application.social.LockSignInMethodsUseCase
-
Port that remembers the accounts that only hold a generated password.
- generatedPasswordRepository - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Port that remembers the accounts that only hold a generated password.
- generateRecoveryCodesUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
-
Use case that creates the recovery codes.
- GenerateRecoveryCodesUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that creates a fresh set of recovery codes for a user, replacing any previous set.
- GenerateRecoveryCodesUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.GenerateRecoveryCodesUseCase
- GetClientUseCase - Class in com.irurueta.authserver.authorization.application.clients
-
Use case that looks a client up by its identifier.
- GetClientUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clients.GetClientUseCase
H
- hasConfirmed(UUID) - Method in interface com.irurueta.authserver.authorization.application.mfa.SecondFactorEnrolmentQuery
-
Tells whether a user has confirmed this second factor.
- hasConfirmed(UUID) - Method in class com.irurueta.authserver.authorization.application.passkeys.HasConfirmedPasskeyUseCase
-
Tells whether a user has confirmed the passkey second factor.
- hasConfirmed(UUID) - Method in class com.irurueta.authserver.authorization.application.sms.HasVerifiedPhoneUseCase
-
Tells whether a user has confirmed the SMS second factor.
- hasConfirmed(UUID) - Method in class com.irurueta.authserver.authorization.application.totp.IsTotpEnabledUseCase
-
Tells whether a user has confirmed the TOTP second factor.
- HasConfirmedPasskeyUseCase - Class in com.irurueta.authserver.authorization.application.passkeys
-
Use case that tells whether a user has registered a passkey.
- HasConfirmedPasskeyUseCase() - Constructor for class com.irurueta.authserver.authorization.application.passkeys.HasConfirmedPasskeyUseCase
- hasConfirmedSecondFactorUseCase - Variable in class com.irurueta.authserver.authorization.application.mfa.IsUserMfaRequiredUseCase
-
Use case that tells whether the user has confirmed a second factor.
- hasConfirmedSecondFactorUseCase - Variable in class com.irurueta.authserver.authorization.application.passkeys.DeletePasskeyUseCase
-
Use case telling whether the user still has a confirmed second factor.
- hasConfirmedSecondFactorUseCase - Variable in class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
-
Use case telling whether the user still has a confirmed second factor.
- hasConfirmedSecondFactorUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.GenerateRecoveryCodesUseCase
-
Use case that tells whether the user has confirmed a second factor.
- hasConfirmedSecondFactorUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Use case that tells whether the user has confirmed a second factor.
- HasConfirmedSecondFactorUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that tells whether a user has confirmed any second factor, asking every
SecondFactorEnrolmentQuerybean. - HasConfirmedSecondFactorUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.HasConfirmedSecondFactorUseCase
- hash(String) - Method in class com.irurueta.authserver.authorization.application.mfa.TrustedDeviceTokens
-
Hashes a token.
- hash(String) - Method in class com.irurueta.authserver.authorization.application.ott.Sha256OneTimeCodeHasher
-
Hashes a code.
- HASH_ALGORITHM - Static variable in class com.irurueta.authserver.authorization.application.mfa.TrustedDeviceTokens
-
Name of the hash algorithm.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties.Cleanup
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.keys.SigningKeysRotatedEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.sms.PhoneEnrolmentStarted
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
Returns a hash code value for this object.
- HasVerifiedPhoneUseCase - Class in com.irurueta.authserver.authorization.application.sms
-
Tells whether a user has a verified phone.
- HasVerifiedPhoneUseCase() - Constructor for class com.irurueta.authserver.authorization.application.sms.HasVerifiedPhoneUseCase
I
- identity - Variable in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
The field for the
identityrecord component. - identity() - Method in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
Returns the value of the
identityrecord component. - InvalidPhoneNumberException - Exception Class in com.irurueta.authserver.authorization.application.sms
-
Thrown when the text typed as a phone number is not a valid number.
- InvalidPhoneNumberException() - Constructor for exception class com.irurueta.authserver.authorization.application.sms.InvalidPhoneNumberException
-
Creates the exception.
- IsClientMfaRequiredUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that tells whether a client makes multi-factor authentication mandatory for every user signing in through it (
ClientRegistration.mfaRequired()). - IsClientMfaRequiredUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.IsClientMfaRequiredUseCase
- isDue(SigningKey, Instant) - Method in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Tells whether the active key has signed for the whole rotation interval.
- isExpired(SigningKey, Instant, Duration) - Static method in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Tells whether a retired key has been retired for longer than the retention.
- isSuccess() - Method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Tells whether the code was accepted.
- IsTotpEnabledUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that tells whether a user has a confirmed authenticator app.
- IsTotpEnabledUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.IsTotpEnabledUseCase
- IsUserMfaRequiredUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that tells whether the account of a user requires a second factor, whatever the client being served: when an administrator forced it (
users.mfa_required) or when the user has confirmed a second factor (asked toHasConfirmedSecondFactorUseCase), since a factor the user enrolled must protect every sign-in. - IsUserMfaRequiredUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.IsUserMfaRequiredUseCase
L
- ledgerEntries - Variable in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
The field for the
ledgerEntriesrecord component. - ledgerEntries() - Method in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Returns the value of the
ledgerEntriesrecord component. - ledgerRetention - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
ledgerRetentionrecord component. - ledgerRetention() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
ledgerRetentionrecord component. - link - Variable in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
The field for the
linkrecord component. - link() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
Returns the value of the
linkrecord component. - link(UserAccount, IdentityProvider, String, String, Instant) - Method in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Links an identity to an account and audits it.
- LINKED - Enum constant in enum class com.irurueta.authserver.authorization.application.social.FederatedLoginOutcome
-
The identity was linked to an existing account that has the same verified e-mail address.
- LinkIdentityUseCase - Class in com.irurueta.authserver.authorization.application.social
-
Use case that links an identity of an external provider to the account of a signed-in user.
- LinkIdentityUseCase() - Constructor for class com.irurueta.authserver.authorization.application.social.LinkIdentityUseCase
- linkTokens - Variable in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
The field for the
linkTokensrecord component. - linkTokens() - Method in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Returns the value of the
linkTokensrecord component. - linkTtl - Variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
The field for the
linkTtlrecord component. - linkTtl() - Method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Returns the value of the
linkTtlrecord component. - ListCertificatesUseCase - Class in com.irurueta.authserver.authorization.application.x509
-
Use case that lists the client certificates bound to an account.
- ListCertificatesUseCase() - Constructor for class com.irurueta.authserver.authorization.application.x509.ListCertificatesUseCase
- ListClientsUseCase - Class in com.irurueta.authserver.authorization.application.clients
-
Use case that lists every registered client.
- ListClientsUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clients.ListClientsUseCase
- ListIdentitiesUseCase - Class in com.irurueta.authserver.authorization.application.social
-
Use case that lists the identities of external providers linked to an account.
- ListIdentitiesUseCase() - Constructor for class com.irurueta.authserver.authorization.application.social.ListIdentitiesUseCase
- ListPasskeysUseCase - Class in com.irurueta.authserver.authorization.application.passkeys
-
Use case that lists the passkeys of a user.
- ListPasskeysUseCase() - Constructor for class com.irurueta.authserver.authorization.application.passkeys.ListPasskeysUseCase
- ListSigningKeysUseCase - Class in com.irurueta.authserver.authorization.application.keys
-
Use case that lists every stored signing key, whatever its state, for administration.
- ListSigningKeysUseCase() - Constructor for class com.irurueta.authserver.authorization.application.keys.ListSigningKeysUseCase
- ListTrustedDevicesUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that lists the trusted devices of a user that have not expired.
- ListTrustedDevicesUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.ListTrustedDevicesUseCase
- locked() - Static method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Returns the result of a locked second factor.
- LOCKED - Enum constant in enum class com.irurueta.authserver.authorization.application.ott.OttVerificationResult.Status
-
The second factor of the user is locked after too many failures.
- LOCKED - Static variable in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Result when the second factor of the user is locked.
- lockout - Variable in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
The field for the
lockoutrecord component. - lockout() - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Returns the value of the
lockoutrecord component. - lockSignInMethodsUseCase - Variable in class com.irurueta.authserver.authorization.application.social.UnlinkIdentityUseCase
-
Locks and counts the sign-in methods of the account.
- lockSignInMethodsUseCase - Variable in class com.irurueta.authserver.authorization.application.x509.UnbindCertificateUseCase
-
Locks and counts the sign-in methods of the account.
- LockSignInMethodsUseCase - Class in com.irurueta.authserver.authorization.application.social
-
Use case that locks the sign-in methods of an account for the rest of the caller's transaction and counts them: a password its owner knows (not a generated one), the linked identities, a passkey and the bound certificates.
- LockSignInMethodsUseCase() - Constructor for class com.irurueta.authserver.authorization.application.social.LockSignInMethodsUseCase
- LOW_THRESHOLD - Static variable in class com.irurueta.authserver.authorization.application.totp.CountRecoveryCodesUseCase
-
Number of unused codes at or below which the user is warned to generate new ones.
M
- matches(String, String) - Method in class com.irurueta.authserver.authorization.application.ott.Sha256OneTimeCodeHasher
-
Tells whether a code produces a hash, in constant time.
- MAX_LABEL_LENGTH - Static variable in class com.irurueta.authserver.authorization.application.passkeys.RenamePasskeyUseCase
-
Longest label accepted, in characters.
- MAX_USERNAME_LENGTH - Static variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Longest username the
userstable accepts. - maxAttempts - Variable in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
The field for the
maxAttemptsrecord component. - maxAttempts() - Method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Returns the value of the
maxAttemptsrecord component. - maxFailedAttempts - Variable in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
The field for the
maxFailedAttemptsrecord component. - maxFailedAttempts() - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Returns the value of the
maxFailedAttemptsrecord component. - maxLifetime - Variable in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
The field for the
maxLifetimerecord component. - maxLifetime() - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
Returns the value of the
maxLifetimerecord component. - MfaConfiguration - Class in com.irurueta.authserver.authorization.application.mfa
-
Exposes the domain collaborators of the multi-factor use cases as beans, so no use case creates them and a deployment (or a test) can replace any of them, and binds the
MfaProperties. - MfaConfiguration() - Constructor for class com.irurueta.authserver.authorization.application.mfa.MfaConfiguration
- mfaPolicy() - Method in class com.irurueta.authserver.authorization.application.mfa.MfaConfiguration
-
Builds the policy that decides which factors are enough and when a second factor is required.
- mfaProperties - Variable in class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
-
Multi-factor settings: how long a device stays trusted.
- mfaProperties - Variable in class com.irurueta.authserver.authorization.application.mfa.RegisterSecondFactorFailureUseCase
-
Multi-factor settings: consecutive failures that lock the second factor and how long it stays locked.
- mfaProperties - Variable in class com.irurueta.authserver.authorization.application.totp.EnrollTotpUseCase
-
Multi-factor settings: the issuer shown by the authenticator app.
- MfaProperties - Record Class in com.irurueta.authserver.authorization.application.mfa
-
Multi-factor settings, bound once from
authserver.mfa.*and injected wherever one of them is needed (the use cases of this module and the step-up guard of the API). - MfaProperties(int, Duration, Duration, String, Duration) - Constructor for record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Validates the settings.
N
- newCode() - Method in class com.irurueta.authserver.authorization.application.totp.RecoveryCodes
-
Creates a new random code.
- newToken() - Method in class com.irurueta.authserver.authorization.application.mfa.TrustedDeviceTokens
-
Creates a new random token.
- normalize(String) - Method in class com.irurueta.authserver.authorization.application.totp.RecoveryCodes
-
Normalizes a typed code: upper case, without separators, and with the look-alike letters Crockford maps (
Oto0,IandLto1). - numberOrDefault(int, int, String) - Static method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Keeps a positive number, replaces zero by its default and rejects a negative one.
O
- oneTimeCodeGenerator - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Generator of codes.
- oneTimeCodeGenerator - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Generator of the verification code.
- oneTimeCodeGenerator() - Method in class com.irurueta.authserver.authorization.application.ott.OttConfiguration
-
Builds the generator of codes.
- oneTimeCodeHasher - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Hasher of codes.
- oneTimeCodeHasher - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Hasher of codes.
- oneTimeCodeHasher - Variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Hasher of the verification code.
- oneTimeCodeHasher - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Hasher of the verification code.
- oneTimeCodeHasher() - Method in class com.irurueta.authserver.authorization.application.ott.OttConfiguration
-
Builds the hasher of codes.
- oneTimeCodeRepository - Variable in class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
-
Port that stores the codes.
- oneTimeCodeRepository - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Port that stores the codes.
- oneTimeCodeRepository - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Port that stores the codes.
- OneTimeCodeRequestResult - Record Class in com.irurueta.authserver.authorization.application.ott
-
Outcome of a request for a one-time code.
- OneTimeCodeRequestResult(boolean, Duration) - Constructor for record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
Creates an instance of a
OneTimeCodeRequestResultrecord class. - OttCleanupResult - Record Class in com.irurueta.authserver.authorization.application.ott
-
Number of rows removed by a cleanup run.
- OttCleanupResult(int, int, int, int) - Constructor for record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Creates an instance of a
OttCleanupResultrecord class. - OttConfiguration - Class in com.irurueta.authserver.authorization.application.ott
-
Declares the collaborators of the one-time-code use cases as beans, so they can be replaced and mocked.
- OttConfiguration() - Constructor for class com.irurueta.authserver.authorization.application.ott.OttConfiguration
- ottDelivery - Variable in class com.irurueta.authserver.authorization.application.ott.DeliverOneTimeTokenUseCase
-
Port that delivers e-mail.
- OttDestination - Record Class in com.irurueta.authserver.authorization.application.ott
-
Where a one-time code of a user is delivered.
- OttDestination(UUID, OttChannel, String) - Constructor for record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
Validates the destination.
- ottPolicy - Variable in class com.irurueta.authserver.authorization.application.ott.RequestMagicLinkUseCase
-
Policy of the tokens, which sets the lifetime shown with the link.
- ottPolicy - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Policy of the codes.
- ottPolicy - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Policy of the codes.
- ottPolicy(OttProperties) - Method in class com.irurueta.authserver.authorization.application.ott.OttConfiguration
-
Builds the policy of the one-time codes.
- OttProperties - Record Class in com.irurueta.authserver.authorization.application.ott
-
Settings of the one-time codes, bound from
authserver.ott.*once and validated at startup. - OttProperties(int, Duration, Duration, int) - Constructor for record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Applies the defaults and validates the settings.
- OttVerificationResult - Record Class in com.irurueta.authserver.authorization.application.ott
-
Outcome of the verification of a one-time code.
- OttVerificationResult(OttVerificationResult.Status, OttChannel) - Constructor for record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Creates an instance of a
OttVerificationResultrecord class. - OttVerificationResult.Status - Enum Class in com.irurueta.authserver.authorization.application.ott
-
What happened when a code was verified.
- outcome - Variable in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
The field for the
outcomerecord component. - outcome() - Method in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
Returns the value of the
outcomerecord component.
P
- parseUserId(String) - Static method in class com.irurueta.authserver.authorization.application.account.VerifyEmailUseCase
-
Parses the subject of a verified token.
- PasskeyConfiguration - Class in com.irurueta.authserver.authorization.application.passkeys
-
Binds the
PasskeyProperties. - PasskeyConfiguration() - Constructor for class com.irurueta.authserver.authorization.application.passkeys.PasskeyConfiguration
- PasskeyProperties - Record Class in com.irurueta.authserver.authorization.application.passkeys
-
Relying party settings of the passkeys (WebAuthn), bound once from
authserver.passkeys.*and injected wherever one of them is needed. - PasskeyProperties(String, String, List<String>) - Constructor for record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
Validates the settings and copies the origins.
- passkeyRepository - Variable in class com.irurueta.authserver.authorization.application.passkeys.DeletePasskeyUseCase
-
Port that stores the passkeys.
- passkeyRepository - Variable in class com.irurueta.authserver.authorization.application.passkeys.HasConfirmedPasskeyUseCase
-
Port that reads the passkeys.
- passkeyRepository - Variable in class com.irurueta.authserver.authorization.application.passkeys.ListPasskeysUseCase
-
Port that reads the passkeys.
- passkeyRepository - Variable in class com.irurueta.authserver.authorization.application.passkeys.RenamePasskeyUseCase
-
Port that stores the passkeys.
- passkeyRepository - Variable in class com.irurueta.authserver.authorization.application.social.LockSignInMethodsUseCase
-
Port that reads the passkeys.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.account.ChangePasswordUseCase
-
Port that hashes passwords.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Port that hashes passwords.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Port that hashes passwords.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.clients.CreateClientUseCase
-
Port that encodes secrets.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.clients.RotateClientSecretUseCase
-
Port that encodes secrets.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.clients.SeedRegisteredClientsUseCase
-
Port that encodes secrets.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Port that hashes the generated password.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.totp.GenerateRecoveryCodesUseCase
-
Port that hashes the codes like passwords.
- passwordHasher - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Port that hashes the codes like passwords.
- passwordPolicy - Variable in class com.irurueta.authserver.authorization.application.account.ChangePasswordUseCase
-
Rules a new password must follow.
- passwordPolicy - Variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Rules a new password must follow.
- passwordPolicy - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Rules a new password must follow.
- passwordPolicy() - Method in class com.irurueta.authserver.authorization.application.password.PasswordPolicyConfiguration
-
Builds the password policy.
- PasswordPolicyConfiguration - Class in com.irurueta.authserver.authorization.application.password
-
Exposes the domain's
PasswordPolicyas a bean, so the use cases that check a new password depend on the policy instead of creating it, and a deployment can replace it with a policy of its own. - PasswordPolicyConfiguration() - Constructor for class com.irurueta.authserver.authorization.application.password.PasswordPolicyConfiguration
- phoneCountryResolver - Variable in class com.irurueta.authserver.authorization.application.sms.SendSmsOneTimeCodeUseCase
-
Port that finds the country of a number.
- phoneCountryResolver - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Port that finds the country of a number.
- PhoneEnrolmentStarted - Record Class in com.irurueta.authserver.authorization.application.sms
-
Outcome of starting a phone enrolment.
- PhoneEnrolmentStarted(Duration) - Constructor for record class com.irurueta.authserver.authorization.application.sms.PhoneEnrolmentStarted
-
Creates an instance of a
PhoneEnrolmentStartedrecord class. - phoneNormalizer - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Port that normalises the typed number.
- phoneVerificationRepository - Variable in class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
-
Port that stores the pending phone verifications.
- phoneVerificationRepository - Variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Port that stores the pending verification.
- phoneVerificationRepository - Variable in class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
-
Port that stores the pending verifications.
- phoneVerificationRepository - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Port that stores the pending verification.
- phoneVerifications - Variable in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
The field for the
phoneVerificationsrecord component. - phoneVerifications() - Method in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Returns the value of the
phoneVerificationsrecord component. - positiveOrDefault(int, int, String) - Static method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Keeps a positive number, replaces zero by its default and rejects a negative one.
- positiveOrDefault(Duration, Duration, String) - Static method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Keeps a positive duration, replaces a missing or zero one by its default and rejects a negative one.
- provision(IdentityProvider, String) - Method in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Creates an enabled account from the provider's verified e-mail address.
- PROVISIONED - Enum constant in enum class com.irurueta.authserver.authorization.application.social.FederatedLoginOutcome
-
A new account was created from the identity.
- PublishedSigningKeysUseCase - Class in com.irurueta.authserver.authorization.application.keys
-
Use case that finds the keys to publish in the JWKS: the active key, the next key (so relying parties can cache it before it signs) and every retired key whose tokens may still be unexpired.
- PublishedSigningKeysUseCase() - Constructor for class com.irurueta.authserver.authorization.application.keys.PublishedSigningKeysUseCase
- PurgeClientAssertionsUseCase - Class in com.irurueta.authserver.authorization.application.clientauth
-
Deletes the identifiers of the client assertions that already expired.
- PurgeClientAssertionsUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clientauth.PurgeClientAssertionsUseCase
R
- RADIX - Static variable in class com.irurueta.authserver.authorization.application.ott.SecureRandomOneTimeCodeGenerator
-
Number of decimal digits.
- random - Variable in class com.irurueta.authserver.authorization.application.clients.ClientSecretGenerator
-
Source of randomness.
- random - Variable in class com.irurueta.authserver.authorization.application.mfa.TrustedDeviceTokens
-
Source of randomness.
- random - Variable in class com.irurueta.authserver.authorization.application.totp.RecoveryCodes
-
Source of randomness.
- recordSecondFactorOutcome(OttVerificationResult, UserAccount) - Method in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Counts the outcome of a second-factor verification.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.mfa.RegisterSecondFactorFailureUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.mfa.RevokeTrustedDeviceUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.passkeys.DeletePasskeyUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.social.LinkIdentityUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.social.UnlinkIdentityUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpAtSignInUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.DisableTotpUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.x509.BindCertificateUseCase
-
Use case that records the audit events.
- recordSecurityEventUseCase - Variable in class com.irurueta.authserver.authorization.application.x509.UnbindCertificateUseCase
-
Use case that records the audit events.
- RecordSecurityEventUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that records a security event (login, second factor, lockout, trusted device) in the audit log.
- RecordSecurityEventUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.RecordSecurityEventUseCase
- recoveryCodeRepository - Variable in class com.irurueta.authserver.authorization.application.totp.CountRecoveryCodesUseCase
-
Port that stores the recovery codes.
- recoveryCodeRepository - Variable in class com.irurueta.authserver.authorization.application.totp.DisableTotpUseCase
-
Port that stores the recovery codes.
- recoveryCodeRepository - Variable in class com.irurueta.authserver.authorization.application.totp.GenerateRecoveryCodesUseCase
-
Port that stores the recovery codes.
- recoveryCodeRepository - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Port that stores the recovery codes.
- recoveryCodes - Variable in class com.irurueta.authserver.authorization.application.totp.GenerateRecoveryCodesUseCase
-
Creator of the codes.
- recoveryCodes - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Normalizer of typed codes.
- RecoveryCodes - Class in com.irurueta.authserver.authorization.application.totp
-
Creates recovery codes (Crockford base-32 alphabet, so no
I,L,OorU) and normalizes what a user types back into that form. - RecoveryCodes() - Constructor for class com.irurueta.authserver.authorization.application.totp.RecoveryCodes
- REFRESH_TOKEN_TTL - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Lifetime of refresh tokens.
- REGION_PATTERN - Static variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Pattern of a region code.
- RegisterAccountUseCase - Class in com.irurueta.authserver.authorization.application.account
-
Use case that registers an account.
- RegisterAccountUseCase() - Constructor for class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
- RegisterClientAssertionUseCase - Class in com.irurueta.authserver.authorization.application.clientauth
-
Records the use of a client assertion and tells whether it is a replay.
- RegisterClientAssertionUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clientauth.RegisterClientAssertionUseCase
- registerSecondFactorFailureUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Use case that counts a failure.
- registerSecondFactorFailureUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpAtSignInUseCase
-
Use case that counts a failure.
- registerSecondFactorFailureUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Use case that counts a failure.
- registerSecondFactorFailureUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Use case that counts a failure.
- RegisterSecondFactorFailureUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that counts a failed second-factor attempt and locks the second factor of the user once
authserver.mfa.max-failed-attemptsconsecutive failures are reached. - RegisterSecondFactorFailureUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.RegisterSecondFactorFailureUseCase
- registration - Variable in record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
The field for the
registrationrecord component. - registration() - Method in record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
Returns the value of the
registrationrecord component. - registry - Variable in class com.irurueta.authserver.authorization.application.clientauth.PurgeClientAssertionsUseCase
-
Port that remembers the accepted assertions.
- registry - Variable in class com.irurueta.authserver.authorization.application.clientauth.RegisterClientAssertionUseCase
-
Port that remembers the accepted assertions.
- RemovePhoneUseCase - Class in com.irurueta.authserver.authorization.application.sms
-
Removes the phone of a user, verified and pending.
- RemovePhoneUseCase() - Constructor for class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
- RenamePasskeyUseCase - Class in com.irurueta.authserver.authorization.application.passkeys
-
Use case that renames a passkey of a user.
- RenamePasskeyUseCase() - Constructor for class com.irurueta.authserver.authorization.application.passkeys.RenamePasskeyUseCase
- REPLACED_DETAIL - Static variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Start of the detail of the audit event of a replaced phone, followed by the number of revoked devices.
- replaceHash(UserAccount, String) - Method in class com.irurueta.authserver.authorization.application.password.UpgradePasswordHashUseCase
-
Stores a password hash that was already produced by the current algorithm, as the authentication framework does after a sign-in (it re-encodes the verified clear-text password itself).
- requestDelivery(OttDestination, String, Duration) - Method in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Requests the delivery of a code, swallowing an SMS refusal so that it cannot be told apart from success.
- RequestMagicLinkUseCase - Class in com.irurueta.authserver.authorization.application.ott
-
Sends a magic link to the verified e-mail address of an enabled account.
- RequestMagicLinkUseCase() - Constructor for class com.irurueta.authserver.authorization.application.ott.RequestMagicLinkUseCase
- RequestOneTimeCodeUseCase - Class in com.irurueta.authserver.authorization.application.ott
-
Sends a one-time code to a user, by e-mail or SMS.
- RequestOneTimeCodeUseCase() - Constructor for class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
- RequestPasswordResetUseCase - Class in com.irurueta.authserver.authorization.application.account
-
Use case that starts a password reset.
- RequestPasswordResetUseCase() - Constructor for class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
- requireMaySignIn(UserAccount) - Method in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Refuses an account that may not sign in, before anything is linked, updated or audited.
- requireNotCompromised(String) - Method in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Rejects a compromised password.
- requireNotNegative(Long, String) - Static method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Rejects a negative amount.
- requirePolicy(String, String) - Method in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Rejects a password that breaks the policy.
- requirePositive(Duration, String) - Static method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Rejects a missing or non-positive duration.
- requireRegion(String, String) - Static method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Rejects a value that is not an upper-case ISO region code.
- RESET_TTL - Static variable in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
How long a reset token stays valid.
- ResetPasswordUseCase - Class in com.irurueta.authserver.authorization.application.account
-
Use case that chooses a new password with the single-use token received by e-mail.
- ResetPasswordUseCase() - Constructor for class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
- resetSecondFactorFailuresUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
-
Use case that clears the failures.
- resetSecondFactorFailuresUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpAtSignInUseCase
-
Use case that clears the failures.
- resetSecondFactorFailuresUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
-
Use case that clears the failures.
- resetSecondFactorFailuresUseCase - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Use case that clears the failures.
- ResetSecondFactorFailuresUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that clears the failed second-factor attempts of a user, after a successful verification.
- ResetSecondFactorFailuresUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.ResetSecondFactorFailuresUseCase
- ResolveCertificateLoginUseCase - Class in com.irurueta.authserver.authorization.application.x509
-
Use case that resolves a client certificate, presented over TLS or by a trusted proxy, to the account it is bound to.
- ResolveCertificateLoginUseCase() - Constructor for class com.irurueta.authserver.authorization.application.x509.ResolveCertificateLoginUseCase
- ResolveFederatedLoginUseCase - Class in com.irurueta.authserver.authorization.application.social
-
Use case that resolves a sign-in with an external provider to a local account.
- ResolveFederatedLoginUseCase() - Constructor for class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
- resolveOttDestinationUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.RequestMagicLinkUseCase
-
Use case that finds the e-mail address of the account.
- resolveOttDestinationUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Use case that finds where the code is delivered.
- ResolveOttDestinationUseCase - Class in com.irurueta.authserver.authorization.application.ott
-
Finds where a one-time code of a user may be delivered: the verified e-mail address or the verified phone of an enabled account.
- ResolveOttDestinationUseCase() - Constructor for class com.irurueta.authserver.authorization.application.ott.ResolveOttDestinationUseCase
- RESOURCE_SERVER_AUDIENCE - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Audience of the resource server.
- RevokeTrustedDeviceUseCase - Class in com.irurueta.authserver.authorization.application.mfa
-
Use case that revokes a trusted device of a user, so it asks for the second factor again.
- RevokeTrustedDeviceUseCase() - Constructor for class com.irurueta.authserver.authorization.application.mfa.RevokeTrustedDeviceUseCase
- revokeUserAuthorizationsUseCase - Variable in class com.irurueta.authserver.authorization.application.account.ChangePasswordUseCase
-
Use case that revokes the tokens of the user.
- revokeUserAuthorizationsUseCase - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Use case that revokes the tokens of the user.
- RevokeUserAuthorizationsUseCase - Class in com.irurueta.authserver.authorization.application.tokens
-
Use case that revokes every token of a user, for example after a password change or reset.
- RevokeUserAuthorizationsUseCase() - Constructor for class com.irurueta.authserver.authorization.application.tokens.RevokeUserAuthorizationsUseCase
- rotate(Instant, boolean, Duration) - Method in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Applies the lifecycle transitions that are due, or forced.
- RotateClientSecretUseCase - Class in com.irurueta.authserver.authorization.application.clients
-
Use case that replaces the secret of a client that authenticates with a client secret with a new generated one.
- RotateClientSecretUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clients.RotateClientSecretUseCase
- rotatedAt - Variable in record class com.irurueta.authserver.authorization.application.keys.SigningKeysRotatedEvent
-
The field for the
rotatedAtrecord component. - rotatedAt() - Method in record class com.irurueta.authserver.authorization.application.keys.SigningKeysRotatedEvent
-
Returns the value of the
rotatedAtrecord component. - RotateSigningKeysUseCase - Class in com.irurueta.authserver.authorization.application.keys
-
Use case that keeps the signing keys rotating.
- RotateSigningKeysUseCase() - Constructor for class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
- rotationInterval - Variable in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
How long a key signs before it is replaced (
authserver.keys.rotation-interval, default 30 days). - rpId - Variable in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
The field for the
rpIdrecord component. - rpId() - Method in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
Returns the value of the
rpIdrecord component. - rpName - Variable in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
The field for the
rpNamerecord component. - rpName() - Method in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
Returns the value of the
rpNamerecord component. - run(boolean) - Method in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Applies the lifecycle transitions while holding the rotation lock.
S
- SCOPES - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Scopes of both default clients.
- secondFactorAttemptRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.CheckSecondFactorLockoutUseCase
-
Port that stores the failed-attempt counters.
- secondFactorAttemptRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.RegisterSecondFactorFailureUseCase
-
Port that stores the failed-attempt counters.
- secondFactorAttemptRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.ResetSecondFactorFailuresUseCase
-
Port that stores the failed-attempt counters.
- SecondFactorEnrolmentQuery - Interface in com.irurueta.authserver.authorization.application.mfa
-
Extension point that tells whether a user has confirmed one kind of second factor.
- SECRET_BYTES - Static variable in class com.irurueta.authserver.authorization.application.clients.ClientSecretGenerator
-
Number of random bytes of a secret: 256 bits.
- secretGenerator - Variable in class com.irurueta.authserver.authorization.application.totp.EnrollTotpUseCase
-
Generator of the shared secrets.
- secretGenerator() - Method in class com.irurueta.authserver.authorization.application.mfa.MfaConfiguration
-
Builds the generator of TOTP shared secrets.
- secureRandom - Variable in class com.irurueta.authserver.authorization.application.ott.SecureRandomOneTimeCodeGenerator
-
Source of randomness.
- SecureRandomOneTimeCodeGenerator - Class in com.irurueta.authserver.authorization.application.ott
-
Generates numeric one-time codes with a cryptographically strong random number generator.
- SecureRandomOneTimeCodeGenerator() - Constructor for class com.irurueta.authserver.authorization.application.ott.SecureRandomOneTimeCodeGenerator
- securityEventRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.RecordSecurityEventUseCase
-
Port that stores the security events.
- SeedRegisteredClientsUseCase - Class in com.irurueta.authserver.authorization.application.clients
-
Use case that registers the configured clients (built from
DefaultClientDefinitions) that are missing. - SeedRegisteredClientsUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clients.SeedRegisteredClientsUseCase
- SeedResult - Record Class in com.irurueta.authserver.authorization.application.clients
-
Outcome of seeding the default clients.
- SeedResult(List<String>, List<String>) - Constructor for record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
Creates a result, copying its lists.
- send(PhoneNumber, String) - Method in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Requests the code, swallowing a refusal so that it cannot be told apart from success.
- sendReset(UserAccount, String, String, String) - Method in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
Stores the reset token and mails it.
- sendSmsOneTimeCodeUseCase - Variable in class com.irurueta.authserver.authorization.application.ott.RequestOneTimeCodeUseCase
-
Use case that records the cost of an SMS and requests its delivery.
- sendSmsOneTimeCodeUseCase - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Use case that records the cost of the message and requests it.
- SendSmsOneTimeCodeUseCase - Class in com.irurueta.authserver.authorization.application.sms
-
Requests an SMS inside the cost policy: the country must be served and the spending of the window and of the day, including this message, must stay within their caps.
- SendSmsOneTimeCodeUseCase() - Constructor for class com.irurueta.authserver.authorization.application.sms.SendSmsOneTimeCodeUseCase
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.application.sms.InvalidPhoneNumberException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.application.sms.SmsBudgetExceededException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.application.sms.SmsCountryNotAllowedException
-
Serialization version.
- serialVersionUID - Static variable in exception class com.irurueta.authserver.authorization.application.sms.SmsRefusedException
-
Serialization version.
- Sha256OneTimeCodeHasher - Class in com.irurueta.authserver.authorization.application.ott
-
Hashes one-time codes with SHA-256 (lower-case hex) and compares them in constant time.
- Sha256OneTimeCodeHasher() - Constructor for class com.irurueta.authserver.authorization.application.ott.Sha256OneTimeCodeHasher
- signedTokenLifetimes - Variable in class com.irurueta.authserver.authorization.application.keys.SigningKeyRetention
-
Port that reports the lifetimes of the tokens the clients obtain.
- signedTokenService - Variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Port that issues the verification token.
- signedTokenService - Variable in class com.irurueta.authserver.authorization.application.account.VerifyEmailUseCase
-
Port that verifies the token.
- signIn(FederatedIdentity, String, Instant) - Method in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Signs in the account of an identity that is already linked, remembering the sign-in.
- signingKeyGenerator - Variable in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Port that generates keys.
- signingKeyRepository - Variable in class com.irurueta.authserver.authorization.application.keys.ActiveSigningKeyUseCase
-
Port that stores the keys.
- signingKeyRepository - Variable in class com.irurueta.authserver.authorization.application.keys.ListSigningKeysUseCase
-
Port that stores the keys.
- signingKeyRepository - Variable in class com.irurueta.authserver.authorization.application.keys.PublishedSigningKeysUseCase
-
Port that stores the keys.
- signingKeyRepository - Variable in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Port that stores the keys.
- signingKeyRetention - Variable in class com.irurueta.authserver.authorization.application.keys.PublishedSigningKeysUseCase
-
Decides how long a retired key stays published.
- signingKeyRetention - Variable in class com.irurueta.authserver.authorization.application.keys.RotateSigningKeysUseCase
-
Decides how long a retired key stays published.
- SigningKeyRetention - Class in com.irurueta.authserver.authorization.application.keys
-
Decides how long a retired signing key stays published.
- SigningKeyRetention() - Constructor for class com.irurueta.authserver.authorization.application.keys.SigningKeyRetention
- SigningKeysRotatedEvent - Record Class in com.irurueta.authserver.authorization.application.keys
-
Published after the signing keys have been rotated, so adapters that cache keys can drop what they hold.
- SigningKeysRotatedEvent(Instant) - Constructor for record class com.irurueta.authserver.authorization.application.keys.SigningKeysRotatedEvent
-
Creates an instance of a
SigningKeysRotatedEventrecord class. - signInMethodsLock - Variable in class com.irurueta.authserver.authorization.application.social.LockSignInMethodsUseCase
-
Port that serializes the removals of an account.
- skipped - Variable in record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
The field for the
skippedrecord component. - skipped() - Method in record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
Returns the value of the
skippedrecord component. - SmsBudgetExceededException - Exception Class in com.irurueta.authserver.authorization.application.sms
-
Thrown when an SMS is not sent because it would exceed the spending cap of the window or of the day.
- SmsBudgetExceededException() - Constructor for exception class com.irurueta.authserver.authorization.application.sms.SmsBudgetExceededException
-
Creates the exception.
- SmsConfiguration - Class in com.irurueta.authserver.authorization.application.sms
-
Declares the policy of the SMS channel as a bean.
- SmsConfiguration() - Constructor for class com.irurueta.authserver.authorization.application.sms.SmsConfiguration
- smsCostLedgerRepository - Variable in class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
-
Port that stores the SMS spend.
- smsCostLedgerRepository - Variable in class com.irurueta.authserver.authorization.application.sms.SendSmsOneTimeCodeUseCase
-
Port that records the spend.
- smsCostPolicy - Variable in class com.irurueta.authserver.authorization.application.sms.SendSmsOneTimeCodeUseCase
-
Policy of countries, costs and caps.
- smsCostPolicy(SmsProperties) - Method in class com.irurueta.authserver.authorization.application.sms.SmsConfiguration
-
Builds the policy that decides which countries are served and how much may be spent.
- SmsCountryNotAllowedException - Exception Class in com.irurueta.authserver.authorization.application.sms
-
Thrown when an SMS is not sent because its country is not served, or cannot be determined.
- SmsCountryNotAllowedException() - Constructor for exception class com.irurueta.authserver.authorization.application.sms.SmsCountryNotAllowedException
-
Creates the exception.
- SmsMessages - Class in com.irurueta.authserver.authorization.application.sms
-
Texts of the SMS messages.
- SmsMessages() - Constructor for class com.irurueta.authserver.authorization.application.sms.SmsMessages
-
Hidden constructor of a utility class.
- smsProperties - Variable in class com.irurueta.authserver.authorization.application.ott.CleanupOttUseCase
-
SMS settings, for the retention of the ledger.
- smsProperties - Variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
SMS settings.
- smsProperties - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
SMS settings.
- SmsProperties - Record Class in com.irurueta.authserver.authorization.application.sms
-
Settings of the SMS channel, bound from
authserver.sms.*once and validated at startup. - SmsProperties(String, Set<String>, Map<String, Long>, long, Duration, long, long, int, Duration, int, Duration) - Constructor for record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Applies the defaults and validates the settings.
- SmsRefusedException - Exception Class in com.irurueta.authserver.authorization.application.sms
-
Base of the reasons why an SMS is refused before it is sent.
- SmsRefusedException(String) - Constructor for exception class com.irurueta.authserver.authorization.application.sms.SmsRefusedException
-
Creates the exception.
- SmsRequested - Record Class in com.irurueta.authserver.authorization.application.sms
-
Event published when a text message, whose cost is already recorded within the budget, must be sent.
- SmsRequested(PhoneNumber, String) - Constructor for record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
Validates the event.
- smsSender - Variable in class com.irurueta.authserver.authorization.application.ott.DeliverOneTimeTokenUseCase
-
Port that sends text messages.
- SocialConfiguration - Class in com.irurueta.authserver.authorization.application.social
-
Exposes the domain's
FederatedLinkingPolicyas a bean, so the use cases of social login depend on the policy instead of creating it, and a deployment can replace it with a policy of its own. - SocialConfiguration() - Constructor for class com.irurueta.authserver.authorization.application.social.SocialConfiguration
- SPA_PUBLIC_CLIENT_ID - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Client id of the public single-page application.
- spaPublic(List<String>, String) - Static method in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Defines the
spa-publicclient: public, authorization code with PKCE, no client authentication. - spaPublic(List<String>, String, List<String>) - Static method in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Defines the
spa-publicclient with the URIs it may be sent to after an OpenID Connect RP-initiated logout. - StartPhoneEnrolmentUseCase - Class in com.irurueta.authserver.authorization.application.sms
-
Starts the enrolment of a phone: normalises the number and sends it a verification code.
- StartPhoneEnrolmentUseCase() - Constructor for class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
- status - Variable in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
The field for the
statusrecord component. - status() - Method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Returns the value of the
statusrecord component. - Status() - Constructor for enum class com.irurueta.authserver.authorization.application.ott.OttVerificationResult.Status
- stepUpMaxAge - Variable in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
The field for the
stepUpMaxAgerecord component. - stepUpMaxAge() - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Returns the value of the
stepUpMaxAgerecord component. - success(OttChannel) - Static method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Creates the result of an accepted code.
- SUCCESS - Enum constant in enum class com.irurueta.authserver.authorization.application.ott.OttVerificationResult.Status
-
The code was valid and has been consumed.
T
- text - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
The field for the
textrecord component. - text() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
Returns the value of the
textrecord component. - to - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
The field for the
torecord component. - to() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
Returns the value of the
torecord component. - TOKEN_BYTES - Static variable in class com.irurueta.authserver.authorization.application.mfa.TrustedDeviceTokens
-
Size of a token in bytes (256 bits).
- TOKEN_EXCHANGE_GRANT - Static variable in class com.irurueta.authserver.authorization.application.clients.DefaultClientDefinitions
-
Grant type URN of the OAuth 2.0 token exchange (RFC 8693) that a client needs to exchange tokens.
- tokenGenerator - Variable in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
Port that creates and hashes tokens.
- tokenGenerator - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Port that creates and hashes tokens.
- tokenGenerator - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Port that generates the unguessable secret the generated password is made of.
- toString() - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties.Cleanup
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.clientauth.ClientAssertionProperties
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.clients.CreatedClient
-
Describes the result without the secret, so it never reaches a log.
- toString() - Method in record class com.irurueta.authserver.authorization.application.clients.SeedResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.keys.SigningKeysRotatedEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.mfa.CreatedTrustedDevice
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
Describes the event without the address and the code, so neither ever reaches a log.
- toString() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
Describes the event without the address and the link, so neither ever reaches a log.
- toString() - Method in record class com.irurueta.authserver.authorization.application.ott.OneTimeCodeRequestResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.ott.OttCleanupResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
Describes the destination without the address, so it never reaches a log.
- toString() - Method in record class com.irurueta.authserver.authorization.application.ott.OttProperties
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.ott.OttVerificationResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.passkeys.PasskeyProperties
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.sms.PhoneEnrolmentStarted
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns a string representation of this record class.
- toString() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsRequested
-
Describes the event without the number and the text, so neither ever reaches a log.
- toString() - Method in record class com.irurueta.authserver.authorization.application.social.FederatedLogin
-
Returns a string representation of this record class.
- totpAlgorithm - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
-
The TOTP algorithm.
- totpAlgorithm - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
The TOTP algorithm.
- totpAlgorithm() - Method in class com.irurueta.authserver.authorization.application.mfa.MfaConfiguration
-
Builds the TOTP algorithm (RFC 6238, HMAC-SHA1, 30 seconds, 6 digits).
- totpCredentialRepository - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
-
Port that stores the TOTP credentials.
- totpCredentialRepository - Variable in class com.irurueta.authserver.authorization.application.totp.DisableTotpUseCase
-
Port that stores the TOTP credentials.
- totpCredentialRepository - Variable in class com.irurueta.authserver.authorization.application.totp.EnrollTotpUseCase
-
Port that stores the TOTP credentials.
- totpCredentialRepository - Variable in class com.irurueta.authserver.authorization.application.totp.IsTotpEnabledUseCase
-
Port that stores the TOTP credentials.
- totpCredentialRepository - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Port that stores the TOTP credentials.
- totpIssuer - Variable in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
The field for the
totpIssuerrecord component. - totpIssuer() - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Returns the value of the
totpIssuerrecord component. - totpSecretCipher - Variable in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
-
Port that decrypts the secrets.
- totpSecretCipher - Variable in class com.irurueta.authserver.authorization.application.totp.EnrollTotpUseCase
-
Port that encrypts the secrets at rest.
- totpSecretCipher - Variable in class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
-
Port that decrypts the secrets.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.CleanExpiredTrustedDevicesUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.FindTrustedDeviceUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.ListTrustedDevicesUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.RevokeTrustedDeviceUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.passkeys.DeletePasskeyUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
-
Port that stores the trusted devices.
- trustedDeviceRepository - Variable in class com.irurueta.authserver.authorization.application.totp.DisableTotpUseCase
-
Port that stores the trusted devices.
- trustedDeviceTokens - Variable in class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
-
Creator and hasher of the tokens.
- trustedDeviceTokens - Variable in class com.irurueta.authserver.authorization.application.mfa.FindTrustedDeviceUseCase
-
Creator and hasher of the tokens.
- TrustedDeviceTokens - Class in com.irurueta.authserver.authorization.application.mfa
-
Creates the random tokens that identify a trusted device and hashes them, so only the SHA-256 hash is ever stored.
- TrustedDeviceTokens() - Constructor for class com.irurueta.authserver.authorization.application.mfa.TrustedDeviceTokens
- trustedDeviceTokenSigner - Variable in class com.irurueta.authserver.authorization.application.mfa.CreateTrustedDeviceUseCase
-
Port that signs the cookie value.
- trustedDeviceTokenSigner - Variable in class com.irurueta.authserver.authorization.application.mfa.FindTrustedDeviceUseCase
-
Port that checks the signature of the cookie value.
- trustedDeviceValidity - Variable in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
The field for the
trustedDeviceValidityrecord component. - trustedDeviceValidity() - Method in record class com.irurueta.authserver.authorization.application.mfa.MfaProperties
-
Returns the value of the
trustedDeviceValidityrecord component. - tryConfirm(UUID, String) - Method in class com.irurueta.authserver.authorization.application.totp.ConfirmTotpUseCase
-
Confirms the enrolment, answering a wrong code with an empty result instead of an exception, so that a caller running in the same transaction can still count the failure (an exception leaving a transactional method marks the whole transaction for rollback).
U
- UnbindCertificateUseCase - Class in com.irurueta.authserver.authorization.application.x509
-
Use case that unbinds a client certificate from an account and audits it.
- UnbindCertificateUseCase() - Constructor for class com.irurueta.authserver.authorization.application.x509.UnbindCertificateUseCase
- UnlinkIdentityUseCase - Class in com.irurueta.authserver.authorization.application.social
-
Use case that unlinks an identity of an external provider from an account and audits it.
- UnlinkIdentityUseCase() - Constructor for class com.irurueta.authserver.authorization.application.social.UnlinkIdentityUseCase
- UpdateClientUseCase - Class in com.irurueta.authserver.authorization.application.clients
-
Use case that replaces the settings of a registered client; its secret is kept.
- UpdateClientUseCase() - Constructor for class com.irurueta.authserver.authorization.application.clients.UpdateClientUseCase
- UpgradePasswordHashUseCase - Class in com.irurueta.authserver.authorization.application.password
-
Use case that replaces the stored password hash of a user with one made by the current algorithm, right after a successful sign-in (the only moment the clear-text password is known).
- UpgradePasswordHashUseCase() - Constructor for class com.irurueta.authserver.authorization.application.password.UpgradePasswordHashUseCase
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.account.ChangePasswordUseCase
-
Port that stores the accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
Port that stores the accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.account.RequestPasswordResetUseCase
-
Port that stores the accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.account.ResetPasswordUseCase
-
Port that stores the accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.account.VerifyEmailUseCase
-
Port that stores the accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.FindTrustedDeviceUseCase
-
Port that provides the user accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.IsUserMfaRequiredUseCase
-
Port that provides the user accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.password.FindUserAccountUseCase
-
Port that provides the user accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.password.UpgradePasswordHashUseCase
-
Port that stores the accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.social.ResolveFederatedLoginUseCase
-
Port that stores the accounts.
- userAccountRepository - Variable in class com.irurueta.authserver.authorization.application.x509.ResolveCertificateLoginUseCase
-
Port that stores the accounts.
- userAuthorizationRepository - Variable in class com.irurueta.authserver.authorization.application.tokens.CleanExpiredAuthorizationsUseCase
-
Port that removes stored authorizations.
- userAuthorizationRepository - Variable in class com.irurueta.authserver.authorization.application.tokens.RevokeUserAuthorizationsUseCase
-
Port that removes stored authorizations.
- userId - Variable in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
The field for the
userIdrecord component. - userId() - Method in record class com.irurueta.authserver.authorization.application.ott.OttDestination
-
Returns the value of the
userIdrecord component. - userMfaSettingsRepository - Variable in class com.irurueta.authserver.authorization.application.mfa.IsUserMfaRequiredUseCase
-
Port that stores the per-user multi-factor settings.
- userPhoneRepository - Variable in class com.irurueta.authserver.authorization.application.ott.ResolveOttDestinationUseCase
-
Port that reads the verified phones.
- userPhoneRepository - Variable in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Port that stores the verified phones.
- userPhoneRepository - Variable in class com.irurueta.authserver.authorization.application.sms.FindUserPhoneUseCase
-
Port that reads the verified phones.
- userPhoneRepository - Variable in class com.irurueta.authserver.authorization.application.sms.HasVerifiedPhoneUseCase
-
Port that reads the verified phones.
- userPhoneRepository - Variable in class com.irurueta.authserver.authorization.application.sms.RemovePhoneUseCase
-
Port that stores the verified phones.
- userPhoneRepository - Variable in class com.irurueta.authserver.authorization.application.sms.StartPhoneEnrolmentUseCase
-
Port that reads the verified phones.
V
- validFor - Variable in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
The field for the
validForrecord component. - validFor - Variable in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
The field for the
validForrecord component. - validFor() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailCodeRequested
-
Returns the value of the
validForrecord component. - validFor() - Method in record class com.irurueta.authserver.authorization.application.ott.EmailLinkRequested
-
Returns the value of the
validForrecord component. - valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.application.ott.OttVerificationResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.irurueta.authserver.authorization.application.social.FederatedLoginOutcome
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.irurueta.authserver.authorization.application.ott.OttVerificationResult.Status
-
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.application.social.FederatedLoginOutcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERIFICATION_TTL - Static variable in class com.irurueta.authserver.authorization.application.account.RegisterAccountUseCase
-
How long the e-mailed verification token stays valid.
- verificationCode(String, Duration) - Static method in class com.irurueta.authserver.authorization.application.sms.SmsMessages
-
Builds the text of a message that carries a one-time code.
- verificationCodeLength - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
verificationCodeLengthrecord component. - verificationCodeLength() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
verificationCodeLengthrecord component. - verificationCodeTtl - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
verificationCodeTtlrecord component. - verificationCodeTtl() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
verificationCodeTtlrecord component. - verificationMaxAttempts - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
verificationMaxAttemptsrecord component. - verificationMaxAttempts() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
verificationMaxAttemptsrecord component. - verify(UUID, String, PhoneVerification, Instant) - Method in class com.irurueta.authserver.authorization.application.sms.ConfirmPhoneUseCase
-
Stores the verified phone, clears the pending verification and handles the replacement of another number.
- VerifyEmailUseCase - Class in com.irurueta.authserver.authorization.application.account
-
Use case that confirms an e-mail address from the signed token that was mailed to it, which also enables the account.
- VerifyEmailUseCase() - Constructor for class com.irurueta.authserver.authorization.application.account.VerifyEmailUseCase
- VerifyOneTimeCodeUseCase - Class in com.irurueta.authserver.authorization.application.ott
-
Verifies a one-time code.
- VerifyOneTimeCodeUseCase() - Constructor for class com.irurueta.authserver.authorization.application.ott.VerifyOneTimeCodeUseCase
- VerifyRecoveryCodeUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that accepts a recovery code as a second factor.
- VerifyRecoveryCodeUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.VerifyRecoveryCodeUseCase
- VerifyTotpUseCase - Class in com.irurueta.authserver.authorization.application.totp
-
Use case that verifies a TOTP code presented as a second factor: ±1 step window, no replay of a step already used, lockout after repeated failures, and an audit event either way.
- VerifyTotpUseCase() - Constructor for class com.irurueta.authserver.authorization.application.totp.VerifyTotpUseCase
W
- window - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
windowrecord component. - window() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
windowrecord component. - windowCapMicros - Variable in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
The field for the
windowCapMicrosrecord component. - windowCapMicros() - Method in record class com.irurueta.authserver.authorization.application.sms.SmsProperties
-
Returns the value of the
windowCapMicrosrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form