WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 758b3f1

Browse files
committed
add table
1 parent 8177bdf commit 758b3f1

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/sdk/pnp/unity/mfa.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ displayed_sidebar: sdk
55
description: "Web3Auth PnP Unity SDK - Multi Factor Authentication | Documentation - Web3Auth"
66
---
77

8+
import TabItem from "@theme/TabItem";
9+
import Tabs from "@theme/Tabs";
10+
811
MFA is an extra layer of protection that verifies your identity when accessing your account. To ensure ownership, you must provide two or more
912
different backup factors. You have the option to choose from the device, social, backup factor (seed phrase), and password factors to guarantee access
1013
to your Web3 account. Once you create a recovery factor, MFA is enabled, and your keys are divided into three shares for off-chain multi-sig, making
@@ -82,6 +85,27 @@ Plan**. You can use this feature for free in the development environment.
8285

8386
:::
8487

88+
`MfaSetting`
89+
90+
<Tabs
91+
defaultValue="table"
92+
values={[
93+
{ label: "Table", value: "table" },
94+
{ label: "Class", value: "class" },
95+
]}
96+
>
97+
98+
<TabItem value="table">
99+
100+
| Parameter | Description |
101+
| ------------ | ------------------------------------------------------------------------------- |
102+
| `enable` | Enable/Disable MFA. It accepts `bool` as a value. |
103+
| `priority?` | Priority of MFA. It accepts `int` as a value, where valid range is from 1 to 4. |
104+
| `mandatory?` | Mandatory/Optional MFA. It acccepts `bool` as a value. |
105+
106+
</TabItem>
107+
<TabItem value="class">
108+
85109
```cs
86110
public class MfaSetting
87111
{
@@ -99,6 +123,9 @@ public class MfaSetting
99123
}
100124
```
101125

126+
</TabItem>
127+
</Tabs>
128+
102129
```cs title="Usage"
103130
using System;
104131
using System.Linq;

0 commit comments

Comments
 (0)