Skip to main content

RequestCredential

Provides information about the requested credentials the user needs to provide.

input RequestCredential {
acceptedIssuers: [String!]
configuration: RequestConfiguration
constraints: [ClaimConstraint!]
purpose: String
type: String!
}

Fields​

RequestCredential.acceptedIssuers ● [String!] list scalar​

A collection of issuers' DIDs that could issue the type of verifiable credential that subjects can present. If not specified, the VO platform issuer DID will be used. This field should only be used when requesting credentials from external issuers.

RequestCredential.configuration ● RequestConfiguration input​

Optional settings for presentation validation.

RequestCredential.constraints ● [ClaimConstraint!] list input​

Optional collection of claim constraints that must be met when a wallet selects the candidate credentials.

This enables requesting a credential with specific claim value. Constraints are evaluated with AND logic, i.e. if you specify multiple constraints, all must be met.

For each constraint in the collection, you must select one operator of values, contains or startsWith. Values cannot be regular expressions. All comparisons are case-insensitive.

RequestCredential.purpose ● String scalar​

Provide information about the purpose of requesting this verifiable credential.

RequestCredential.type ● String! non-null scalar​

The verifiable credential type. The type must match the type as defined in the issuer verifiable credential manifest.

Member Of​

PresentationRequestInput input