Package io.quarkus.oidc
Enum OidcTenantConfig.TokenStateManager.Strategy
- java.lang.Object
-
- java.lang.Enum<OidcTenantConfig.TokenStateManager.Strategy>
-
- io.quarkus.oidc.OidcTenantConfig.TokenStateManager.Strategy
-
- All Implemented Interfaces:
Serializable
,Comparable<OidcTenantConfig.TokenStateManager.Strategy>
- Enclosing class:
- OidcTenantConfig.TokenStateManager
public static enum OidcTenantConfig.TokenStateManager.Strategy extends Enum<OidcTenantConfig.TokenStateManager.Strategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ID_REFRESH_TOKENS
Keep ID and refresh tokens onlyID_TOKEN
Keep ID token onlyKEEP_ALL_TOKENS
Keep ID, access and refresh tokens.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OidcTenantConfig.TokenStateManager.Strategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static OidcTenantConfig.TokenStateManager.Strategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEEP_ALL_TOKENS
public static final OidcTenantConfig.TokenStateManager.Strategy KEEP_ALL_TOKENS
Keep ID, access and refresh tokens.
-
ID_TOKEN
public static final OidcTenantConfig.TokenStateManager.Strategy ID_TOKEN
Keep ID token only
-
ID_REFRESH_TOKENS
public static final OidcTenantConfig.TokenStateManager.Strategy ID_REFRESH_TOKENS
Keep ID and refresh tokens only
-
-
Method Detail
-
values
public static OidcTenantConfig.TokenStateManager.Strategy[] 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.TokenStateManager.Strategy c : OidcTenantConfig.TokenStateManager.Strategy.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.TokenStateManager.Strategy 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
-
-