Class RejectAuthProvider
java.lang.Object
pro.gravit.launchserver.auth.provider.AuthProvider
pro.gravit.launchserver.auth.provider.RejectAuthProvider
- All Implemented Interfaces:
AutoCloseable,Reconfigurable
-
Field Summary
FieldsFields inherited from class pro.gravit.launchserver.auth.provider.AuthProvider
providers, srv -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class pro.gravit.launchserver.auth.provider.AuthProvider
authError, getDetails, getFirstAuthType, getSecondAuthType, init, preAuth, registerProvidersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launchserver.Reconfigurable
defaultCommandsMap
-
Field Details
-
message
-
whitelist
-
-
Constructor Details
-
RejectAuthProvider
public RejectAuthProvider() -
RejectAuthProvider
-
-
Method Details
-
auth
public AuthProviderResult auth(String login, pro.gravit.launcher.request.auth.AuthRequest.AuthPasswordInterface password, String ip) throws AuthExceptionDescription copied from class:AuthProviderVerifies the username and password- Specified by:
authin classAuthProvider- Parameters:
login- user loginpassword- user passwordip- user ip- Returns:
- player privileges, effective username and authorization token
- Throws:
AuthException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classAuthProvider
-
getCommands
Description copied from interface:ReconfigurableGets a list of commands available for this object.- Specified by:
getCommandsin interfaceReconfigurable- Returns:
- Key - Command Name Value is a command object
-