Skip to main content

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

ParameterTypeDescription
offerUint8Arrayraw byte message
optsFetchHandlerOptions(Optional) FetchHandlerOptions

Returns:

Promise<W3CCredential[]>

Promise<{ token: string; authRequest: AuthorizationRequestMessage; authResponse: AuthorizationResponseMessage; }>