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