├── Assets ├── Resources │ ├── webauth │ └── webauth.meta ├── .DS_Store ├── Plugins │ ├── .DS_Store │ ├── Web3AuthSDK │ │ ├── Types │ │ │ ├── RedirectResponse.cs │ │ │ ├── SessionResponse.cs │ │ │ ├── SecurePlayerPrefs.cs │ │ │ ├── ShareMetadata.cs │ │ │ ├── Curve.cs.meta │ │ │ ├── Display.cs.meta │ │ │ ├── MFALevel.cs.meta │ │ │ ├── Prompt.cs.meta │ │ │ ├── Provider.cs.meta │ │ │ ├── UserInfo.cs.meta │ │ │ ├── AES256CBC.cs.meta │ │ │ ├── LoginParams.cs.meta │ │ │ ├── MfaSetting.cs.meta │ │ │ ├── MfaSettings.cs.meta │ │ │ ├── ShareMetadata.cs.meta │ │ │ ├── SignResponse.cs.meta │ │ │ ├── TypeOfLogin.cs.meta │ │ │ ├── Web3AuthError.cs.meta │ │ │ ├── ECPointArithmetic.cs.meta │ │ │ ├── ExtraLoginOptions.cs.meta │ │ │ ├── LoginConfigItem.cs.meta │ │ │ ├── RedirectResponse.cs.meta │ │ │ ├── SecurePlayerPrefs.cs.meta │ │ │ ├── Web3AuthOptions.cs.meta │ │ │ ├── Web3AuthResponse.cs.meta │ │ │ ├── WhiteLabelData.cs.meta │ │ │ ├── DictionaryExtensions.cs.meta │ │ │ ├── Curve.cs │ │ │ ├── Web3AuthResponse.cs │ │ │ ├── Display.cs │ │ │ ├── MFALevel.cs │ │ │ ├── Prompt.cs │ │ │ ├── MfaSetting.cs │ │ │ ├── LoginParams.cs │ │ │ ├── SignResponse.cs │ │ │ ├── WhiteLabelData.cs │ │ │ ├── UserInfo.cs │ │ │ ├── ChainConfig.cs │ │ │ ├── LoginConfigItem.cs │ │ │ ├── DictionaryExtensions.cs │ │ │ ├── Web3AuthError.cs │ │ │ ├── MfaSettings.cs │ │ │ ├── ExtraLoginOptions.cs │ │ │ ├── TypeOfLogin.cs │ │ │ ├── Provider.cs │ │ │ ├── Web3AuthOptions.cs │ │ │ ├── AES256CBC.cs │ │ │ └── ECPointArithmetic.cs │ │ ├── .DS_Store │ │ ├── iOS │ │ │ ├── .DS_Store │ │ │ ├── WebAuthenticate.swift │ │ │ ├── WebAuthenticate.mm.meta │ │ │ ├── WebAuthenticate.swift.meta │ │ │ └── WebAuthenticate.mm │ │ ├── Editor │ │ │ ├── CreateDeepLink.uss │ │ │ ├── BuildPostProcess.cs.meta │ │ │ ├── CreateDeepLink.cs.meta │ │ │ ├── AndroidBuildPostProcess.cs.meta │ │ │ ├── CreateDeepLink.uxml.meta │ │ │ ├── CreateDeepLink.uss.meta │ │ │ ├── CreateDeepLink.uxml │ │ │ ├── BuildPostProcess.cs │ │ │ ├── CreateDeepLink.cs │ │ │ └── AndroidBuildPostProcess.cs │ │ ├── Libs │ │ │ ├── BouncyCastle.Crypto.dll │ │ │ └── BouncyCastle.Crypto.dll.meta │ │ ├── Logo │ │ │ ├── web3auth-logo-dark.png │ │ │ └── web3auth-logo-dark.png.meta │ │ ├── Android │ │ │ ├── androidx.core.core-1.8.0.aar │ │ │ ├── androidx.browser.browser-1.5.0.aar │ │ │ ├── androidx.annotation.annotation-1.6.0.jar │ │ │ ├── androidx.arch.core.core-common-2.2.0.jar │ │ │ ├── androidx.collection.collection-1.2.0.jar │ │ │ ├── com.google.guava.listenablefuture-1.0.jar │ │ │ ├── androidx.interpolator.interpolator-1.0.0.aar │ │ │ ├── androidx.lifecycle.lifecycle-common-2.6.0.jar │ │ │ ├── androidx.lifecycle.lifecycle-runtime-2.6.0.aar │ │ │ ├── androidx.concurrent.concurrent-futures-1.1.0.jar │ │ │ ├── androidx.versionedparcelable.versionedparcelable-1.1.1.aar │ │ │ ├── BrowserView.java.meta │ │ │ ├── androidx.core.core-1.8.0.aar.meta │ │ │ ├── androidx.browser.browser-1.5.0.aar.meta │ │ │ ├── androidx.annotation.annotation-1.6.0.jar.meta │ │ │ ├── androidx.arch.core.core-common-2.2.0.jar.meta │ │ │ ├── androidx.collection.collection-1.2.0.jar.meta │ │ │ ├── androidx.concurrent.concurrent-futures-1.1.0.jar.meta │ │ │ ├── androidx.lifecycle.lifecycle-common-2.6.0.jar.meta │ │ │ ├── androidx.lifecycle.lifecycle-runtime-2.6.0.aar.meta │ │ │ ├── androidx.versionedparcelable.versionedparcelable-1.1.1.aar.meta │ │ │ ├── androidx.interpolator.interpolator-1.0.0.aar.meta │ │ │ ├── com.google.guava.listenablefuture-1.0.jar.meta │ │ │ └── BrowserView.java │ │ ├── link.xml.meta │ │ ├── Android.meta │ │ ├── Api.meta │ │ ├── Debug.meta │ │ ├── Editor.meta │ │ ├── Libs.meta │ │ ├── Logo.meta │ │ ├── Samples.meta │ │ ├── Samples │ │ │ ├── Web3AuthSample.unity.meta │ │ │ ├── LoginVerifier.cs │ │ │ ├── LoginVerifier.cs.meta │ │ │ ├── Web3AuthSample.cs.meta │ │ │ └── Web3AuthSample.cs │ │ ├── Types.meta │ │ ├── WebGL.meta │ │ ├── iOS.meta │ │ ├── Api │ │ │ ├── Models.meta │ │ │ ├── Models │ │ │ │ ├── StoreApiResponse.cs │ │ │ │ ├── LogoutApiRequest.cs.meta │ │ │ │ ├── StoreApiResponse.cs.meta │ │ │ │ ├── ProjectConfigResponse.cs.meta │ │ │ │ ├── LogoutApiRequest.cs │ │ │ │ └── ProjectConfigResponse.cs │ │ │ ├── Web3AuthApi.cs.meta │ │ │ ├── WhiteLabelDataExtensions.cs.meta │ │ │ ├── WhiteLabelDataExtensions.cs │ │ │ └── Web3AuthApi.cs │ │ ├── Keystore.meta │ │ ├── link.xml │ │ ├── Utils.cs.meta │ │ ├── Web3Auth.cs.meta │ │ ├── Debug │ │ │ ├── Web3AuthDebug.cs.meta │ │ │ ├── Web3AuthDebug.uxml.meta │ │ │ ├── Web3AuthDebug.uss │ │ │ ├── Web3AuthDebug.uss.meta │ │ │ ├── Web3AuthDebug.uxml │ │ │ └── Web3AuthDebug.cs │ │ ├── Web3AuthExceptions.cs.meta │ │ ├── Keystore │ │ │ ├── KeyStoreManagerUtils.cs.meta │ │ │ └── KeyStoreManagerUtils.cs │ │ ├── Web3AuthExceptions.cs │ │ ├── WebGL │ │ │ ├── Web3AuthSDK.jslib │ │ │ └── Web3AuthSDK.jslib.meta │ │ └── Utils.cs │ ├── Android.meta │ ├── Android │ │ ├── AndroidManifest.xml.meta │ │ └── AndroidManifest.xml │ └── Web3AuthSDK.meta ├── Plugins.meta ├── Resources.meta └── StreamingAssets.meta ├── .DS_Store ├── .vscode └── settings.json ├── Images ├── Deep Link Debug.png ├── JsonDotNet Error.png └── Deep Link Generator.png ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── PresetManager.asset ├── XRSettings.asset ├── VersionControlSettings.asset ├── TimeManager.asset ├── EditorBuildSettings.asset ├── VFXManager.asset ├── AudioManager.asset ├── TagManager.asset ├── UnityConnectSettings.asset ├── PackageManagerSettings.asset ├── EditorSettings.asset ├── MemorySettings.asset ├── DynamicsManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── GraphicsSettings.asset ├── SceneTemplateSettings.json ├── InputManager.asset ├── QualitySettings.asset └── ProjectSettings.asset ├── .vsconfig ├── LICENSE.md ├── .gitignore ├── Packages ├── manifest.json └── packages-lock.json └── README.md /Assets/Resources/webauth: -------------------------------------------------------------------------------- 1 | torusapp://com.torus.Web3AuthUnity/auth -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/.DS_Store -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "dotnet.defaultSolution": "web3auth-unity-sdk.sln" 3 | } 4 | -------------------------------------------------------------------------------- /Assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/.DS_Store -------------------------------------------------------------------------------- /Assets/Plugins/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/.DS_Store -------------------------------------------------------------------------------- /Images/Deep Link Debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Images/Deep Link Debug.png -------------------------------------------------------------------------------- /Images/JsonDotNet Error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Images/JsonDotNet Error.png -------------------------------------------------------------------------------- /Images/Deep Link Generator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Images/Deep Link Generator.png -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/RedirectResponse.cs: -------------------------------------------------------------------------------- 1 | public class RedirectResponse 2 | { 3 | public string actionType; 4 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/SessionResponse.cs: -------------------------------------------------------------------------------- 1 | public class SessionResponse 2 | { 3 | public string sessionId; 4 | } -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2022.3.11f1 2 | m_EditorVersionWithRevision: 2022.3.11f1 (d00248457e15) 3 | -------------------------------------------------------------------------------- /.vsconfig: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "components": [ 4 | "Microsoft.VisualStudio.Workload.ManagedGame" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/.DS_Store -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/iOS/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/iOS/.DS_Store -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.uss: -------------------------------------------------------------------------------- 1 | #container { 2 | margin: 10px; 3 | } 4 | 5 | #title { 6 | margin-bottom: 20px; 7 | } 8 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Libs/BouncyCastle.Crypto.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Libs/BouncyCastle.Crypto.dll -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Logo/web3auth-logo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Logo/web3auth-logo-dark.png -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.core.core-1.8.0.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.core.core-1.8.0.aar -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.browser.browser-1.5.0.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.browser.browser-1.5.0.aar -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.annotation.annotation-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.annotation.annotation-1.6.0.jar -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.arch.core.core-common-2.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.arch.core.core-common-2.2.0.jar -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.collection.collection-1.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.collection.collection-1.2.0.jar -------------------------------------------------------------------------------- /Assets/Resources/webauth.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bceaa8dd1f554c44986d360bf6142168 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/com.google.guava.listenablefuture-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/com.google.guava.listenablefuture-1.0.jar -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 191233b495c9fa34dbb2e15c97341302 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.interpolator.interpolator-1.0.0.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.interpolator.interpolator-1.0.0.aar -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.lifecycle.lifecycle-common-2.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.lifecycle.lifecycle-common-2.6.0.jar -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.lifecycle.lifecycle-runtime-2.6.0.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.lifecycle.lifecycle-runtime-2.6.0.aar -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/link.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95b24bd8ac51cf14583dbd6358c0d5c9 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff1278e1e59c14d40856a94526b35789 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce2713d86b0b748319b83d98855d8c88 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0897f91d72ebb499cac8d84dfae5501a 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.concurrent.concurrent-futures-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.concurrent.concurrent-futures-1.1.0.jar -------------------------------------------------------------------------------- /Assets/StreamingAssets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba3919a3133e4884aa5119162f6d9c84 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57868285b93caae48b2031430f822d81 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 760927f760046d04792d9841e2902e22 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d65e4b99748b02342b27312e52555b0f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Debug.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1c2ff91da20f00498fac2e2eaa582e2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53790c505320f4594a455507b48085da 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Libs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2185d40b1e0bad3458b0e5397e330657 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Logo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b47987eada4ab9418d8b9c79c928f82 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Samples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef20887048b887f449a6377dc9a289fb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07c37e41d2dee1e4cb956fd5f9d9bac1 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 475a5719bbcaa9c4c8403187cba29ec4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/WebGL.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 328ee4ce554c3fd4990e69ee78b2ad6e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d9c52ec4f3e943448b9065adf1e7683 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c08d12b0f968ed449b166022cae7afa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Keystore.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8011dd1ac14498f47985f2f99beb0738 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.versionedparcelable.versionedparcelable-1.1.1.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Web3Auth/web3auth-unity-sdk/HEAD/Assets/Plugins/Web3AuthSDK/Android/androidx.versionedparcelable.versionedparcelable-1.1.1.aar -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/ShareMetadata.cs: -------------------------------------------------------------------------------- 1 | 2 | public class ShareMetadata 3 | { 4 | public string iv { get; set; } 5 | public string ephemPublicKey { get; set; } 6 | public string ciphertext { get; set; } 7 | public string mac { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/link.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Models/StoreApiResponse.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class StoreApiResponse { 6 | public string message { get; set; } 7 | public bool success { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Utils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7be12162f6d02146bde599b3711e18a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Web3Auth.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3eab2a0bf902d6e4b9c2e968ad89f528 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Curve.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b39dc13e611244bd94ffbbabeb67851 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Display.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a2a0454d5645b64b914384e27e209c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/MFALevel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f0a6d77b6601f94aa91d2f77aaca9c4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Prompt.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 483c9ce07e4c387439fb7cf3f7c1a388 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Provider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d726f63285867184a9016460e6f380f4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/UserInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efe32d9afb0fc0e44ac809615a92ac4b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Web3AuthApi.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee40c99f3c4ea404cbb30e1d1ff89e74 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Debug/Web3AuthDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80d35d582d67ad84c9b6f640f16e85b3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/AES256CBC.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a56d531cd794eb469fefe7b9e2bc99c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53c1be04360f0504f89bfd4664310104 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/MfaSetting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c18c9f2d6c614e168f82ef75dc0ed8c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/MfaSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84c44fcb449df4b2db451e85439e068d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/ShareMetadata.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c695ca0b4b38de42a7e651c44f44cd4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/SignResponse.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f26ba794cd1aa453f9d80319028790eb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/TypeOfLogin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1465d9a3f378eb64692b5d08c2dee5a9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Web3AuthError.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c289ea6d91c293442b9a4bc4373ec770 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Web3AuthExceptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 750b5fcb680992c4592780c6f3faad8b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/BuildPostProcess.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb6f65d85426340f7836970217463166 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16e0f02adf0eb3e48867e3ecb50a7496 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Samples/LoginVerifier.cs: -------------------------------------------------------------------------------- 1 | public class LoginVerifier { 2 | public string name { get; set; } 3 | public Provider loginProvider { get; set; } 4 | 5 | public LoginVerifier(string name, Provider loginProvider) 6 | { 7 | this.name = name; 8 | this.loginProvider = loginProvider; 9 | } 10 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Samples/LoginVerifier.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce485e09d541b254e91a67428e265174 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3471ce8899ece85499b2d321fc1ebad4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/ECPointArithmetic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd40c8fc240f5da4aa7bfbbc56ee7489 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/ExtraLoginOptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 615b6a42463c10a43b1238983727a099 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/LoginConfigItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2084deef0ee33142b69d4593c983a90 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/RedirectResponse.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0da08b63bcc824757b442c41e9ddff78 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b1c902322fc7b64cb86bb428c5c427b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Web3AuthOptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c16dc04d434d0f4c9eb2d11c451c43e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Web3AuthResponse.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d307b66a628d8c41a38ea2e1564757d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/WhiteLabelData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd7a2739b2beb8f4e82a15b7d013025a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Models/LogoutApiRequest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81efc380f16a55c45821e7e7e5eb87d5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Models/StoreApiResponse.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c356aee18f4fae6448b1aea5493f9db1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/WhiteLabelDataExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e20464404da941b8aabc89fc8e0e03c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Keystore/KeyStoreManagerUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce0f9853a16fc6a4482f2e0f01ebc076 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/DictionaryExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87aab444af88148c4ab86b07a9c5eff3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Web3AuthExceptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | public class UserCancelledException : Exception 4 | { 5 | public UserCancelledException(): base("User cancelled.") { } 6 | } 7 | 8 | public class UnKnownException : Exception 9 | { 10 | public UnKnownException(string error) : base("User cancelled.") { } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Models/ProjectConfigResponse.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a1917453fdd945f0967a0f999ccdb58 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/AndroidBuildPostProcess.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 648fa46dcb05a0d42a1eef5e2892bc01 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Curve.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | using System.Runtime.Serialization; 4 | 5 | [JsonConverter(typeof(StringEnumConverter))] 6 | public enum Curve 7 | { 8 | [EnumMember(Value = "secp256k1")] 9 | SECP256K1, 10 | [EnumMember(Value = "ed25519")] 11 | ED25519 12 | } 13 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.unity 10 | guid: 07c37e41d2dee1e4cb956fd5f9d9bac1 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Debug/Web3AuthDebug.uxml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6efed4df341cc24385dd5e3227d59c3 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0} 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.uxml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dcdc478fe67d278428505b0d3cb5c05e 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0} 11 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Debug/Web3AuthDebug.uss: -------------------------------------------------------------------------------- 1 | #container { 2 | margin: 10px; 3 | } 4 | 5 | #title { 6 | margin-bottom: 20px; 7 | } 8 | 9 | #row { 10 | display: flex; 11 | flex-direction: row; 12 | } 13 | 14 | #debugLinkLabel { 15 | flex: 1; 16 | width: auto; 17 | max-width : 200px; 18 | } 19 | 20 | #debugLink { 21 | flex: 1; 22 | width: auto; 23 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Debug/Web3AuthDebug.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28ee1ed17456373468833b11633d67ac 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43fc2a0c28bae2343877a589eb5ff153 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Models/LogoutApiRequest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class LogoutApiRequest 6 | { 7 | public string key { get; set; } 8 | public string data { get; set; } 9 | public string signature { get; set; } 10 | public long timeout { get; set; } 11 | public string allowedOrigin { get; set; } = "*"; 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Web3AuthResponse.cs: -------------------------------------------------------------------------------- 1 | public class Web3AuthResponse 2 | { 3 | public string privKey { get; set; } 4 | public string ed25519PrivKey { get; set; } 5 | public UserInfo userInfo { get; set; } 6 | public string error { get; set; } 7 | public string sessionId { get; set; } 8 | public string coreKitKey { get; set; } 9 | public string coreKitEd25519PrivKey { get; set; } 10 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Display.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | using System.Runtime.Serialization; 4 | 5 | [JsonConverter(typeof(StringEnumConverter))] 6 | public enum Display 7 | { 8 | [EnumMember(Value = "page")] 9 | PAGE, 10 | [EnumMember(Value = "popup")] 11 | POPUP, 12 | [EnumMember(Value = "touch")] 13 | TOUCH, 14 | [EnumMember(Value = "wap")] 15 | WAP 16 | } 17 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/MFALevel.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | using System.Runtime.Serialization; 4 | 5 | [JsonConverter(typeof(StringEnumConverter))] 6 | public enum MFALevel 7 | { 8 | [EnumMember(Value = "default")] 9 | DEFAULT, 10 | [EnumMember(Value = "optional")] 11 | OPTIONAL, 12 | [EnumMember(Value = "mandatory")] 13 | MANDATORY, 14 | [EnumMember(Value = "none")] 15 | NONE 16 | } 17 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Prompt.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | using System.Runtime.Serialization; 4 | 5 | [JsonConverter(typeof(StringEnumConverter))] 6 | public enum Prompt 7 | { 8 | [EnumMember(Value = "none")] 9 | NONE, 10 | [EnumMember(Value = "login")] 11 | LOGIN, 12 | [EnumMember(Value = "consent")] 13 | CONSENT, 14 | [EnumMember(Value = "select_account")] 15 | SELECT_ACCOUNT 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/MfaSetting.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | #nullable enable 3 | public class MfaSetting 4 | { 5 | public bool enable { get; set; } 6 | public int? priority { get; set; } 7 | public bool? mandatory { get; set; } 8 | 9 | // Constructor 10 | public MfaSetting(bool enable, int? priority, bool? mandatory) 11 | { 12 | this.enable = enable; 13 | this.priority = priority; 14 | this.mandatory = mandatory; 15 | } 16 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | public class LoginParams 4 | { 5 | public Provider loginProvider { get; set; } 6 | public string dappShare { get; set; } 7 | public ExtraLoginOptions extraLoginOptions { get; set; } 8 | public Uri redirectUrl { get; set; } 9 | public string appState { get; set; } 10 | public MFALevel mfaLevel { get; set; } 11 | 12 | public Curve curve { get; set; } = Curve.SECP256K1; 13 | public string dappUrl { get; set; } 14 | } -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 0 20 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/SignResponse.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | public class SignResponse 4 | { 5 | public bool success; 6 | public string result; 7 | public string error; 8 | 9 | public SignResponse(bool success, string result = null, string error = null) 10 | { 11 | this.success = success; 12 | this.result = result; 13 | this.error = error; 14 | } 15 | 16 | public override string ToString() 17 | { 18 | return $"SignResponse(success: {success}, result: {result}, error: {error})"; 19 | } 20 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/WebGL/Web3AuthSDK.jslib: -------------------------------------------------------------------------------- 1 | mergeInto(LibraryManager.library, { 2 | GetCurrentURL: function() { 3 | var url = window.location.href; 4 | 5 | var bufferSize = lengthBytesUTF8(url) + 1; 6 | var buffer = _malloc(bufferSize); 7 | stringToUTF8(url, buffer, bufferSize); 8 | return buffer; 9 | }, 10 | 11 | OpenURL: function (url) { 12 | url = UTF8ToString(url); 13 | window.location.href = url; 14 | }, 15 | 16 | RemoveAuthCodeFromURL: function() { 17 | window.history.replaceState(null, null, ' '); 18 | }, 19 | 20 | }); -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/Models/ProjectConfigResponse.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | public class WhitelistResponse 4 | { 5 | public List urls { get; set; } 6 | public Dictionary signed_urls { get; set; } 7 | } 8 | 9 | public class ProjectConfigResponse 10 | { 11 | public WhiteLabelData whitelabel { get; set; } 12 | public bool sms_otp_enabled { get; set; } 13 | public bool wallet_connect_enabled { get; set; } 14 | public string wallet_connect_project_id { get; set; } 15 | public WhitelistResponse whitelist { get; set; } 16 | } -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/WhiteLabelData.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | #nullable enable 3 | public class WhiteLabelData { 4 | public string? appName { get; set; } 5 | public string? logoLight { get; set; } 6 | public string? logoDark { get; set; } 7 | public Web3Auth.Language? defaultLanguage { get; set; } = Web3Auth.Language.en; 8 | public Web3Auth.ThemeModes? mode { get; set; } = Web3Auth.ThemeModes.light; 9 | public Dictionary? theme { get; set; } 10 | public string? appUrl { get; set; } 11 | public bool? useLogoLoader { get; set; } = false; 12 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/UserInfo.cs: -------------------------------------------------------------------------------- 1 | public class UserInfo 2 | { 3 | public string email { get; set; } 4 | public string name { get; set; } 5 | public string profileImage { get; set; } 6 | public string aggregateVerifier { get; set; } 7 | public string verifier { get; set; } 8 | public string verifierId { get; set; } 9 | public string typeOfLogin { get; set; } 10 | public string dappShare { get; set; } 11 | public string idToken { get; set; } 12 | public string oAuthIdToken { get; set; } 13 | public string oAuthAccessToken { get; set; } 14 | public bool isMfaEnabled { get; set; } 15 | } 16 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/ChainConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | #nullable enable 3 | public class ChainConfig { 4 | public Web3Auth.ChainNamespace? chainNamespace { get; set; } = Web3Auth.ChainNamespace.EIP155; 5 | public int decimals { get; set; } = 18; 6 | public string blockExplorerUrl { get; set; } = null; 7 | public string chainId { get; set; } 8 | public string displayName { get; set; } = null; 9 | public string logo { get; set; } = null; 10 | public string rpcTarget { get; set; } 11 | public string ticker { get; set; } = null; 12 | public string tickerName { get; set; } = null; 13 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.uxml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/LoginConfigItem.cs: -------------------------------------------------------------------------------- 1 | public class LoginConfigItem { 2 | public string verifier { get; set; } 3 | public TypeOfLogin typeOfLogin { get; set; } 4 | public string name { get; set; } 5 | public string description { get; set; } 6 | public string clientId { get; set; } 7 | public string verifierSubIdentifier { get; set; } 8 | public string logoHover { get; set; } 9 | public string logoLight { get; set; } 10 | public string logoDark { get; set; } 11 | public bool mainOption { get; set; } = false; 12 | public bool showOnModal { get; set; } = true; 13 | public bool showOnDesktop { get; set; } = true; 14 | public bool showOnMobile { get; set; } = true; 15 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Debug/Web3AuthDebug.uxml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/WebGL/Web3AuthSDK.jslib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: def6b5837a58d224897ccd570ad72fb2 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | WebGL: WebGL 27 | second: 28 | enabled: 1 29 | settings: {} 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/BrowserView.java.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 750f6308043c57a4a87456e4fd4725de 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.core.core-1.8.0.aar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85fcea26219be4d35b48385d788d09e5 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.browser.browser-1.5.0.aar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b100fc6d2347941789ed9b882f0a7a37 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.annotation.annotation-1.6.0.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dff8b1b0bdeaa445aa46c44b5404b869 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.arch.core.core-common-2.2.0.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96887d25b87004f819cf0accaee5ec29 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.collection.collection-1.2.0.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23b677d3499e54523a82a43d3df06b3d 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.concurrent.concurrent-futures-1.1.0.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c8d8116cf97a4296b169ce908cf748d 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.lifecycle.lifecycle-common-2.6.0.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ea28d45c8f5e4713b029e3695cc6938 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.lifecycle.lifecycle-runtime-2.6.0.aar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da4e39bf749d44b63ae66a8ab0aae746 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.versionedparcelable.versionedparcelable-1.1.1.aar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cce5e807ba2234663bce8d44edb49815 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Libs/BouncyCastle.Crypto.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73cf35c220798cf4f8e413918848ac3f 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/androidx.interpolator.interpolator-1.0.0.aar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edc5b50e7d21a7648a6db8ba3382a096 3 | labels: 4 | - gpsr 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | defineConstraints: [] 11 | isPreloaded: 0 12 | isOverridable: 0 13 | isExplicitlyReferenced: 0 14 | validateReferences: 1 15 | platformData: 16 | - first: 17 | Android: Android 18 | second: 19 | enabled: 1 20 | settings: {} 21 | - first: 22 | Any: 23 | second: 24 | enabled: 0 25 | settings: {} 26 | - first: 27 | Editor: Editor 28 | second: 29 | enabled: 0 30 | settings: 31 | DefaultValueInitialized: true 32 | userData: 33 | assetBundleName: 34 | assetBundleVariant: 35 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Android/com.google.guava.listenablefuture-1.0.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f217631cbed10f4d87ff1b38a97e019 3 | labels: 4 | - gpsr 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | defineConstraints: [] 11 | isPreloaded: 0 12 | isOverridable: 0 13 | isExplicitlyReferenced: 0 14 | validateReferences: 1 15 | platformData: 16 | - first: 17 | Android: Android 18 | second: 19 | enabled: 1 20 | settings: {} 21 | - first: 22 | Any: 23 | second: 24 | enabled: 0 25 | settings: {} 26 | - first: 27 | Editor: Editor 28 | second: 29 | enabled: 0 30 | settings: 31 | DefaultValueInitialized: true 32 | userData: 33 | assetBundleName: 34 | assetBundleVariant: 35 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/DictionaryExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | public static class DictionaryExtensions 4 | { 5 | public static Dictionary mergeMaps(this Dictionary source, Dictionary other) 6 | { 7 | if (source == null && other == null) 8 | { 9 | return null; 10 | } 11 | else if (source == null) 12 | { 13 | return new Dictionary(other); 14 | } 15 | else if (other == null) 16 | { 17 | return new Dictionary(source); 18 | } 19 | 20 | var mergedMap = new Dictionary(source); 21 | foreach (var entry in other) 22 | { 23 | mergedMap[entry.Key] = entry.Value; 24 | } 25 | 26 | return mergedMap; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Web3AuthError.cs: -------------------------------------------------------------------------------- 1 | enum ErrorCode 2 | { 3 | NOUSERFOUND, 4 | ENCODING_ERROR, 5 | DECODING_ERROR, 6 | RUNTIME_ERROR, 7 | APP_CANCELLED, 8 | SOMETHING_WENT_WRONG, 9 | } 10 | sealed class Web3AuthError 11 | { 12 | public static string getError(ErrorCode errorCode) 13 | { 14 | switch (errorCode) 15 | { 16 | case ErrorCode.NOUSERFOUND: 17 | return "No user found, please login again!"; 18 | case ErrorCode.ENCODING_ERROR: 19 | return "Encoding Error"; 20 | case ErrorCode.DECODING_ERROR: 21 | return "Decoding Error"; 22 | case ErrorCode.SOMETHING_WENT_WRONG: 23 | return "Something went wrong!"; 24 | case ErrorCode.RUNTIME_ERROR: 25 | return "Runtime Error"; 26 | case ErrorCode.APP_CANCELLED: 27 | return "App Cancelled!"; 28 | 29 | } 30 | return ""; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2022 Torus Labs Private Limited. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/MfaSettings.cs: -------------------------------------------------------------------------------- 1 | public class MfaSettings 2 | { 3 | public MfaSetting? deviceShareFactor { get; set; } 4 | public MfaSetting? backUpShareFactor { get; set; } 5 | public MfaSetting? socialBackupFactor { get; set; } 6 | public MfaSetting? passwordFactor { get; set; } 7 | public MfaSetting? passkeysFactor { get; set; } 8 | public MfaSetting? authenticatorFactor { get; set; } 9 | 10 | // Constructors 11 | public MfaSettings( 12 | MfaSetting? deviceShareFactor, 13 | MfaSetting? backUpShareFactor, 14 | MfaSetting? socialBackupFactor, 15 | MfaSetting? passwordFactor, 16 | MfaSetting? passkeysFactor, 17 | MfaSetting? authenticatorFactor) 18 | { 19 | this.deviceShareFactor = deviceShareFactor; 20 | this.backUpShareFactor = backUpShareFactor; 21 | this.socialBackupFactor = socialBackupFactor; 22 | this.passwordFactor = passwordFactor; 23 | this.passkeysFactor = passkeysFactor; 24 | this.authenticatorFactor = authenticatorFactor; 25 | } 26 | } -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/ExtraLoginOptions.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | public class ExtraLoginOptions { 4 | public Dictionary additionalParams { get; set; } 5 | public string domain { get; set; } 6 | public string client_id { get; set; } 7 | public string leeway { get; set; } 8 | public string verifierIdField { get; set; } 9 | public bool isVerifierIdCaseSensitive { get; set; } 10 | public Display display { get; set; } 11 | public Prompt prompt { get; set; } 12 | public string max_age { get; set; } 13 | public string ui_locales { get; set; } 14 | public string id_token { get; set; } 15 | public string id_token_hint { get; set; } 16 | public string login_hint { get; set; } 17 | public string acr_values { get; set; } 18 | public string scope { get; set; } 19 | public string audience { get; set; } 20 | public string connection { get; set; } 21 | public string state { get; set; } 22 | public string response_type { get; set; } 23 | public string nonce { get; set; } 24 | public string redirect_uri { get; set; } 25 | } -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | m_DismissPreviewPackagesInUse: 0 21 | oneTimeWarningShown: 0 22 | m_Registries: 23 | - m_Id: main 24 | m_Name: 25 | m_Url: https://packages.unity.com 26 | m_Scopes: [] 27 | m_IsDefault: 1 28 | m_Capabilities: 7 29 | m_UserSelectedRegistryName: 30 | m_UserAddingNewScopedRegistry: 0 31 | m_RegistryInfoDraft: 32 | m_Modified: 0 33 | m_ErrorMessage: 34 | m_UserModificationsInstanceId: -854 35 | m_OriginalInstanceId: -856 36 | m_LoadAssets: 0 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/TypeOfLogin.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | using System.Runtime.Serialization; 4 | 5 | [JsonConverter(typeof(StringEnumConverter))] 6 | public enum TypeOfLogin 7 | { 8 | [EnumMember(Value = "google")] 9 | GOOGLE, 10 | [EnumMember(Value = "facebook")] 11 | FACEBOOK, 12 | [EnumMember(Value = "reddit")] 13 | REDDIT, 14 | [EnumMember(Value = "discord")] 15 | DISCORD, 16 | [EnumMember(Value = "twitch")] 17 | TWITCH, 18 | [EnumMember(Value = "apple")] 19 | APPLE, 20 | [EnumMember(Value = "line")] 21 | LINE, 22 | [EnumMember(Value = "github")] 23 | GITHUB, 24 | [EnumMember(Value = "kakao")] 25 | KAKAO, 26 | [EnumMember(Value = "linkedin")] 27 | LINKEDIN, 28 | [EnumMember(Value = "twitter")] 29 | TWITTER, 30 | [EnumMember(Value = "weibo")] 31 | WEIBO, 32 | [EnumMember(Value = "wechat")] 33 | WECHAT, 34 | [EnumMember(Value = "email_passwordless")] 35 | EMAIL_PASSWORDLESS, 36 | [EnumMember(Value = "email_password")] 37 | EMAIL_PASSWORD, 38 | [EnumMember(Value = "jwt")] 39 | JWT 40 | } -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 9 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_AssetPipelineMode: 1 31 | m_CacheServerMode: 0 32 | m_CacheServerEndpoint: 33 | m_CacheServerNamespacePrefix: default 34 | m_CacheServerEnableDownload: 1 35 | m_CacheServerEnableUpload: 1 36 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Types/Provider.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | using Newtonsoft.Json.Converters; 3 | using System.Runtime.Serialization; 4 | 5 | [JsonConverter(typeof(StringEnumConverter))] 6 | public enum Provider 7 | { 8 | [EnumMember(Value = "google")] 9 | GOOGLE, 10 | [EnumMember(Value = "facebook")] 11 | FACEBOOK, 12 | [EnumMember(Value = "reddit")] 13 | REDDIT, 14 | [EnumMember(Value = "discord")] 15 | DISCORD, 16 | [EnumMember(Value = "twitch")] 17 | TWITCH, 18 | [EnumMember(Value = "apple")] 19 | APPLE, 20 | [EnumMember(Value = "line")] 21 | LINE, 22 | [EnumMember(Value = "github")] 23 | GITHUB, 24 | [EnumMember(Value = "kakao")] 25 | KAKAO, 26 | [EnumMember(Value = "linkedin")] 27 | LINKEDIN, 28 | [EnumMember(Value = "twitter")] 29 | TWITTER, 30 | [EnumMember(Value = "weibo")] 31 | WEIBO, 32 | [EnumMember(Value = "wechat")] 33 | WECHAT, 34 | [EnumMember(Value = "email_passwordless")] 35 | EMAIL_PASSWORDLESS, 36 | [EnumMember(Value = "email_password")] 37 | EMAIL_PASSWORD, 38 | [EnumMember(Value = "jwt")] 39 | JWT, 40 | [EnumMember(Value = "CUSTOM_VERIFIER")] 41 | CUSTOM_VERIFIER, 42 | [EnumMember(Value = "sms_passwordless")] 43 | SMS_PASSWORDLESS, 44 | [EnumMember(Value = "farcaster")] 45 | FARCASTER 46 | } -------------------------------------------------------------------------------- /ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0.1 18 | m_ClothInterCollisionStiffness: 0.2 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 0 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ClothGravity: {x: 0, y: -9.81, z: 0} 26 | m_ContactPairsMode: 0 27 | m_BroadphaseType: 0 28 | m_WorldBounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 250, y: 250, z: 250} 31 | m_WorldSubdivisions: 8 32 | m_FrictionType: 0 33 | m_EnableEnhancedDeterminism: 0 34 | m_EnableUnifiedHeightmaps: 1 35 | m_SolverType: 0 36 | m_DefaultMaxAngularSpeed: 50 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/BuildPostProcess.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | using UnityEditor.Callbacks; 4 | using System.IO; 5 | using System.Collections; 6 | using System; 7 | 8 | public class BuildPostProcess 9 | { 10 | 11 | // Runs all the post process build steps. Called from Unity during build 12 | [PostProcessBuildAttribute(0)] // Configures this this post process to run first 13 | public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) 14 | { 15 | #if UNITY_IOS 16 | 17 | Uri uri = null; 18 | 19 | try 20 | { 21 | uri = new Uri(System.IO.File.ReadAllText("Assets/Resources/webauth")); 22 | } 23 | catch 24 | { 25 | 26 | throw new Exception("Deep Link uri is invalid or does not exist. Please generate from \"Window > Web3Auth > Generate Deep Link\" Menu"); 27 | } 28 | 29 | 30 | var infoPlist = new UnityEditor.iOS.Xcode.PlistDocument(); 31 | var infoPlistPath = pathToBuiltProject + "/Info.plist"; 32 | infoPlist.ReadFromFile(infoPlistPath); 33 | 34 | // Register ios URL scheme for external apps to launch this app. 35 | var urlTypeDict = infoPlist.root.CreateArray("CFBundleURLTypes").AddDict(); 36 | urlTypeDict.SetString("CFBundleURLName", uri.Host); 37 | 38 | var urlSchemes = urlTypeDict.CreateArray("CFBundleURLSchemes"); 39 | urlSchemes.AddString(uri.Scheme); 40 | 41 | infoPlist.WriteToFile(infoPlistPath); 42 | #endif 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/iOS/WebAuthenticate.swift: -------------------------------------------------------------------------------- 1 | import AuthenticationServices 2 | import SafariServices 3 | import UIKit 4 | 5 | 6 | @objc public class WebAuthenticate: NSObject { 7 | public static let instance = WebAuthenticate(); 8 | public static var authSession: ASWebAuthenticationSession? = nil; 9 | 10 | @objc public func call(_ url: String,_ redirectUri: String,_ objectName: String) { 11 | WebAuthenticate.authSession = ASWebAuthenticationSession( 12 | url: URL(string: url)!, callbackURLScheme: redirectUri) { callbackURL, authError in 13 | guard authError == nil, let callbackURL = callbackURL else { 14 | return 15 | } 16 | 17 | let unity = UnityFramework.getInstance(); 18 | unity?.sendMessageToGO(withName: objectName, functionName: "onDeepLinkActivated", message: callbackURL.absoluteString); 19 | } 20 | 21 | if #available(iOS 13.0, *) { 22 | WebAuthenticate.authSession?.presentationContextProvider = self 23 | WebAuthenticate.authSession?.prefersEphemeralWebBrowserSession = false 24 | } 25 | 26 | WebAuthenticate.authSession?.start(); 27 | } 28 | 29 | @objc public static func launch(_ url: String,_ redirectUri: String,_ objectName: String) { 30 | instance.call(url, redirectUri, objectName); 31 | } 32 | } 33 | 34 | 35 | @available(iOS 12.0, *) 36 | extension WebAuthenticate: ASWebAuthenticationPresentationContextProviding { 37 | public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor { 38 | return UnityFramework.getInstance().appController().window; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Uu]ser[Ss]ettings/ 12 | 13 | # MemoryCaptures can get excessive in size. 14 | # They also could contain extremely sensitive data 15 | /[Mm]emoryCaptures/ 16 | 17 | # Recordings can get excessive in size 18 | /[Rr]ecordings/ 19 | 20 | # Uncomment this line if you wish to ignore the asset store tools plugin 21 | # /[Aa]ssets/AssetStoreTools* 22 | 23 | # Autogenerated Jetbrains Rider plugin 24 | /[Aa]ssets/Plugins/Editor/JetBrains* 25 | 26 | # Visual Studio cache directory 27 | .vs/ 28 | 29 | # Gradle cache directory 30 | .gradle/ 31 | 32 | # Autogenerated VS/MD/Consulo solution and project files 33 | ExportedObj/ 34 | .consulo/ 35 | *.csproj 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | 50 | # Unity3D generated meta files 51 | *.pidb.meta 52 | *.pdb.meta 53 | *.mdb.meta 54 | 55 | # Unity3D generated file on crash reports 56 | sysinfo.txt 57 | 58 | # Builds 59 | *.apk 60 | *.aab 61 | *.unitypackage 62 | *.app 63 | 64 | # Crashlytics generated file 65 | crashlytics-build.properties 66 | 67 | # Packed Addressables 68 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 69 | 70 | # Temporary auto-generated Android Assets 71 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 72 | /[Aa]ssets/[Ss]treamingAssets/aa/* 73 | 74 | /UIElementsSchema 75 | ios-build/* 76 | web3auth-android-build_*/ 77 | TestBuild_BackUpThisFolder_ButDontShipItWithYourGame/* 78 | .DS_Store -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Api/WhiteLabelDataExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | public static class WhiteLabelDataExtensions 4 | { 5 | public static WhiteLabelData merge(this WhiteLabelData target, WhiteLabelData other) 6 | { 7 | if (target == null) 8 | return other; 9 | if (other == null) 10 | return target; 11 | 12 | return new WhiteLabelData 13 | { 14 | appName = target.appName ?? other.appName, 15 | appUrl = target.appUrl ?? other.appUrl, 16 | logoLight = target.logoLight ?? other.logoLight, 17 | logoDark = target.logoDark ?? other.logoDark, 18 | defaultLanguage = target.defaultLanguage ?? other.defaultLanguage, 19 | mode = target.mode ?? other.mode, 20 | useLogoLoader = target.useLogoLoader ?? other.useLogoLoader, 21 | theme = mergeThemes(target.theme, other.theme) 22 | }; 23 | } 24 | 25 | private static Dictionary mergeThemes(Dictionary targetTheme, Dictionary otherTheme) 26 | { 27 | if (otherTheme == null || otherTheme.Count == 0) 28 | return targetTheme; 29 | if (targetTheme == null || targetTheme.Count == 0) 30 | return otherTheme; 31 | 32 | var mergedTheme = new Dictionary(targetTheme); 33 | foreach (var kvp in targetTheme) 34 | { 35 | mergedTheme[kvp.Key] = kvp.Value; 36 | } 37 | foreach (var kvp in otherTheme) 38 | { 39 | if (!mergedTheme.ContainsKey(kvp.Key)) 40 | { 41 | mergedTheme.Add(kvp.Key, kvp.Value); 42 | } 43 | } 44 | return mergedTheme; 45 | } 46 | } -------------------------------------------------------------------------------- /Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | using UnityEngine.UIElements; 4 | using UnityEditor.UIElements; 5 | 6 | 7 | public class CreateDeepLink : EditorWindow 8 | { 9 | Button generateButton; 10 | TextField uri; 11 | 12 | 13 | [MenuItem("Window/Web3Auth/Generate Deep Link")] 14 | public static void ShowExample() 15 | { 16 | CreateDeepLink wnd = GetWindow(); 17 | wnd.titleContent = new GUIContent("Generate Deep Link"); 18 | } 19 | 20 | public void OnEnable() 21 | { 22 | // Each editor window contains a root VisualElement object 23 | VisualElement root = rootVisualElement; 24 | 25 | // Import UXML 26 | var visualTree = AssetDatabase.LoadAssetAtPath("Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.uxml"); 27 | VisualElement labelFromUXML = visualTree.CloneTree(); 28 | root.Add(labelFromUXML); 29 | 30 | var styleSheet = AssetDatabase.LoadAssetAtPath("Assets/Plugins/Web3AuthSDK/Editor/CreateDeepLink.uss"); 31 | root.styleSheets.Add(styleSheet); 32 | 33 | generateButton = root.Q