Uses of Package
com.irurueta.authserver.authorization.domain.sms
Packages that use com.irurueta.authserver.authorization.domain.sms
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.
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).SMS adapter of the authorization server: the logging default sender with its bounded outbox, the Twilio and Amazon
SNS gateways (each enabled by its own profile) and the libphonenumber normaliser.
-
-
Classes in com.irurueta.authserver.authorization.domain.sms used by com.irurueta.authserver.authorization.application.ottClassDescriptionPort that stores the pending phone verification of each user, with the code hashed.Port that keeps the ledger of what text messages cost, in the database so that a restart cannot reset a budget.Port that sends a text message through a gateway.Port that stores the verified phone number of each user.
-
Classes in com.irurueta.authserver.authorization.domain.sms used by com.irurueta.authserver.authorization.application.smsClassDescriptionPort that tells the country of a phone number.Port that turns the phone number a user typed into E.164.A phone number in E.164 format.A pending verification of a phone number: the code that was sent to it, hashed, until the user types it.Port that stores the pending phone verification of each user, with the code hashed.Port that keeps the ledger of what text messages cost, in the database so that a restart cannot reset a budget.The rules that keep text messages from costing too much: the countries messages may go to, what a message costs in each and the budget per window and per day.The verified phone number of a user.Port that stores the verified phone number of each user.
-
Classes in com.irurueta.authserver.authorization.domain.sms used by com.irurueta.authserver.authorization.domain.smsClassDescriptionA phone number in E.164 format.A pending verification of a phone number: the code that was sent to it, hashed, until the user types it.A text message a development sender recorded instead of sending it, as the development inbox shows it.A spending cap of text messages: what may be spent in a window that ends at the message being sent.The verified phone number of a user.
-
Classes in com.irurueta.authserver.authorization.domain.sms used by com.irurueta.authserver.authorization.infrastructure.persistence.smsClassDescriptionA phone number in E.164 format.A pending verification of a phone number: the code that was sent to it, hashed, until the user types it.Port that stores the pending phone verification of each user, with the code hashed.Port that keeps the ledger of what text messages cost, in the database so that a restart cannot reset a budget.A spending cap of text messages: what may be spent in a window that ends at the message being sent.The verified phone number of a user.Port that stores the verified phone number of each user.
-
Classes in com.irurueta.authserver.authorization.domain.sms used by com.irurueta.authserver.authorization.infrastructure.smsClassDescriptionPort that tells the country of a phone number.Port that turns the phone number a user typed into E.164.A phone number in E.164 format.Port that lists the messages a development sender recorded instead of sending them.A text message a development sender recorded instead of sending it, as the development inbox shows it.Port that sends a text message through a gateway.