Class AuthResponse
- java.lang.Object
-
- pro.gravit.launchserver.socket.response.SimpleResponse
-
- pro.gravit.launchserver.socket.response.auth.AuthResponse
-
- All Implemented Interfaces:
pro.gravit.launcher.request.websockets.WebSocketRequest,WebSocketServerResponse,pro.gravit.utils.TypeSerializeInterface
public class AuthResponse extends SimpleResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthResponse.AuthContextstatic classAuthResponse.ConnectTypes
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringauth_idAuthResponse.ConnectTypesauthTypejava.lang.StringclientbooleangetSessionpro.gravit.launcher.hwid.HWIDhwidjava.lang.Stringloginpro.gravit.launcher.request.auth.AuthRequest.AuthPasswordInterfacepasswordstatic java.util.Randomrandom-
Fields inherited from class pro.gravit.launchserver.socket.response.SimpleResponse
ctx, ip, requestUUID, server, service
-
-
Constructor Summary
Constructors Constructor Description AuthResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(io.netty.channel.ChannelHandlerContext ctx, Client clientData)java.lang.StringgetType()-
Methods inherited from class pro.gravit.launchserver.socket.response.SimpleResponse
sendError, sendResult, sendResultAndClose
-
-
-
-
Field Detail
-
random
public static final transient java.util.Random random
-
login
public java.lang.String login
-
client
public java.lang.String client
-
getSession
public boolean getSession
-
password
public pro.gravit.launcher.request.auth.AuthRequest.AuthPasswordInterface password
-
auth_id
public java.lang.String auth_id
-
authType
public AuthResponse.ConnectTypes authType
-
hwid
public pro.gravit.launcher.hwid.HWID hwid
-
-
Method Detail
-
getType
public java.lang.String getType()
-
execute
public void execute(io.netty.channel.ChannelHandlerContext ctx, Client clientData) throws java.lang.Exception- Throws:
java.lang.Exception
-
-