UserNameBasedAuthentication class abstract

Base class for authentications with user-names

Inheritance
Implementers

Constructors

UserNameBasedAuthentication(String userName, Authentication authentication)
Creates a new user name based auth
const

Properties

authentication Authentication
The type of this authentication
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String
The name of this authentication type, e.g. plain or oauth2
no setterinherited
userName String
The user name
final

Methods

authenticate(ServerConfig serverConfig, {ImapClient? imap, PopClient? pop, SmtpClient? smtp}) Future<void>
Authenticates with the specified mail service
inherited
copyWithUserName(String userName) UserNameBasedAuthentication
Copies this authentication with the new userName
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this MailAuthentication to JSON
inherited
toString() String
A string representation of this object.
inherited

Operators

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