Package io.quarkus.oidc
Enum Class Redirect.Location
- All Implemented Interfaces:
Serializable
,Comparable<Redirect.Location>
,Constable
- Enclosing class:
- Redirect
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplies to the local redirect to a custom error page resource when an authorization code flow redirect from OIDC provider to Quarkus returns an error instead of an authorization codeApplies to the local redirect to the callback resource which is done after successful authorization code flow completion in order to drop the code and state parameters from the callback URL.Applies to OIDC authorization endpointApplies to OIDC logout endpointApplies to the local redirect to a custom session expired page resource when the current user's session has expired and no longer can be refreshed. -
Method Summary
Modifier and TypeMethodDescriptionstatic Redirect.Location
Returns the enum constant of this class with the specified name.static Redirect.Location[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
-
OIDC_AUTHORIZATION
Applies to OIDC authorization endpoint -
OIDC_LOGOUT
Applies to OIDC logout endpoint -
ERROR_PAGE
Applies to the local redirect to a custom error page resource when an authorization code flow redirect from OIDC provider to Quarkus returns an error instead of an authorization code -
SESSION_EXPIRED_PAGE
Applies to the local redirect to a custom session expired page resource when the current user's session has expired and no longer can be refreshed. -
LOCAL_ENDPOINT_CALLBACK
Applies to the local redirect to the callback resource which is done after successful authorization code flow completion in order to drop the code and state parameters from the callback URL.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-