Enum OAuth2GrantType

java.lang.Object
java.lang.Enum<OAuth2GrantType>
org.qubership.atp.itf.lite.backend.enums.auth.OAuth2GrantType
All Implemented Interfaces:
Serializable, Comparable<OAuth2GrantType>, java.lang.constant.Constable

public enum OAuth2GrantType extends Enum<OAuth2GrantType>
  • Enum Constant Details

    • PASSWORD_CREDENTIALS

      public static final OAuth2GrantType PASSWORD_CREDENTIALS
    • CLIENT_CREDENTIALS

      public static final OAuth2GrantType CLIENT_CREDENTIALS
    • AUTHORIZATION_CODE

      public static final OAuth2GrantType AUTHORIZATION_CODE
  • Method Details

    • values

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

      public static OAuth2GrantType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null