Enum Class CredentialType

java.lang.Object
java.lang.Enum<CredentialType>
com.linecorp.centraldogma.server.credential.CredentialType
All Implemented Interfaces:
Serializable, Comparable<CredentialType>, java.lang.constant.Constable

public enum CredentialType extends Enum<CredentialType>
The type of Credential.
  • Enum Constant Details

    • PASSWORD

      public static final CredentialType PASSWORD
      A credential that consists of a username and a password.
    • SSH_KEY

      public static final CredentialType SSH_KEY
      A credential that consists of a public and private key.
    • ACCESS_TOKEN

      public static final CredentialType ACCESS_TOKEN
      A credential that consists of an access token.
    • NONE

      public static final CredentialType NONE
      A none credential.
  • Method Details

    • values

      public static CredentialType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CredentialType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null