Package io.meeds.social.security.plugin


package io.meeds.social.security.plugin
  • Classes
    Class
    Description
    Same OTP mechanics as EmailOtpPlugin (generation, TTL, length and send interval inherited; validation tentatives capped by OtpService), with a dedicated email wording for the account deactivation request flow.
    The code of an email change: sent to the new address, never to the address of the account, and stored bound to that address (EmailChangeOtpPlugin.bindCode(String, String)), so it proves that the user receives mail there and confirms a change to that address only.
    Generates, caches and validates email OTP codes: the code is stored under a purpose-bound cache key (EmailOtpPlugin.getCacheKey(String)) and the email is sent through the common BrandedEmailSender with a per-plugin content fragment and subject key.
    Same OTP mechanics as EmailOtpPlugin (generation, TTL, length, send interval, single-use consumption) and the same email wording, under its own subject, for the confirmation of an administrator session before actions on user accounts.