Enum DevServicesConfig.Grant.Type
- java.lang.Object
-
- java.lang.Enum<DevServicesConfig.Grant.Type>
-
- io.quarkus.oidc.deployment.devservices.keycloak.DevServicesConfig.Grant.Type
-
- All Implemented Interfaces:
Serializable,Comparable<DevServicesConfig.Grant.Type>
- Enclosing class:
- DevServicesConfig.Grant
public static enum DevServicesConfig.Grant.Type extends Enum<DevServicesConfig.Grant.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGrantType()static DevServicesConfig.Grant.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static DevServicesConfig.Grant.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT
public static final DevServicesConfig.Grant.Type CLIENT
'client_credentials' grant
-
PASSWORD
public static final DevServicesConfig.Grant.Type PASSWORD
'password' grant
-
CODE
public static final DevServicesConfig.Grant.Type CODE
'authorization_code' grant
-
IMPLICIT
public static final DevServicesConfig.Grant.Type IMPLICIT
'implicit' grant
-
-
Method Detail
-
values
public static DevServicesConfig.Grant.Type[] 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 (DevServicesConfig.Grant.Type c : DevServicesConfig.Grant.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DevServicesConfig.Grant.Type 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
-
getGrantType
public String getGrantType()
-
-