Skip to main content

ProofService.generateAuthV2Inputs() 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.

generates auth inputs

Signature:

generateAuthV2Inputs(hash: Uint8Array, did: DID, circuitId: CircuitId): Promise<Uint8Array>;

Parameters

ParameterTypeDescription
hashUint8Arraychallenge that will be signed
didDIDidentity that will generate a proof
circuitIdCircuitIdcircuit id for authentication

Returns:

Promise<Uint8Array>

Promise<Uint8Array>