Uses of Record Class
com.irurueta.authserver.authorization.domain.sms.PhoneVerification
Packages that use PhoneVerification
Package
Description
Use cases of the SMS channel: phone enrolment and verification, cost-capped sending of codes and the enrolment
query of the SMS second factor.
Phones and text messages: the phone number value object, the phone a user verified, the ports to send messages,
keep phones and pending verifications, record the spend, and the policy that caps the cost.
PostgreSQL implementations of the SMS ports: the verified phone numbers and the phone verifications in progress
(both over the
user_phones table) and the SMS cost ledger (over the sms_cost_ledger table).-
Uses of PhoneVerification in com.irurueta.authserver.authorization.application.sms
Methods in com.irurueta.authserver.authorization.application.sms with parameters of type PhoneVerificationModifier and TypeMethodDescriptionprivate booleanConfirmPhoneUseCase.verify(UUID userId, String username, PhoneVerification pending, Instant now) Stores the verified phone, clears the pending verification and handles the replacement of another number. -
Uses of PhoneVerification in com.irurueta.authserver.authorization.domain.sms
Methods in com.irurueta.authserver.authorization.domain.sms that return types with arguments of type PhoneVerificationModifier and TypeMethodDescriptionPhoneVerificationRepository.findByUserId(UUID userId) Finds the pending verification of a user.Methods in com.irurueta.authserver.authorization.domain.sms with parameters of type PhoneVerificationModifier and TypeMethodDescriptionvoidPhoneVerificationRepository.save(PhoneVerification verification) Stores the pending verification of a user, replacing the one it had. -
Uses of PhoneVerification in com.irurueta.authserver.authorization.infrastructure.persistence.sms
Methods in com.irurueta.authserver.authorization.infrastructure.persistence.sms that return PhoneVerificationModifier and TypeMethodDescriptionMaps the current row.Methods in com.irurueta.authserver.authorization.infrastructure.persistence.sms that return types with arguments of type PhoneVerificationMethods in com.irurueta.authserver.authorization.infrastructure.persistence.sms with parameters of type PhoneVerificationModifier and TypeMethodDescriptionvoidJdbcPhoneVerificationRepository.save(PhoneVerification verification)