diff --git a/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs b/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs index 903322dd..eeb35602 100644 --- a/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs +++ b/src/Packages/Passport/Runtime/Scripts/Public/Passport.cs @@ -95,7 +95,7 @@ private Passport() /// The client ID /// The environment to connect to /// (Android, iOS, and macOS only) The URL where the browser will redirect after successful authentication. - /// (Android, iOS, and macOS only) The URL where the browser will redirect after logout is complete. + /// The URL where the browser will redirect after logout is complete. /// (Windows only) Timeout duration in milliseconds to wait for the default Windows browser engine to start. /// (Windows only) Custom Windows browser to use instead of the default browser in the SDK. public static UniTask Init( @@ -225,6 +225,9 @@ public void SetCallTimeout(int ms) /// If true, the saved access token or refresh token will be used to log the user in. If this fails, it will not fallback to device code auth. /// (Optional) The maximum time, in milliseconds, the function is allowed to take before a TimeoutException is thrown. If not set, the function will wait indefinitely. /// + /// + /// Returns true if login is successful, otherwise false. + /// public async UniTask Login(bool useCachedSession = false, Nullable timeoutMs = null) { return await GetPassportImpl().Login(useCachedSession, timeoutMs);