Package io.quarkus.oidc
Enum OidcTenantConfig.ApplicationType
- java.lang.Object
-
- java.lang.Enum<OidcTenantConfig.ApplicationType>
-
- io.quarkus.oidc.OidcTenantConfig.ApplicationType
-
- All Implemented Interfaces:
Serializable,Comparable<OidcTenantConfig.ApplicationType>
- Enclosing class:
- OidcTenantConfig
public static enum OidcTenantConfig.ApplicationType extends Enum<OidcTenantConfig.ApplicationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HYBRIDA combinedSERVICEandWEB_APPclient.SERVICEASERVICEis a client that has a set of protected HTTP resources, usually a backend application following the RESTful Architectural Design.WEB_APPAWEB_APPis a client that serves pages, usually a frontend application.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OidcTenantConfig.ApplicationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OidcTenantConfig.ApplicationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEB_APP
public static final OidcTenantConfig.ApplicationType WEB_APP
AWEB_APPis a client that serves pages, usually a frontend application. For this type of client the Authorization Code Flow is defined as the preferred method for authenticating users.
-
SERVICE
public static final OidcTenantConfig.ApplicationType SERVICE
ASERVICEis a client that has a set of protected HTTP resources, usually a backend application following the RESTful Architectural Design. For this type of client, the Bearer Authorization method is defined as the preferred method for authenticating and authorizing users.
-
HYBRID
public static final OidcTenantConfig.ApplicationType HYBRID
A combinedSERVICEandWEB_APPclient. For this type of client, the Bearer Authorization method will be used if the Authorization header is set and Authorization Code Flow - if not.
-
-
Method Detail
-
values
public static OidcTenantConfig.ApplicationType[] 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.ApplicationType c : OidcTenantConfig.ApplicationType.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.ApplicationType 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
-
-