AuthnRequestCredential
Specifies which credential can be presented for authentication.
input AuthnRequestCredential {
acceptedIssuers: [String!]
configuration: RequestConfiguration
constraints: [ClaimConstraint!]
type: String!
}
Fields
AuthnRequestCredential.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 Verified Orchestration platform issuer DID will be used. This field should only be used when requesting credentials from external issuers.
AuthnRequestCredential.configuration
● RequestConfiguration
input
Optional settings for presentation validation.
AuthnRequestCredential.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.
AuthnRequestCredential.type
● String!
non-null scalar
The verifiable credential type. The type must match the type as defined in the issuer verifiable credential manifest.