Poco::RemotingNG::TCP

class PlainClientAuthenticator

File Information

Library: RemotingNG/TCP
Package: TCP
Header: Poco/RemotingNG/TCP/PlainClientAuthenticator.h

Description

A very simple ClientAuthenticator for username/password based plain-text authentication.

Since credentials are transferred in clear text, this should only be used over an encrypted transport.

Inheritance

Direct Base Classes: ClientAuthenticator

All Base Classes: Poco::RefCountedObject, ClientAuthenticator

Member Summary

Member Functions: continueAuthentication, startAuthentication

Inherited Functions: continueAuthentication, duplicate, referenceCount, release, startAuthentication

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < PlainClientAuthenticator >;

Constructors

PlainClientAuthenticator

PlainClientAuthenticator();

Destructor

~PlainClientAuthenticator virtual

~PlainClientAuthenticator();

Destroys the PlainClientAuthenticator.

Member Functions

continueAuthentication virtual

bool continueAuthentication(
    const Credentials & serverCredentials,
    Credentials & clientCredentials
);

startAuthentication virtual

std::string startAuthentication(
    Credentials & clientCredentials
);

Variables

PLAIN static

static const std::string PLAIN;

The name of the mechanism is "PLAIN".

Securely control IoT edge devices from anywhere   Connect a Device