RequestCredentialsOptions class
Options configuring a credential issuance request sent via VDIP.
Constructors
- RequestCredentialsOptions({required String proposalId, String? challenge, CredentialFormat? credentialFormat, DataIntegrityProofSuite? dataIntegrityProofSuite, JsonWebSignatureAlgorithm? jsonWebSignatureAlgorithm, String? comment, Duration tokenExpiration = const Duration(minutes: 5), CredentialMeta? credentialMeta})
-
Creates a new set of request credential options.
const
Properties
- challenge → String?
-
Optional challenge value.
final
- comment → String?
-
Optional human-readable comment.
final
- credentialFormat → CredentialFormat?
-
Desired credential format (e.g. W3C, JWT VC, SD-JWT VC).
final
- credentialMeta → CredentialMeta?
-
Additional metadata to assist issuer in constructing the credential.
final
- dataIntegrityProofSuite → DataIntegrityProofSuite?
-
Data integrity proof suite to request.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonWebSignatureAlgorithm → JsonWebSignatureAlgorithm?
-
JWS algorithm for signing (if requesting JWT-based credentials).
final
- proposalId → String
-
ID referencing a credential proposal.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenExpiration → Duration
-
Expiration duration for an assertion token when requesting for a specific holder.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited