-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Update Web3Auth SDK to 3.0.0 (#226)
* ✨ Update Web3Auth SDK to 3.0.0 * 🔖 Bump SDK version 1.2.5
- Loading branch information
1 parent
fe5466e
commit a064c45
Showing
12 changed files
with
232 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
#nullable enable | ||
public class ChainConfig { | ||
public Web3Auth.ChainNamespace? chainNamespace { get; set; } = Web3Auth.ChainNamespace.EIP155; | ||
public int decimals { get; set; } = 18; | ||
public string blockExplorerUrl { get; set; } = null; | ||
public string chainId { get; set; } | ||
public string displayName { get; set; } = null; | ||
public string logo { get; set; } = null; | ||
public string rpcTarget { get; set; } | ||
public string ticker { get; set; } = null; | ||
public string tickerName { get; set; } = null; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
using System; | ||
using UnityEngine.Scripting; | ||
|
||
[Preserve] | ||
[Serializable] | ||
public class LoginParams | ||
{ | ||
[Preserve] | ||
public Provider loginProvider { get; set; } | ||
[Preserve] | ||
public string dappShare { get; set; } | ||
[Preserve] | ||
public ExtraLoginOptions extraLoginOptions { get; set; } | ||
[Preserve] | ||
public Uri redirectUrl { get; set; } | ||
[Preserve] | ||
public string appState { get; set; } | ||
[Preserve] | ||
public MFALevel mfaLevel { get; set; } | ||
[Preserve] | ||
|
||
public Curve curve { get; set; } = Curve.SECP256K1; | ||
public string dappUrl { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
#pragma warning disable CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. | ||
|
||
public class MfaSettings | ||
{ | ||
public MfaSetting? deviceShareFactor { get; set; } | ||
public MfaSetting? backUpShareFactor { get; set; } | ||
public MfaSetting? socialBackupFactor { get; set; } | ||
public MfaSetting? passwordFactor { get; set; } | ||
public MfaSetting? passkeysFactor { get; set; } | ||
public MfaSetting? authenticatorFactor { get; set; } | ||
|
||
// Constructors | ||
public MfaSettings( | ||
MfaSetting? deviceShareFactor, | ||
MfaSetting? backUpShareFactor, | ||
MfaSetting? socialBackupFactor, | ||
MfaSetting? passwordFactor) | ||
MfaSetting? passwordFactor, | ||
MfaSetting? passkeysFactor, | ||
MfaSetting? authenticatorFactor) | ||
{ | ||
this.deviceShareFactor = deviceShareFactor; | ||
this.backUpShareFactor = backUpShareFactor; | ||
this.socialBackupFactor = socialBackupFactor; | ||
this.passwordFactor = passwordFactor; | ||
this.passkeysFactor = passkeysFactor; | ||
this.authenticatorFactor = authenticatorFactor; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
public class SessionResponse | ||
{ | ||
public string sessionId; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using System; | ||
using System; | ||
using UnityEngine.Scripting; | ||
|
||
[Serializable] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.