Interface EmailChangeOtpPlugin.AddressCheck<R>

Type Parameters:
R - the type of its refusal
Enclosing interface:
EmailChangeOtpPlugin
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EmailChangeOtpPlugin.AddressCheck<R>
The check of the new address, run under the send lock
  • Method Summary

    Modifier and Type
    Method
    Description
    check(String email)
     
  • Method Details

    • check

      R check(String email) throws Exception
      Parameters:
      email - the address to set
      Returns:
      the refusal of the address, or null when it is accepted
      Throws:
      Exception - when the check fails