Skip to content

Function: mintClientSecret()

mintClientSecret(parentKey, session, options?): Promise<OracleCredential>

Defined in: packages/aiui-oracle/src/keys.ts:40

Mint an ephemeral client secret from a parent key. Exposed for the lab's "test the ephemeral flow" mode as much as for the sources below.

Parameters

parentKey

string

session

Record<string, unknown>

options?

MintOptions = {}

Returns

Promise<OracleCredential>