Interface BackendServerCommunicator
public interface BackendServerCommunicator
Interface for send data to from a proxy server to a backend server
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents a message sent between proxy and backend servers -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidhideQR(UserIdentity user) Sends a signal to backend server to hide the QR-code for the user.voidsendAuthStatus(UserIdentity user, GSAuthUserAuthenticationStatus message) Sends the authentication status to the backend server.voidsendDisabled(boolean disabled) Sends the checks-disabled status to the backend server.voidsendDisabled(String servername, boolean disabled) Sends the checks-disabled status to the backend server.voidsendQR(UserIdentity user, String qr) Sends the QR-code to the backend server which will then be shown to the user on the backend server.voidsendRequiredStatus(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