Package com.nimbusds.oauth2.sdk.ciba
Class CIBASignedRequestClaimsSet
java.lang.Object
com.nimbusds.openid.connect.sdk.claims.ClaimsSet
com.nimbusds.oauth2.sdk.ciba.CIBASignedRequestClaimsSet
- All Implemented Interfaces:
net.minidev.json.JSONAware
CIBA signed request claims set, serialisable to a JSON object.
Example signed request claims set:
{ "iss": "s6BhdRkqt3", "aud": "https://server.example.com", "exp": 1537820086, "iat": 1537819486, "nbf": 1537818886, "jti": "4LTCqACC2ESC5BWCnN3j58EnA", "scope": "openid email example-scope", "client_notification_token": "8d67dc78-7faa-4d41-aabd-67707b374255", "binding_message": "W4SCT", "login_hint_token": "eyJraWQiOiJsdGFjZXNidyIsImFsZyI6IkVTMjU2I n0.eyJzdWJfaWQiOnsic3ViamVjdF90eXBlIjoicGhvbmUiLCJwaG9uZSI6I isxMzMwMjgxODAwNCJ9fQ.Kk8jcUbHjJAQkRSHyDuFQr3NMEOSJEZc85VfER 74tX6J9CuUllr89WKUHUR7MA0-mWlptMRRhdgW1ZDt7g1uwQ" }
Related specifications:
- OpenID Connect CIBA Flow - Core 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The expiration time claim name.static final String
The issue time claim name.static final String
The JWT ID claim name.static final String
The not-before time claim name.static final String
The request claim name.Fields inherited from class com.nimbusds.openid.connect.sdk.claims.ClaimsSet
AUD_CLAIM_NAME, claims, ISS_CLAIM_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionCIBASignedRequestClaimsSet
(CIBARequest cibaPlainRequest, Issuer iss, Audience aud, Date iat, Date nbf, Date exp, JWTID jti) Creates a new CIBA signed request claims set. -
Method Summary
Modifier and TypeMethodDescriptionGets the names of the standard top-level claims.Methods inherited from class com.nimbusds.openid.connect.sdk.claims.ClaimsSet
equals, getAudience, getBooleanClaim, getClaim, getClaim, getDateClaim, getIssuer, getJSONArrayClaim, getJSONObjectClaim, getLangTaggedClaim, getNumberClaim, getStringClaim, getStringClaim, getStringListClaim, getURIClaim, getURLClaim, hashCode, putAll, putAll, setAudience, setAudience, setClaim, setClaim, setDateClaim, setIssuer, setURIClaim, setURLClaim, toJSONObject, toJSONString, toJWTClaimsSet, toString
-
Field Details
-
REQUEST_CLAIM_NAME
The request claim name.- See Also:
-
IAT_CLAIM_NAME
The issue time claim name.- See Also:
-
NBF_CLAIM_NAME
The not-before time claim name.- See Also:
-
EXP_CLAIM_NAME
The expiration time claim name.- See Also:
-
JTI_CLAIM_NAME
The JWT ID claim name.- See Also:
-
-
Constructor Details
-
CIBASignedRequestClaimsSet
public CIBASignedRequestClaimsSet(CIBARequest cibaPlainRequest, Issuer iss, Audience aud, Date iat, Date nbf, Date exp, JWTID jti) Creates a new CIBA signed request claims set.- Parameters:
cibaPlainRequest
- The CIBA plain request to use. Must not benull
.iss
- The issuer, must be set to theclient_id
.aud
- The audience, must be set to the OpenID provider / OAuth 2.0 authorisation server issuer URI.iat
- The issue time. Must not benull
.nbf
- The not-before time. Must not benull
.exp
- The expiration time. Must not benull
.jti
- The JWT ID. Must not benull
.
-
-
Method Details
-
getStandardClaimNames
Gets the names of the standard top-level claims.- Returns:
- The names of the standard top-level claims (read-only set).
-