Class VerifiedClaimsSetRequest
java.lang.Object
com.nimbusds.openid.connect.sdk.claims.ClaimsSetRequest
com.nimbusds.openid.connect.sdk.assurance.claims.VerifiedClaimsSetRequest
- All Implemented Interfaces:
net.minidev.json.JSONAware
Deprecated.
OpenID Connect verified claims set request, intended to represent the
verified_claims sub-element within a userinfo or
id_token element in a
claims request
parameter.
Example:
{
"verification": {
"trust_framework": "eidas_ial"
},
"claims":{
"given_name": null,
"family_name": null,
"birthdate": null
}
}
Related specifications:
- OpenID Connect Core 1.0, section 5.5.
- OpenID Connect for Identity Assurance 1.0, section 6.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.nimbusds.openid.connect.sdk.claims.ClaimsSetRequest
ClaimsSetRequest.Entry -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new empty OpenID Connect verified claims set request.VerifiedClaimsSetRequest(Collection<ClaimsSetRequest.Entry> entries, net.minidev.json.JSONObject verificationJSONObject) Deprecated.Creates a new OpenID Connect verified claims set request. -
Method Summary
Modifier and TypeMethodDescriptionadd(ClaimsSetRequest.Entry entry) Deprecated.Adds the specified claim to the request.Deprecated.Adds the specified claim to the request, using default settings.Deprecated.Deletes the specified claim from this request, in all existing language tag variations if any.Deprecated.Deletes the specified claim from this request.net.minidev.json.JSONObjectDeprecated.Gets theverificationelement.static VerifiedClaimsSetRequestDeprecated.Parses an OpenID Connect verified claims set request from the specified JSON object string representation.static VerifiedClaimsSetRequestparse(net.minidev.json.JSONObject jsonObject) Deprecated.Parses an OpenID Connect verified claims set request from the specified JSON object representation.net.minidev.json.JSONObjectDeprecated.Returns the JSON object representation of this verified claims set request.withVerificationJSONObject(net.minidev.json.JSONObject jsonObject) Deprecated.Sets theverificationelement.Methods inherited from class com.nimbusds.openid.connect.sdk.claims.ClaimsSetRequest
get, get, getClaimNames, getEntries, toJSONString, toString
-
Constructor Details
-
VerifiedClaimsSetRequest
public VerifiedClaimsSetRequest()Deprecated.Creates a new empty OpenID Connect verified claims set request. -
VerifiedClaimsSetRequest
public VerifiedClaimsSetRequest(Collection<ClaimsSetRequest.Entry> entries, net.minidev.json.JSONObject verificationJSONObject) Deprecated.Creates a new OpenID Connect verified claims set request.- Parameters:
entries- The request entries. Must not benull.verificationJSONObject- The verification JSON object,nullif not specified.
-
-
Method Details
-
getVerificationJSONObject
Deprecated.Gets theverificationelement.- Returns:
- The
verificationJSON object,nullif not specified.
-
withVerificationJSONObject
Deprecated.Sets theverificationelement.- Parameters:
jsonObject- TheverificationJSON object,nullif not specified.- Returns:
- The updated verified claims set request.
-
add
Deprecated.Description copied from class:ClaimsSetRequestAdds the specified claim to the request, using default settings. Shorthand forClaimsSetRequest.add(Entry).- Overrides:
addin classClaimsSetRequest- Parameters:
claimName- The claim name. Must not benull.- Returns:
- The updated claims set request.
-
add
Deprecated.Description copied from class:ClaimsSetRequestAdds the specified claim to the request.- Overrides:
addin classClaimsSetRequest- Parameters:
entry- The individual claim request. Must not benull.- Returns:
- The updated claims set request.
-
delete
Deprecated.Description copied from class:ClaimsSetRequestDeletes the specified claim from this request.- Overrides:
deletein classClaimsSetRequest- Parameters:
claimName- The claim name. Must not benull.langTag- The associated language tag,nullif none.- Returns:
- The updated claims set request.
-
delete
Deprecated.Description copied from class:ClaimsSetRequestDeletes the specified claim from this request, in all existing language tag variations if any.- Overrides:
deletein classClaimsSetRequest- Parameters:
claimName- The claim name. Must not benull.- Returns:
- The updated claims set request.
-
toJSONObject
Deprecated.Returns the JSON object representation of this verified claims set request.Example:
{ "verification": { "trust_framework": "eidas" }, "claims":{ "given_name": null, "family_name": null, "birthdate": null } }- Overrides:
toJSONObjectin classClaimsSetRequest- Returns:
- The JSON object, empty if no claims are specified.
-
parse
public static VerifiedClaimsSetRequest parse(net.minidev.json.JSONObject jsonObject) throws ParseException Deprecated.Parses an OpenID Connect verified claims set request from the specified JSON object representation.Example:
{ "verification": { "trust_framework": "eidas" }, "claims":{ "given_name": null, "family_name": null, "birthdate": null } }- Parameters:
jsonObject- The JSON object to parse. Must not benull.- Returns:
- The verified claims set request.
- Throws:
ParseException- If parsing failed.
-
parse
Deprecated.Parses an OpenID Connect verified claims set request from the specified JSON object string representation.Example:
{ "verification": { "trust_framework": "eidas" }, "claims":{ "given_name": null, "family_name": null, "birthdate": null } }- Parameters:
json- The JSON object string to parse. Must not benull.- Returns:
- The verified claims set request.
- Throws:
ParseException- If parsing failed.
-
VerifiedClaimsSetRequestinstead.