Package com.authlete.common.types
Enum ClientSource
- java.lang.Object
-
- java.lang.Enum<ClientSource>
-
- com.authlete.common.types.ClientSource
-
- All Implemented Interfaces:
Serializable,Comparable<ClientSource>
public enum ClientSource extends Enum<ClientSource>
The source of a client.enum value description STATIC_REGISTRATIONStatic registration. DYNAMIC_REGISTRATIONDynamic registration defined in RFC 7591: OAuth 2.0 Dynamic Client Registration Protocol or OpenID Connect Dynamic Client Registration 1.0. AUTOMATIC_REGISTRATIONAutomatic registration defined in OpenID Federation 1.0. EXPLICIT_REGISTRATIONExplicit registration defined in OpenID Federation 1.0. METADATA_DOCUMENTDiscovery using OAuth Client ID Metadata Document. - Since:
- 4.29, Authlete 3.0.22
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC_REGISTRATIONAutomatic registration defined in OpenID Federation 1.0.DYNAMIC_REGISTRATIONDynamic registration defined in RFC 7591: OAuth 2.0 Dynamic Client Registration Protocol or OpenID Connect Dynamic Client Registration 1.0.EXPLICIT_REGISTRATIONExplicit registration defined in OpenID Federation 1.0.METADATA_DOCUMENTDiscovery using OAuth Client ID Metadata Document.STATIC_REGISTRATIONStatic registration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientSourcevalueOf(String name)Returns the enum constant of this type with the specified name.static ClientSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC_REGISTRATION
public static final ClientSource STATIC_REGISTRATION
Static registration.
-
DYNAMIC_REGISTRATION
public static final ClientSource DYNAMIC_REGISTRATION
Dynamic registration defined in RFC 7591: OAuth 2.0 Dynamic Client Registration Protocol or OpenID Connect Dynamic Client Registration 1.0.
-
AUTOMATIC_REGISTRATION
public static final ClientSource AUTOMATIC_REGISTRATION
Automatic registration defined in OpenID Federation 1.0.- See Also:
- OpenID Federation 1.0
-
EXPLICIT_REGISTRATION
public static final ClientSource EXPLICIT_REGISTRATION
Explicit registration defined in OpenID Federation 1.0.- See Also:
- OpenID Federation 1.0
-
METADATA_DOCUMENT
public static final ClientSource METADATA_DOCUMENT
Discovery using OAuth Client ID Metadata Document.- See Also:
- OAuth Client ID Metadata Document
-
-
Method Detail
-
values
public static ClientSource[] 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 (ClientSource c : ClientSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientSource 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
-
-