Uses of Package
com.irurueta.authserver.authorization.api.web.totp

Package
Description
Time-based one-time password (TOTP) second factor.
  • Class
    Description
    Keeps, in the session, the recovery codes generated when an authenticator app is enrolled during the sign-in, from the post that confirms it until the page that shows them once (RecoveryCodesPageController), which takes them out of the session.
    Renders a text as a QR code, as a PNG image in a data: URI an authenticator app enrolment page can show without another request.
    Processes the post of the second-factor forms (POST /login/second-factor/totp): the TOTP form, the recovery-code form and the enrolment form (field enroll) of a user who has no authenticator app yet.
    Request to verify a second factor: the authentication the user already holds (the primary factor) and the code the user typed, and what kind of code it is.
    What the code posted to the TOTP filter is.
    Sends a posted code to the use case of its kind (TotpCodeKind): a TOTP code, a recovery code, or the first code of an authenticator app enrolled during the sign-in.
    Maps the results of the authenticator app and recovery code use cases onto the DTOs generated from the contract.