mirror of
https://github.com/Xtao-Labs/GCAuth-OAuth.git
synced 2024-11-21 22:58:10 +00:00
🐛 Adapt upstream breaking changes PR#964
This commit is contained in:
parent
4ca701829e
commit
008318fae1
@ -1,6 +1,7 @@
|
||||
package com.xtaolabs.gcauth_oauth.handler;
|
||||
|
||||
import emu.grasscutter.auth.*;
|
||||
import emu.grasscutter.game.Account;
|
||||
import emu.grasscutter.server.http.objects.ComboTokenResJson;
|
||||
import emu.grasscutter.server.http.objects.LoginResultJson;
|
||||
|
||||
@ -23,8 +24,9 @@ public class GCAuthAuthenticationHandler implements AuthenticationSystem {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean verifyUser(String s) {
|
||||
return false;
|
||||
public Account verifyUser(String s) {
|
||||
// Unhandled.
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user