@Deprecated public abstract class CredentialsByHostClient extends EmailClient
Represents the client that creates server connection by using the host credentials.
Modifier | Constructor and Description |
---|---|
protected |
CredentialsByHostClient(String type)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port,
int securityOptions)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port,
String username,
ITokenProvider tokenProvider)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port,
String username,
ITokenProvider tokenProvider,
int securityOptions)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port,
String username,
String password)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port,
String username,
String authInfo,
boolean useOAuth)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port,
String username,
String authInfo,
boolean useOAuth,
int securityOptions)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
protected |
CredentialsByHostClient(String type,
String host,
int port,
String username,
String password,
int securityOptions)
Deprecated.
Initializes a new instance of the
CredentialsByHostClient class. |
bindIPEndPoint, cancelAsyncOperation, close, connectIPEndPoint, createConnection, createConnection, dispose, dispose, finalize, getAccessToken, getCapabilities, getClientCertificates, getConnectionAsgmtMode, getConnectionCheckupPeriod, getConnectionsQuantity, getConnectionState, getCurrentConnection, getDefaultPort, getEnableLogger, getHost, getLogFileName, getPassword, getPort, getProxy, getSecurityOptions, getSupportedEncryption, getTimeout, getTokenProvider, getUseAuthentication, getUseDateInLogFileName, getUseDefaultCredentials, getUseMultiConnection, getUseMultyConnection, getUsePipelining, getUsername, noop, noop, resetLogSettings, setAccessToken, setConnectionAsgmtMode, setConnectionCheckupPeriod, setConnectionsQuantity, setEnableLogger, setHost, setLogFileName, setPassword, setPort, setProxy, setSecurityOptions, setSocketsLayerVersion2, setSocketsLayerVersion2DisableSSLCertificateValidation, setSocketsLayerVersion2SSLSocketFactory, setSupportedEncryption, setTimeout, setTokenProvider, setUseAuthentication, setUseDateInLogFileName, setUseDefaultCredentials, setUseMultiConnection, setUseMultyConnection, setUsePipelining, setUsername
protected CredentialsByHostClient(String type)
Initializes a new instance of the CredentialsByHostClient
class.
protected CredentialsByHostClient(String type, String host, int port)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host name.port
- The port number.protected CredentialsByHostClient(String type, String host, int port, int securityOptions)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host name.port
- The port number.securityOptions
- Security mode for a mail clientprotected CredentialsByHostClient(String type, String host, int port, String username, String password)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host name.port
- The port number.username
- The username.password
- The password.protected CredentialsByHostClient(String type, String host, int port, String username, String password, int securityOptions)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host name.port
- The port number.username
- The username.password
- The password.securityOptions
- Security mode for a mail clientprotected CredentialsByHostClient(String type, String host, int port, String username, String authInfo, boolean useOAuth)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host.port
- The port.username
- The username.authInfo
- A string representation of the user password or the access token.useOAuth
- Defines whether OAuth is used to login to the serverprotected CredentialsByHostClient(String type, String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host.port
- The port.username
- The username.authInfo
- A string representation of the user password or the access token.useOAuth
- Defines whether OAuth is used to login to the serversecurityOptions
- Security mode for a mail clientprotected CredentialsByHostClient(String type, String host, int port, String username, ITokenProvider tokenProvider)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host.port
- The port.username
- The username.tokenProvider
- TokenProvider allowing to retrieve access token.protected CredentialsByHostClient(String type, String host, int port, String username, ITokenProvider tokenProvider, int securityOptions)
Initializes a new instance of the CredentialsByHostClient
class.
host
- The host.port
- The port.username
- The username.tokenProvider
- TokenProvider allowing to retrieve access token.securityOptions
- Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.