Enum Class OAuthStoreKey.Kind
- All Implemented Interfaces:
Serializable, Comparable<OAuthStoreKey.Kind>, Constable
- Enclosing class:
OAuthStoreKey
Issuer storage record kinds; a later release may add values. Store backends must not switch exhaustively
without a rejecting default. Permanent fence kinds must never be TTL evicted.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIssued access-token identifier and binding.Authorization code or retained consumption proof.Authorization grant and revocation state.Browser-bound authorization interaction.Permanent issuer epoch and clock fence.Rotating refresh credential or retained reuse proof.Permanent issuer-local subject epoch. -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuthStoreKey.KindReturns the enum constant of this class with the specified name.static OAuthStoreKey.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ISSUER_STATE
Permanent issuer epoch and clock fence. -
SUBJECT_STATE
Permanent issuer-local subject epoch. -
INTERACTION
Browser-bound authorization interaction. -
CODE
Authorization code or retained consumption proof. -
GRANT
Authorization grant and revocation state. -
ACCESS_TOKEN
Issued access-token identifier and binding. -
REFRESH_TOKEN
Rotating refresh credential or retained reuse proof.
-
-
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
-