Class AuthRequestEvent
java.lang.Object
pro.gravit.launcher.base.events.RequestEvent
pro.gravit.launcher.base.events.request.AuthRequestEvent
- All Implemented Interfaces:
WebSocketEvent,pro.gravit.utils.TypeSerializeInterface
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.static final Stringstatic final Stringstatic final StringFields inherited from class pro.gravit.launcher.base.events.RequestEvent
eventUUID, requestUUID -
Constructor Summary
ConstructorsConstructorDescriptionAuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken) AuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken, UUID session) AuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken, UUID session, AuthRequestEvent.OAuthRequestEvent oauth) AuthRequestEvent(PlayerProfile pp, String accessToken, ClientPermissions permissions) -
Method Summary
-
Field Details
-
TWO_FACTOR_NEED_ERROR_MESSAGE
- See Also:
-
ONE_FACTOR_NEED_ERROR_MESSAGE_PREFIX
- See Also:
-
OAUTH_TOKEN_EXPIRE
- See Also:
-
OAUTH_TOKEN_INVALID
- See Also:
-
USER_NOT_FOUND_ERROR_MESSAGE
- See Also:
-
WRONG_PASSWORD_ERROR_MESSAGE
- See Also:
-
ACCOUNT_BLOCKED_ERROR_MESSAGE
- See Also:
-
permissions
-
playerProfile
-
accessToken
-
protectToken
-
session
Deprecated. -
oauth
-
-
Constructor Details
-
AuthRequestEvent
public AuthRequestEvent() -
AuthRequestEvent
-
AuthRequestEvent
public AuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken) -
AuthRequestEvent
public AuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken, UUID session) -
AuthRequestEvent
public AuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken, UUID session, AuthRequestEvent.OAuthRequestEvent oauth)
-
-
Method Details
-
getType
-