OID4VCIIssuerMetadata class

Represents metadata about a credential issuer.

This class contains endpoints and configuration information required for interacting with a credential issuer, including endpoints for token acquisition and credential issuance.

Example:

final metadata = OID4VCIIssuerMetadata(
  tokenEndpoint: 'https://issuer.example.com/token',
  credentialEndpoint: 'https://issuer.example.com/credential',
  returnUris: ['https://myapp.com/callback'],
);

Constructors

OID4VCIIssuerMetadata({required String tokenEndpoint, required String credentialEndpoint, required List<String> returnUris})
Creates a new OID4VCIIssuerMetadata instance.
const
OID4VCIIssuerMetadata.fromJson(Map<String, dynamic> json)
Creates an OID4VCIIssuerMetadata instance from a JSON map.
factory

Properties

credentialEndpoint String
The endpoint used to claim credentials.
final
hashCode int
The hash code for this object.
no setterinherited
returnUris List<String>
The URIs where the issuer can return responses.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenEndpoint String
The endpoint used to obtain access tokens for credential claims.
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