CppWAMP
C++11 client library for the WAMP protocol
|
Provides the Signature and Extra dictionary contained within WAMP AUTHENTICATE
messages.
More...
#include <cppwamp/peerdata.hpp>
Public Member Functions | |
Authentication () | |
Constructs an authentication with an empty signature. | |
Authentication (String signature) | |
Converting constructor taking the authentication signature. | |
const String & | signature () const |
Obtains the authentication signature. | |
Authentication & | withNonce (std::string nonce) |
Sets the client-server nonce used with the WAMP-SCRAM authentication method. More... | |
Authentication & | withChannelBinding (std::string type, std::string data) |
Sets the channel binding information used with the WAMP-SCRAM authentication method. More... | |
Provides the Signature and Extra dictionary contained within WAMP AUTHENTICATE
messages.
Authentication & wamp::Authentication::withNonce | ( | std::string | nonce | ) |
Sets the client-server nonce used with the WAMP-SCRAM authentication method.
This function sets the value of the AUTHENTICATION.Details.nonce|string
detail used by the WAMP-SCRAM authentication method.
Authentication & wamp::Authentication::withChannelBinding | ( | std::string | type, |
std::string | data | ||
) |
Sets the channel binding information used with the WAMP-SCRAM authentication method.
This function sets the values of the AUTHENTICATION.Details.channel_binding|string
and AUTHENTICATION.Details.cbind_data|string
details used by the WAMP-SCRAM authentication method.