Interface BackendServerCommunicator
public interface BackendServerCommunicator
Interface for send data to from a proxy server to a backend server
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Represents a message sent between proxy and backend servers -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
hideQR
(UserIdentity user) Sends a signal to backend server to hide the QR-code for the user.void
sendAuthStatus
(UserIdentity user, GSAuthUserAuthenticationStatus message) Sends the authentication status to the backend server.void
sendDisabled
(boolean disabled) Sends the checks-disabled status to the backend server.void
sendDisabled
(String servername, boolean disabled) Sends the checks-disabled status to the backend server.void
sendQR
(UserIdentity user, String qr) Sends the QR-code to the backend server which will then be shown to the user on the backend server.void
sendRequiredStatus
(UserIdentity user, boolean requiredSet) Sends the gs-required status to the backend server.
-
Field Details
-
NAMESPACE
The standard namespace name for the plugin channel- See Also:
-
CHANNEL
The standard channel name for the plugin channel- See Also:
-
-
Method Details
-
sendDisabled
void sendDisabled(boolean disabled) Sends the checks-disabled status to the backend server.- Parameters:
disabled
- whether checks are enabled
-
sendDisabled
Sends the checks-disabled status to the backend server.- Parameters:
servername
- the of the server to send the checks-disabled status todisabled
- whether checks are enabled