minca
ApiSessionFunctions

Function: keyProof()

function keyProof(key, terms?): Promise<string>;

Defined in: packages/core/src/session/connect.ts:305

A key's proof that it holds itself, for a connect request with these terms (ConnectRequest.proof)

Parameters

ParameterType
key{ did: string; keys: CryptoKeyPair; }
key.didstring
key.keysCryptoKeyPair
terms?KeyTerms

Returns

Promise<string>

On this page