Enum KeycloakAdminClientConfig.GrantType
- java.lang.Object
-
- java.lang.Enum<KeycloakAdminClientConfig.GrantType>
-
- io.quarkus.keycloak.admin.client.common.KeycloakAdminClientConfig.GrantType
-
- All Implemented Interfaces:
Serializable,Comparable<KeycloakAdminClientConfig.GrantType>
- Enclosing class:
- KeycloakAdminClientConfig
public static enum KeycloakAdminClientConfig.GrantType extends Enum<KeycloakAdminClientConfig.GrantType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_CREDENTIALSPASSWORD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasString()static KeycloakAdminClientConfig.GrantTypevalueOf(String name)Returns the enum constant of this type with the specified name.static KeycloakAdminClientConfig.GrantType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD
public static final KeycloakAdminClientConfig.GrantType PASSWORD
-
CLIENT_CREDENTIALS
public static final KeycloakAdminClientConfig.GrantType CLIENT_CREDENTIALS
-
-
Method Detail
-
values
public static KeycloakAdminClientConfig.GrantType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeycloakAdminClientConfig.GrantType c : KeycloakAdminClientConfig.GrantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeycloakAdminClientConfig.GrantType 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 nameNullPointerException- if the argument is null
-
asString
public String asString()
-
-