package com.airlock.iam.common.application.configuration.event;

import com.airlock.iam.plugin.api.annotation.config.Plugin;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

@Plugin(
   displayName = "OATH OTP Secret Viewed",
   description = "\t\t<p>Event that is triggered by a user viewing an existing (not newly generated) OATH OTP shared secret (to import into an authenticator app).</p>\n\t\t<p>Consult the \"OATH OTP Activation Step\" for details.</p>\n"
)
public class OathOtpSecretViewedSubscribedEventConfig implements LoginappUserSubscribedEventConfig {
   public static final String OATH_OTP_SECRET_VIEWED_DISPLAY_NAME = "OATH OTP Secret Viewed";

   @SuppressFBWarnings(justification = "generated code")
   public static OathOtpSecretViewedSubscribedEventConfig.OathOtpSecretViewedSubscribedEventConfigBuilder builder() {
      return new OathOtpSecretViewedSubscribedEventConfig.OathOtpSecretViewedSubscribedEventConfigBuilder();
   }

   @SuppressFBWarnings(justification = "generated code")
   public static class OathOtpSecretViewedSubscribedEventConfigBuilder {
      @SuppressFBWarnings(justification = "generated code")
      OathOtpSecretViewedSubscribedEventConfigBuilder() {
      }

      @SuppressFBWarnings(justification = "generated code")
      public OathOtpSecretViewedSubscribedEventConfig build() {
         return new OathOtpSecretViewedSubscribedEventConfig();
      }

      @SuppressFBWarnings(justification = "generated code")
      @Override
      public String toString() {
         return "OathOtpSecretViewedSubscribedEventConfig.OathOtpSecretViewedSubscribedEventConfigBuilder()";
      }
   }
}
