Package com.irurueta.authserver.authorization.domain.sms


package com.irurueta.authserver.authorization.domain.sms
Phones and text messages: the phone number value object, the phone a user verified, the ports to send messages, keep phones and pending verifications, record the spend, and the policy that caps the cost.
  • Class
    Description
    Port 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.
    Thrown when a text message could not be sent.
    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.
    A text message to send.
    Port that sends a text message through a gateway.
    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.