FetchHandler.handleCredentialOffer() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Handles only messages with credentials/1.0/offer type
Signature:
handleCredentialOffer(offer: Uint8Array, opts?: FetchHandlerOptions): Promise<W3CCredential[]>;
Parameters
Parameter | Type | Description |
---|---|---|
offer | Uint8Array | |
opts | FetchHandlerOptions | (Optional) |
Returns:
Promise<W3CCredential[]>
Promise<W3CCredential>