public interface IAuthenticate
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(java.lang.String channelId,
java.lang.String responseReceiverId,
java.lang.Object loginMessage,
java.lang.Object handshakeMessage,
java.lang.Object handshakeResponseMessage)
Performs the authentication.
|
boolean authenticate(java.lang.String channelId, java.lang.String responseReceiverId, java.lang.Object loginMessage, java.lang.Object handshakeMessage, java.lang.Object handshakeResponseMessage)
channelId
- service address.responseReceiverId
- unique id representing the connection with the client.loginMessage
- login message that was sent from the clienthandshakeMessage
- verification message (question) that service sent to the client.handshakeResponseMessage
- client's response to the handshake message.