Class ClientRegistrationType
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.id.Identifier
-
- com.nimbusds.openid.connect.sdk.federation.registration.ClientRegistrationType
-
- All Implemented Interfaces:
Serializable
,Comparable<Identifier>
,net.minidev.json.JSONAware
@Immutable public final class ClientRegistrationType extends Identifier
OpenID Connect Federation 1.0 client registration type.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ClientRegistrationType
AUTOMATIC
Automatic federation.static ClientRegistrationType
EXPLICIT
Explicit federation.-
Fields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom
-
-
Constructor Summary
Constructors Constructor Description ClientRegistrationType(String value)
Creates a new federation type with the specified identifier value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
-
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
compareTo, getValue, hashCode, toJSONString, toString, toStringList
-
-
-
-
Field Detail
-
AUTOMATIC
public static final ClientRegistrationType AUTOMATIC
Automatic federation. No negotiation between the RP and the OP is made regarding what features the client should use in future requests to the OP. The RP's published metadata filtered by the chosen trust chain's metadata policies defines the metadata that is to be used.
-
EXPLICIT
public static final ClientRegistrationType EXPLICIT
Explicit federation. The RP will access thefederation_registration_endpoint
, which provides the metadata for the RP to use. The OP may return a metadata policy that adds restrictions over and above what the trust chain already has defined.
-
-
Constructor Detail
-
ClientRegistrationType
public ClientRegistrationType(String value)
Creates a new federation type with the specified identifier value.- Parameters:
value
- The identifier value. Must not benull
.
-
-
Method Detail
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classIdentifier
-
-