Skip to content

Commit cdfdda1

Browse files
committed
obsolete xbox auth
1 parent 57eae31 commit cdfdda1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MojangAPI/MojangAuth.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ public Task<MojangAuthResponse> Invalidate(string accessToken, string? clientTok
301301
ErrorHandler = errorResponseHandler
302302
});
303303

304+
[Obsolete("Use CmlLib.Core.Auth.Microsoft. https://github.com/CmlLib/CmlLib.Core.Auth.Microsoft")]
304305
public Task<MicrosoftAuthResponse> LoginWithXbox(string uhs, string xstsToken) =>
305306
client.SendActionAsync(new HttpAction<MicrosoftAuthResponse>
306307
{
@@ -327,6 +328,7 @@ public Task<MicrosoftAuthResponse> LoginWithXbox(string uhs, string xstsToken) =
327328
}
328329
});
329330

331+
[Obsolete("Use CmlLib.Core.Auth.Microsoft. https://github.com/CmlLib/CmlLib.Core.Auth.Microsoft")]
330332
public async Task<MojangAuthResponse> RequestSessionWithXbox(string uhs, string xstsToken)
331333
{
332334
try

0 commit comments

Comments
 (0)