All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.singularity.auth.SingularityAuthenticatorClass Maven / Gradle / Ivy

package com.hubspot.singularity.auth;

import com.hubspot.singularity.auth.authenticator.SingularityAuthenticator;
import com.hubspot.singularity.auth.authenticator.SingularityDisabledAuthenticator;
import com.hubspot.singularity.auth.authenticator.SingularityWebhookAuthenticator;
import com.hubspot.singularity.auth.authenticator.SingularityHeaderPassthroughAuthenticator;
import com.hubspot.singularity.auth.authenticator.SingularityQueryParamAuthenticator;

public enum SingularityAuthenticatorClass {
  DISABLED(SingularityDisabledAuthenticator.class),
  HEADER_PASSTHROUGH(SingularityHeaderPassthroughAuthenticator.class),
  QUERYPARAM_PASSTHROUGH(SingularityQueryParamAuthenticator.class),
  WEBHOOK(SingularityWebhookAuthenticator.class);

  private final Class authenticatorClass;

  SingularityAuthenticatorClass(Class authenticatorClass) {
    this.authenticatorClass = authenticatorClass;
  }

  public Class getAuthenticatorClass() {
    return authenticatorClass;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy