Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion embedded-wallets/code-examples/add-credential.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "Add an Additional Passkey"
description: "This guide demonstrates how to add a new credential (specifically, a passkey) to an existing wallet using the Turnkey SDK."
---

> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](https://docs.turnkey.com/generated-docs/formatted/react-wallet-kit/client-context-type-add-passkey) for the updated packages.

### Initialize the Passkey Client

Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/authenticate-user-email.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Authenticate a User with Email"
mode: wide
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/auth) for the updated packages.

<Steps>
<Step title="Initialize Turnkey">
Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/authenticate-user-passkey.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Authenticate a User with a Passkey Credential"
mode: wide
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/sub-organization-customization) for the updated packages.

<Steps>
<Step title="Initialize the Passkey Client">
Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/create-passkey-session.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Create a User Passkey Session"
description: 'A passkey session is an expiring session enabled by an initial passkey authentication. You could think of this as a "lightning mode" of sorts: creating a passkey session allows users to authenticate subsequent requests touch-free. Under the hood, this is powered by our [indexedDbStamper](/sdks/advanced/indexed-db-stamper). These sessions are enabled by creating a short-lived embedded API key in the browser, stored in localStorage, and cryptographically scoped to a public key generated by IndexedDB.'
---
> ⚠️ **This example is outdated !**<br/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

> Head over to [SDK Reference](https://docs.turnkey.com/generated-docs/formatted/react-wallet-kit/client-context-type-login-with-passkey) for the updated packages.

By calling `loginWithPasskey()`, the SDK stores the session and active client in localStorage. The signing key material remains securely stored in the browser’s IndexedDB and is never extractable. Turnkey uses this public key to scope and encrypt the session to the appropriate user.

Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/create-sub-org-passkey.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Create a Sub-Org with a Passkey User"
description: "In this guide, we'll walk through the process of creating a new end user with a passkey."
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/sub-organization-customization) for the updated packages.

## Overview

Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/create-user-email.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Create a User with Email Only"
description: "This example demonstrates how to create a sub organization using just an end-user's email: passkeys not required! Note that this flow does not require emails to be verified."
mode: wide
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/sub-organization-customization) for the updated packages.

<Steps>
<Step title="Initialize Turnkey">
Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Export Wallet or Private Key"
description: "This is a guide to exporting your wallet or private key from Turnkey. For more information about the security of this flow, check out [Enclave secure channels](/security/enclave-secure-channels)."
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](/sdks/react/using-embedded-wallets#importing-and-exporting-wallets) for the updated packages.

## Implementation guides

Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/import.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Import Wallet or Private Key"
description: "This is a guide to importing your wallet or private key into Turnkey. For more information about the security of this flow, check out [Enclave secure channels](/security/enclave-secure-channels)."
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](/sdks/react/using-embedded-wallets#importing-and-exporting-wallets) for the updated packages.

## Implementation guides

Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/signing-transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Signing Transactions"
description: "This is a guide to signing transactions in the browser context. While these snippets leverage Ethers, it can be swapped out for other signers in the Viem or Solana contexts. See [here](https://github.com/tkhq/sdk/tree/main/examples/with-eth-passkeys-galore) for an example with both Ethers and Viem in the passkey + browser context, and [here](https://github.com/tkhq/sdk/tree/main/examples/with-solana-passkeys) for a similar example with Solana."
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](/sdks/react/signing) for the updated packages.

## Steps using `@turnkey/sdk-react`

Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/social-linking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Social Linking"
description: "This is a guide to implementing social linking within a Turnkey-powered application. For more information on what social linking is, see [here](/authentication/social-logins#social-linking)."
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/auth#configuring-oauth) for the updated packages.

## Using @turnkey/sdk-react

Expand Down
2 changes: 2 additions & 0 deletions embedded-wallets/code-examples/wallet-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: 'Wallet Authentication'
description: "In this guide, we'll explore how to leverage the `WalletClient` in the Turnkey SDK to authenticate requests to Turnkey's API using either Solana or Ethereum wallets."
---
> ⚠️ **This example is outdated !**<br/>
> Head over to [SDK Reference](/sdks/react/using-external-wallets/overview) for the updated packages.

## Initialize

Expand Down