Package emu.grasscutter.auth
Class DefaultAuthenticators.TokenAuthenticator
java.lang.Object
emu.grasscutter.auth.DefaultAuthenticators.TokenAuthenticator
- All Implemented Interfaces:
Authenticator<LoginResultJson>
- Enclosing class:
- DefaultAuthenticators
public static class DefaultAuthenticators.TokenAuthenticator
extends Object
implements Authenticator<LoginResultJson>
Handles the authentication request from the game when using a registry token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttempt to authenticate the client with the provided credentials.
-
Constructor Details
-
TokenAuthenticator
public TokenAuthenticator()
-
-
Method Details
-
authenticate
Description copied from interface:AuthenticatorAttempt to authenticate the client with the provided credentials.- Specified by:
authenticatein interfaceAuthenticator<LoginResultJson>- Parameters:
request- The authentication request wrapped in aAuthenticationSystem.AuthenticationRequestobject.- Returns:
- The result of the login in an object.
-