IFetchHandler.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.
unpacks authorization request
Signature:
handleCredentialOffer(offer: Uint8Array, opts?: FetchHandlerOptions): Promise<W3CCredential[]>;
Parameters
Parameter | Type | Description |
---|---|---|
offer | Uint8Array | raw byte message |
opts | FetchHandlerOptions | (Optional) FetchHandlerOptions |
Returns:
Promise<W3CCredential[]>
Promise<{ token: string; authRequest: AuthorizationRequestMessage; authResponse: AuthorizationResponseMessage; }>