You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Cold start and Application.absoluteURL not null so process Deep Link.
51
+
// Handle the deep link if provided during a cold start
46
52
OnDeepLinkActivated(Application.absoluteURL);
47
53
}
48
54
#endif
49
55
}
50
56
51
57
/// <summary>
52
-
/// Initialises Passport
58
+
/// Initialises Passport with the specified parameters.
59
+
/// This sets up the Passport instance, configures the web browser, and waits for the ready signal.
53
60
/// </summary>
54
61
/// <param name="clientId">The client ID</param>
55
62
/// <param name="environment">The environment to connect to</param>
56
-
/// <param name="redirectUri">(Android, iOS and macOS only) The URL to which auth will redirect the browser after authorisation has been granted by the user</param>
57
-
/// <param name="logoutRedirectUri">(Android, iOS and macOS only) The URL to which auth will redirect the browser after log out is complete</param>
58
-
/// <param name="engineStartupTimeoutMs">(Windows only) Timeout time for waiting for the engine to start (in milliseconds)</param>
63
+
/// <param name="redirectUri">(Android, iOS, and macOS only) The URL where the browser will redirect after successful authentication.</param>
64
+
/// <param name="logoutRedirectUri">(Android, iOS, and macOS only) The URL where the browser will redirect after logout is complete.</param>
65
+
/// <param name="engineStartupTimeoutMs">(Windows only) Timeout duration in milliseconds to wait for the default Windows browser engine to start.</param>
66
+
/// <param name="webBrowserClient">(Windows only) Custom Windows browser to use instead of the default browser in the SDK.</param>
@@ -95,43 +114,79 @@ public static UniTask<Passport> Init(
95
114
}
96
115
else
97
116
{
117
+
// Return the existing instance if already initialised
98
118
readySignalReceived=true;
99
119
returnUniTask.FromResult(Instance);
100
120
}
101
121
}
102
122
123
+
/// <summary>
124
+
/// Initialises the appropriate web browser and sets up browser communication.
125
+
/// </summary>
126
+
/// <param name="engineStartupTimeoutMs">(Windows only) Timeout duration in milliseconds to wait for the default Windows browser engine to start.</param>
127
+
/// <param name="webBrowserClient">(Windows only) Custom Windows browser to use instead of the default browser in the SDK.</param>
0 commit comments