Interface to implement authentication.
Function called when authentication fails.
Function called to validate authentication for a client.
See Implementation
Interface to implement authentication.