Package org.forgerock.openidconnect
Enum Client.PublicKeySelector
- java.lang.Object
-
- java.lang.Enum<Client.PublicKeySelector>
-
- org.forgerock.openidconnect.Client.PublicKeySelector
-
- All Implemented Interfaces:
Serializable,Comparable<Client.PublicKeySelector>
- Enclosing class:
- Client
public static enum Client.PublicKeySelector extends Enum<Client.PublicKeySelector>
Stores the selected public key locator for this client.- Since:
- 13.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Client.PublicKeySelectorfromString(String type)Translates a string into a token endpoint auth method type.StringgetType()Gets the client token endpoint auth method type.static Client.PublicKeySelectorvalueOf(String name)Returns the enum constant of this type with the specified name.static Client.PublicKeySelector[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JWKS_URI
public static final Client.PublicKeySelector JWKS_URI
JWKs URI
-
JWKS
public static final Client.PublicKeySelector JWKS
JWKs
-
X509
public static final Client.PublicKeySelector X509
X509
-
-
Method Detail
-
values
public static Client.PublicKeySelector[] 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 (Client.PublicKeySelector c : Client.PublicKeySelector.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Client.PublicKeySelector 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
-
getType
public String getType()
Gets the client token endpoint auth method type.- Returns:
- The client application type.
-
fromString
public static Client.PublicKeySelector fromString(String type)
Translates a string into a token endpoint auth method type.- Parameters:
type- The string to translate into a token endpoint auth method.- Returns:
- An application type if found, else
null.
-
-