Class PgAuthRequest.

Inherits PgServerMessage

S: An authentication request from the server.

The message data consists of an Int32 code identifying the type of authentication requested (0=Success, 3=Password etc.), and, when a Crypt/MD5 password is requested, a salt to use for the encryption.

EString PgAuthRequest::salt() const

Returns the salt value specified for this authentication request.

Type PgAuthRequest::type() const

Returns the type of this authentication request, which may be any of the following values: Success, Password, Crypt, MD5, Kerberos4, Kerberos5, Credential.

Reimplements PgServerMessage::type().

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.