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
{{ message }}
Repository navigation
Commit d47d870
Browse filesBrowse the repository at this point in the historyBrowse files
fix(wrapper): adapt login to CurrentUserLoginResponse and TwoFactorAuthType
Spec 1.21.0 returns CurrentUserLoginResponse from getCurrentUser and types
requiresTwoFactorAuth as a list of the TwoFactorAuthType enum. LoginAsync now
checks for TwoFactorAuthType.Totp, and LoginWithExternalCodeAsync hands its
callback a List<TwoFactorAuthType> instead of strings (breaking change).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: wrapper/VRChat.API/Client/VRChat.cs
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -182,11 +182,11 @@ public interface IVRChat
182
182
183
183
/// <summary>
184
184
/// Logs in as the currently configured user. Will throw an exception unless <b><c>throwOnFail</c></b> is set to <b><c>true</c></b>.
185
-
/// <br /> If successful, the <see cref="CurrentUser"/> will be returned, otherwise <b><c>null</c></b> (if <b><c>throwOnFail</c></b> is false).
185
+
/// <br /> If successful, the <see cref="CurrentUserLoginResponse"/> will be returned, otherwise <b><c>null</c></b> (if <b><c>throwOnFail</c></b> is false).
186
186
/// </summary>
187
187
/// <param name="ct">Cancellation token for cancelling any asynchronous operations</param>
188
-
/// <returns>A <see cref="Task"/> of <see cref="CurrentUser"/> with the currently logged in user, if successful.</returns>
thrownewArgumentNullException("This method only supports logging in with Two-Factor TOTP authentication. Please use VRChatClientBuilder.WithTwoFactorSecret() to use this method");
0 commit comments