Skip to content

Commit 2fdda50

Browse files
committed
nit
1 parent e44451d commit 2fdda50

File tree

28 files changed

+78
-78
lines changed

28 files changed

+78
-78
lines changed

docs/connect-blockchain/solana/android.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ checking, if user is already authenticated, we can check whether private key is
8080
By default, the session is persisted for 1 day. You can modify it using `sessionTime` parameter
8181
during initialization.
8282

83-
> Note: Note: The session can be persisted only for 7 days max
83+
> Note: Note: The session can be persisted only for 30 days max
8484
8585
```kotlin
8686
import com.web3auth.core.Web3Auth

docs/connect-blockchain/solana/flutter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ to `HomeScreen`, otherwise we can route them to `LoginScreen`.
7272
By default, the session is persisted for 1 day. You can modify it using `sessionTime` parameter
7373
during initialization.
7474

75-
> Note: The session can be persisted only for 7 days max.
75+
> Note: The session can be persisted only for 30 days max.
7676
7777
```dart
7878
// Additional imports

docs/connect-blockchain/solana/ios.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if user is already authenticated, we can check whether `Web3Auth.state` is `nil`
9797
By default, the session is persisted for 1 day. You can modify it using `sessionTime` parameter
9898
during initialization.
9999

100-
> Note: Note: The session can be persisted only for 7 days max
100+
> Note: Note: The session can be persisted only for 30 days max
101101
102102
```swift
103103
import Web3Auth

docs/features/session-management.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ iOS Keychain Services.
6464
## Customizing Session Duration
6565

6666
Developers have the flexibility to define the duration of the session through the `sessionTime`
67-
parameter, setting it anywhere from 1 day to a maximum of 7 days. This allows for a balance between
67+
parameter, setting it anywhere from 1 day to a maximum of 30 days. This allows for a balance between
6868
convenience for the user and security considerations for the application. It is recommended to
6969
initiate the Web3Auth SDKs at the start of your application (e.g., in the constructor) to ensure
7070
that users benefit from an uninterrupted experience, with their login state ready and waiting as

docs/migration-guides/sfa-android-v0.4.0-to-v1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In v8, we try to improve the developer experience by renaming the parameter and
2424
- `SingleFactorAuthArgs` is now renamed to `SFAParams`. It has been renamed to align with naming
2525
conventions across Web3Auth SDKs.
2626
- `sessionTime` was added to specify session duration in seconds. By default, the value is set to
27-
86400 seconds (1 day), with a maximum session duration of up to 7 days.
27+
86400 seconds (1 day), with a maximum session duration of up to 30 days.
2828
- `serverTimeOffset` was added to specify a custom server time offset. The default value is 0
2929

3030
```kotlin

docs/migration-guides/sfa-flutter-v4-to-v5.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ parameter for session management.
1818
- `clientid` parameter, used to define Web3Auth's Client ID, has been renamed to `clientId` to align
1919
with naming conventions.
2020
- `sessionTime` was added to specify session duration in seconds. By default, the value is set to
21-
86400 seconds (1 day), with a maximum session duration of up to 7 days
21+
86400 seconds (1 day), with a maximum session duration of up to 30 days
2222

2323
```dart
2424
final singleFactAuthFlutter = SingleFactAuthFlutter();

docs/migration-guides/sfa-ios-v7-to-v8.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In v8, we try to improve the developer experience by renaming the parameter and
2222
- `SingleFactorAuthArgs` is now renamed to `SFAParams`. It has been renamed to align with naming
2323
conventions across Web3Auth SDKs.
2424
- `sessionTime` was added to specify session duration in seconds. By default, the value is set to
25-
86400 seconds (1 day), with a maximum session duration of up to 7 days
25+
86400 seconds (1 day), with a maximum session duration of up to 30 days
2626

2727
```swift
2828
// remove-next-line

docs/sdk/pnp/android/initialize.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ The Web3Auth Constructor takes an object with `Web3AuthOptions` as input.
3939

4040
<TabItem value="table">
4141

42-
| Parameter | Description |
43-
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
44-
| `context` | Android context to launch Web-based authentication, usually is the current activity. It's a mandatory field, and accepts `android.content.Context` as a value. |
45-
| `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` |
46-
| `network` | Defines the Web3Auth network. It's a mandatory field of type Network. |
47-
| `redirectUrl` | URL that Web3Auth will redirect API responses upon successful authentication from browser. It's a mandatory field of type `Uri`. |
48-
| `whiteLabel?` | WhiteLabel options for web3auth. It helps you define custom UI, branding, and translations for your brand app. It takes `WhiteLabelData` as a value. |
49-
| `loginConfig?` | Login config for the custom verifiers. It takes `HashMap<String, LoginConfigItem>` as a value. |
50-
| `useCoreKitKey?` | Use CoreKit Key to get core kit key. It's an optional field with default value as `false`. |
51-
| `chainNamespace?` | Chain Namespace [`EIP155` and `SOLANA`]. It takes `ChainNamespace` as a value. |
52-
| `mfaSettings?` | Allows developers to configure the Mfa settings for authentication. It takes `MfaSettings` as a value. |
53-
| `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 |
42+
| Parameter | Description |
43+
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
44+
| `context` | Android context to launch Web-based authentication, usually is the current activity. It's a mandatory field, and accepts `android.content.Context` as a value. |
45+
| `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` |
46+
| `network` | Defines the Web3Auth network. It's a mandatory field of type Network. |
47+
| `redirectUrl` | URL that Web3Auth will redirect API responses upon successful authentication from browser. It's a mandatory field of type `Uri`. |
48+
| `whiteLabel?` | WhiteLabel options for web3auth. It helps you define custom UI, branding, and translations for your brand app. It takes `WhiteLabelData` as a value. |
49+
| `loginConfig?` | Login config for the custom verifiers. It takes `HashMap<String, LoginConfigItem>` as a value. |
50+
| `useCoreKitKey?` | Use CoreKit Key to get core kit key. It's an optional field with default value as `false`. |
51+
| `chainNamespace?` | Chain Namespace [`EIP155` and `SOLANA`]. It takes `ChainNamespace` as a value. |
52+
| `mfaSettings?` | Allows developers to configure the Mfa settings for authentication. It takes `MfaSettings` as a value. |
53+
| `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 30 days |
5454

5555
</TabItem>
5656

docs/sdk/pnp/android/usage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ val userInfo = web3Auth.getUserInfo()
361361
## Session Management
362362

363363
The Session Management feature allows you to check the existing sessions with Web3Auth. The SDK will
364-
allow users to remain authenticated with Web3Auth for 1 day by default, or a maximum of 7 days, or
364+
allow users to remain authenticated with Web3Auth for 1 day by default, or a maximum of 30 days, or
365365
until the user logout or session data is cleared.
366366

367367
The `Web3AuthOptions` initialization accepts a `sessionTime` parameter.

docs/sdk/pnp/flutter/initialize.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ instance.
4848
| `useCoreKitKey?` | Use CoreKit Key to get core kit key. It's an optional field with default value as `false`. |
4949
| `chainNamespace?` | Chain Namespace [`eip155` and `solana`]. It takes [ChainNamespace](https://pub.dev/documentation/web3auth_flutter/latest/enums/ChainNamespace.html) as a value. |
5050
| `mfaSettings?` | Allows developers to configure the Mfa settings for authentication. It takes [MfaSettings](https://pub.dev/documentation/web3auth_flutter/latest/input/MfaSettings-class.html) as a value. |
51-
| `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 |
51+
| `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 30 days |
5252

5353
</TabItem>
5454

0 commit comments

Comments
 (0)