package com.airlock.iam.authentication.application.configuration.newdevice;

import com.airlock.iam.common.application.configuration.event.LoginappUserSubscribedEventConfig;
import com.airlock.iam.plugin.api.annotation.config.Plugin;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

@Plugin(description = "Event that is published if a user logs in from a new device.", displayName = "Logged in from new Device")
public class LoggedInFromNewDeviceEventConfig implements LoginappUserSubscribedEventConfig {
   @SuppressFBWarnings(justification = "generated code")
   public static LoggedInFromNewDeviceEventConfig.LoggedInFromNewDeviceEventConfigBuilder builder() {
      return new LoggedInFromNewDeviceEventConfig.LoggedInFromNewDeviceEventConfigBuilder();
   }

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

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

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