Package io.quarkus.oidc
Enum OidcTenantConfig.Roles.Source
- java.lang.Object
-
- java.lang.Enum<OidcTenantConfig.Roles.Source>
-
- io.quarkus.oidc.OidcTenantConfig.Roles.Source
-
- All Implemented Interfaces:
Serializable
,Comparable<OidcTenantConfig.Roles.Source>
- Enclosing class:
- OidcTenantConfig.Roles
public static enum OidcTenantConfig.Roles.Source extends Enum<OidcTenantConfig.Roles.Source>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description accesstoken
Access Token - the default value for the 'service' applications; can also be used as the source of roles for the 'web-app' applications.idtoken
ID Token - the default value for the 'web-app' applications.userinfo
User Info
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OidcTenantConfig.Roles.Source
valueOf(String name)
Returns the enum constant of this type with the specified name.static OidcTenantConfig.Roles.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
idtoken
public static final OidcTenantConfig.Roles.Source idtoken
ID Token - the default value for the 'web-app' applications.
-
accesstoken
public static final OidcTenantConfig.Roles.Source accesstoken
Access Token - the default value for the 'service' applications; can also be used as the source of roles for the 'web-app' applications.
-
userinfo
public static final OidcTenantConfig.Roles.Source userinfo
User Info
-
-
Method Detail
-
values
public static OidcTenantConfig.Roles.Source[] 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 (OidcTenantConfig.Roles.Source c : OidcTenantConfig.Roles.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OidcTenantConfig.Roles.Source 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
-
-