Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Function: decryptCredentialBundle()

decryptCredentialBundle(credentialBundle, embeddedKey): string
Defined in: turnkey.ts:59 Decrypt an encrypted email auth/recovery or oauth credential bundle.

Parameters

credentialBundle

string The encrypted credential bundle.

embeddedKey

string The private key for decryption.

Returns

string
  • The decrypted data or null if decryption fails.

Throws

  • If unable to decrypt the credential bundle