Package com.nimbusds.oauth2.sdk.ciba
Class BackChannelTokenDeliveryMode
java.lang.Object
com.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.oauth2.sdk.ciba.BackChannelTokenDeliveryMode
- All Implemented Interfaces:
Serializable
,Comparable<Identifier>
,net.minidev.json.JSONAware
CIBA token delivery mode.
- OpenID Connect CIBA Flow - Core 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BackChannelTokenDeliveryMode
Ping delivery mode.static final BackChannelTokenDeliveryMode
Poll delivery mode.static final BackChannelTokenDeliveryMode
Push delivery mode.Fields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CIBA token delivery mode with the specified value. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static BackChannelTokenDeliveryMode
Parses a CIBA token delivery mode from the specified string.Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
compareTo, getValue, hashCode, toJSONString, toString, toStringList
-
Field Details
-
PUSH
Push delivery mode. The OP / AS the tokens to a client callback URI. -
POLL
Poll delivery mode. The client polls the OP / AS token endpoint to obtain the tokens. -
PING
Ping delivery mode. The OP / AS sends a notification to a client endpoint that the tokens are available at the token endpoint.
-
-
Constructor Details
-
BackChannelTokenDeliveryMode
Creates a new CIBA token delivery mode with the specified value.- Parameters:
value
- The CIBA token delivery mode value. Must not benull
.
-
-
Method Details
-
equals
- Overrides:
equals
in classIdentifier
-
parse
Parses a CIBA token delivery mode from the specified string.- Parameters:
value
- The string value.- Returns:
- The CIBA token delivery mode.
- Throws:
ParseException
- On a illegal CIBA token delivery mode.
-