Uses of Enum Class
com.irurueta.authserver.authorization.domain.ott.OttPurpose
Packages that use OttPurpose
Package
Description
One-time token authentication: e-mail and SMS codes and magic links as a primary sign-in method and as a second
factor, the per-channel factors, the rate limits, the providers and filters, and the phone management API and
account page.
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.
One-time tokens: e-mail and SMS codes and magic links as a sign-in method.
-
Uses of OttPurpose in com.irurueta.authserver.authorization.api.web.ott
Fields in com.irurueta.authserver.authorization.api.web.ott declared as OttPurposeModifier and TypeFieldDescriptionprivate final OttPurposeOttGenerationParameters.purposeThe field for thepurposerecord component.private final OttPurposePendingOtt.purposeThe field for thepurposerecord component.Methods in com.irurueta.authserver.authorization.api.web.ott that return OttPurposeModifier and TypeMethodDescriptionOttGenerationParameters.purpose()Returns the value of thepurposerecord component.PendingOtt.purpose()Returns the value of thepurposerecord component.Constructors in com.irurueta.authserver.authorization.api.web.ott with parameters of type OttPurposeModifierConstructorDescriptionOttGenerationParameters(OttChannel channel, OttKind kind, OttPurpose purpose) Creates an instance of aOttGenerationParametersrecord class.PendingOtt(String identifier, String bindingId, OttKind kind, OttPurpose purpose, OttChannel channel) Creates an instance of aPendingOttrecord class. -
Uses of OttPurpose in com.irurueta.authserver.authorization.application.ott
Methods in com.irurueta.authserver.authorization.application.ott with parameters of type OttPurposeModifier and TypeMethodDescriptionprivate OttVerificationResultVerifyOneTimeCodeUseCase.check(String bindingId, String username, String code, OttPurpose purpose, Set<OttChannel> channels) Checks a code against the active one, counting the attempt.RequestOneTimeCodeUseCase.execute(String identifier, OttChannel channel, OttPurpose purpose, String bindingId) Requests a code.VerifyOneTimeCodeUseCase.execute(String bindingId, String username, String code, OttPurpose purpose, Set<OttChannel> channels) Verifies a code. -
Uses of OttPurpose in com.irurueta.authserver.authorization.domain.ott
Fields in com.irurueta.authserver.authorization.domain.ott declared as OttPurposeModifier and TypeFieldDescriptionprivate final OttPurposeOneTimeCode.purposeThe field for thepurposerecord component.Methods in com.irurueta.authserver.authorization.domain.ott that return OttPurposeModifier and TypeMethodDescriptionOneTimeCode.purpose()Returns the value of thepurposerecord component.static OttPurposeReturns the enum constant of this class with the specified name.static OttPurpose[]OttPurpose.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.irurueta.authserver.authorization.domain.ott with parameters of type OttPurposeModifierConstructorDescriptionOneTimeCode(UUID id, String username, OttChannel channel, OttPurpose purpose, String codeHash, String bindingId, int attempts, Instant expiresAt, Instant createdAt) Validates the code.