ClaimConstraint
A constraint to apply to one claim in the verifiable credential.
Choose one operator of values, contains or startsWith.
Constraint values are matched exactly, ignoring case but not whitespace, so leading and trailing whitespace is
trimmed from claimName and from the value of whichever operator is used. When saved as a fixed constraint on an
OIDC client, a value that is empty once trimmed is rejected.
input ClaimConstraint {
claimName: String!
contains: String
startsWith: String
values: [String!]
}
Fields
ClaimConstraint.claimName ● String! non-null scalar
Name of the claim for the constraint. This is the claim name in the verifiable credential. See outputClaim in claimMapping type.
ClaimConstraint.contains ● String scalar
The constraint evaluates to true if the claim value contains the specified value.
ClaimConstraint.startsWith ● String scalar
The constraint evaluates to true if the claim value starts with the specified value.
ClaimConstraint.values ● [String!] list scalar
Set of values that should match the claim value. If you specify multiple values, like ["red", "green", "blue"] it is a match if the claim value in the credential has any of the values in the collection.
Member Of
OidcClientInput input ● RequestCredential input