PostgresAuthenticationType enum

PostgreSQL authentication types.

Represents the various authentication methods supported by PostgreSQL.

Inheritance
Available extensions

Values

ok → const PostgresAuthenticationType

Authentication successful (0)

const PostgresAuthenticationType(0)
cleartextPassword → const PostgresAuthenticationType

Cleartext password authentication (3)

const PostgresAuthenticationType(3)
md5Password → const PostgresAuthenticationType

MD5 password authentication (5)

const PostgresAuthenticationType(5)
sasl → const PostgresAuthenticationType

SASL authentication (10)

const PostgresAuthenticationType(10)
saslContinue → const PostgresAuthenticationType

SASL Continue (11)

const PostgresAuthenticationType(11)
saslFinal → const PostgresAuthenticationType

SASL Final (12)

const PostgresAuthenticationType(12)
gss → const PostgresAuthenticationType

GSSAPI authentication (7)

const PostgresAuthenticationType(7)
gssContinue → const PostgresAuthenticationType

GSSAPI continue (8)

const PostgresAuthenticationType(8)
sspi → const PostgresAuthenticationType

SSPI authentication (9)

const PostgresAuthenticationType(9)
unknown → const PostgresAuthenticationType

Unknown authentication type (-1)

const PostgresAuthenticationType(-1)

Properties

code int
The numeric authentication type code.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromCode(int code) PostgresAuthenticationType
Creates a PostgresAuthenticationType from an authentication code.

Constants

values → const List<PostgresAuthenticationType>
A constant List of the values in this enum, in order of their declaration.