CppWAMP
C++11 client library for the WAMP protocol
wamp::Authentication Class Reference

Provides the Signature and Extra dictionary contained within WAMP AUTHENTICATE messages. More...

#include <cppwamp/peerdata.hpp>

Inheritance diagram for wamp::Authentication:

Public Member Functions

 Authentication ()
 Constructs an authentication with an empty signature.
 
 Authentication (String signature)
 Converting constructor taking the authentication signature.
 
const Stringsignature () const
 Obtains the authentication signature.
 
AuthenticationwithNonce (std::string nonce)
 Sets the client-server nonce used with the WAMP-SCRAM authentication method. More...
 
AuthenticationwithChannelBinding (std::string type, std::string data)
 Sets the channel binding information used with the WAMP-SCRAM authentication method. More...
 

Detailed Description

Provides the Signature and Extra dictionary contained within WAMP AUTHENTICATE messages.

See Authentication in the WAMP specification

Member Function Documentation

◆ withNonce()

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.

◆ withChannelBinding()

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.


The documentation for this class was generated from the following files: