Skip to content

Commit c4ad903

Browse files
mention saphire in networks
1 parent 8281524 commit c4ad903

3 files changed

Lines changed: 12 additions & 20 deletions

File tree

docs/sdk/pnp/ios/initialize.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ let web3auth = Web3Auth(W3AInitParams(
5757

5858
The `Web3Auth` constructor takes an object called `W3AInitParams` as input. Below are the available fields of the `W3AInitParams` object.
5959

60-
| Parameter | Description |
61-
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
62-
| `clientId` | Your Web3Auth Client ID. You can get it from Web3Auth [Dashboard](https://dashboard.web3auth.io/) under project details. It's a mandatory field of type `String` |
63-
| `network` | Defines the Web3Auth network. It's a mandatory field of type Network. |
64-
| `redirectUrl` | URL that Web3Auth will redirect API responses upon successful authentication from browser. It's a mandatory field of type `URL`. |
65-
| `whiteLabel?` | WhiteLabel options for web3auth. It helps you define custom UI, branding, and translations for your brand app. It takes `W3AWhiteLabelData` as a value. |
66-
| `loginConfig?` | Login config for the custom verifiers. It takes Dictonary of `[String: W3ALoginConfig]` as a value. |
67-
| `useCoreKitKey?` | Use CoreKit Key to get core kit key. It's an optional field with default value as `false`. |
68-
| `chainNamespace?` | Chain Namespace [`eip155` and `solana`]. It takes `ChainNamespace` as a value. |
69-
| `mfaSettings?` | Allows developers to configure the Mfa settings for authentication. It takes `MfaSettings` as a value. |
70-
| `sessionTime?` | It allows developers to configure the session management time. Session Time is in seconds, default is 86400 seconds which is 1 day. `sessionTime` can be max 7 days |
60+
| Parameter | Description |
61+
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
62+
| `clientId` | Your Web3Auth Client ID. You can get it from Web3Auth [Dashboard](https://dashboard.web3auth.io/) under project details. It's a mandatory field of type `String` |
63+
| `network` | Defines the Web3Auth network. It's a mandatory field of type Network. Available options `sapphire_mainne`, `sapphire_devnet`, `mainnet`, `cyan`, `aqua`, and `testnet`. |
64+
| `redirectUrl` | URL that Web3Auth will redirect API responses upon successful authentication from browser. It's a mandatory field of type `URL`. |
65+
| `whiteLabel?` | WhiteLabel options for web3auth. It helps you define custom UI, branding, and translations for your brand app. It takes `W3AWhiteLabelData` as a value. |
66+
| `loginConfig?` | Login config for the custom verifiers. It takes Dictonary of `[String: W3ALoginConfig]` as a value. |
67+
| `useCoreKitKey?` | Use CoreKit Key to get core kit key. It's an optional field with default value as `false`. |
68+
| `chainNamespace?` | Chain Namespace [`eip155` and `solana`]. It takes `ChainNamespace` as a value. |
69+
| `mfaSettings?` | Allows developers to configure the Mfa settings for authentication. It takes `MfaSettings` as a value. |
70+
| `sessionTime?` | It allows developers to configure the session management time. Session Time is in seconds, default is 86400 seconds which is 1 day. `sessionTime` can be max 7 days |

docs/sdk/pnp/react-native/initialize.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,6 @@ export type SdkInitParams = {
154154
* dapp on {@link "https://dashboard.web3auth.io"| developer dashboard}
155155
*/
156156
clientId: string;
157-
/**
158-
* network specifies the openlogin sdk url to be used.
159-
*
160-
* - `'mainnet'`: https://app.openlogin.com will be used which is the production version.
161-
* - `'cyan'`: https://cyan.openlogin.com will be used which is the production cyan version.
162-
* - `'testnet'`: https://testing.openlogin.com will be used which is the testing version.
163-
* - `'development'`: http://localhost:3000 will be used for development purpose.
164-
*/
165157
network: OPENLOGIN_NETWORK_TYPE;
166158
/**
167159
* This parameter will be used to change the build environment of openlogin sdk.

docs/sdk/pnp/unity/initialize.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The Web3Auth Constructor takes a class `Web3AuthOptions` as input. This class ha
106106
```cs
107107
class Web3AuthOptions {
108108
string clientId; // Your Web3Auth project ID
109-
public Web3Auth.Network network; // Network to run Web3Auth, either MAINNET, TESTNET, AQUA or CYAN
109+
public Web3Auth.Network network; // Network to run Web3Auth, either SAPPHIRE_MAINNET, SAPPHIRE_DEVNET, MAINNET, TESTNET, AQUA or CYAN
110110
public Uri redirectUrl; // URL that Web3Auth will redirect API responses
111111
public WhiteLabelData? whiteLabel; // Optional param to configure look
112112
public Dictionary<string, LoginConfigItem> loginConfig; // Optional

0 commit comments

Comments
 (0)