Authentication credentials for a remote server.
More...
#include <cbl++/Replicator.hh>
|
| static Authenticator | basicAuthenticator (std::string_view username, std::string_view password) |
| | Creates a basic authenticator authenticator using username/password credentials.
|
| static Authenticator | sessionAuthenticator (std::string_view sessionId, std::optional< std::string_view > cookieName=std::nullopt) |
| | Creates a sesssion authenticator using a Couchbase Sync Gateway login session identifier, and optionally a cookie name.
|
Authentication credentials for a remote server.
◆ basicAuthenticator()
| Authenticator cbl::Authenticator::basicAuthenticator |
( |
std::string_view | username, |
|
|
std::string_view | password ) |
|
inlinestatic |
Creates a basic authenticator authenticator using username/password credentials.
◆ ref()
◆ sessionAuthenticator()
| Authenticator cbl::Authenticator::sessionAuthenticator |
( |
std::string_view | sessionId, |
|
|
std::optional< std::string_view > | cookieName = std::nullopt ) |
|
inlinestatic |
Creates a sesssion authenticator using a Couchbase Sync Gateway login session identifier, and optionally a cookie name.
◆ ReplicatorConfiguration
The documentation for this class was generated from the following file: