Class FederationType
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.id.Identifier
-
- com.nimbusds.openid.connect.sdk.federation.FederationType
-
- All Implemented Interfaces:
Serializable
,Comparable<Identifier>
,net.minidev.json.JSONAware
@Immutable public final class FederationType extends Identifier
OpenID Connect federation type.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FederationType
AUTOMATIC
Automatic federation.static FederationType
EXPLICIT
Explicit federation.-
Fields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom
-
-
Constructor Summary
Constructors Constructor Description FederationType(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 FederationType 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 FederationType 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
-
FederationType
public FederationType(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
-
-