Annotation Interface MfaEndpoint


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public @interface MfaEndpoint
Marks endpoint as available even if multi factory authentication is not passed yet. Endpoints not marked with this annotation are not accessible when MFA is enabled.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true endpoint is intended to be accessible only when user is configuring MFA for first time.
  • Element Details

    • registerOnly

      boolean registerOnly
      If true endpoint is intended to be accessible only when user is configuring MFA for first time. If false endpoint is intended to be accessible when user have configured MFA but didn't authenticate yet. registerOnly endpoints are not accessible when user has configured MFA.
      Default:
      false