OAuthNetworkCredential Class

Represents the NetworkCredential for OAuth authentication.
Inheritance Hierarchy
SystemObject
  System.NetNetworkCredential
    Aspose.Email.ClientsOAuthNetworkCredential

Namespace:  Aspose.Email.Clients
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public class OAuthNetworkCredential : NetworkCredential, 
	ICredentialsByHost

The OAuthNetworkCredential type exposes the following members.

Constructors
  NameDescription
Public methodOAuthNetworkCredential(String)
Initializes a new instance of the OAuthNetworkCredential class
Public methodOAuthNetworkCredential(IAsyncTokenProvider)
Initializes a new instance of the OAuthNetworkCredential class
Public methodOAuthNetworkCredential(ITokenProvider)
Initializes a new instance of the OAuthNetworkCredential class
Public methodOAuthNetworkCredential(String, ITokenProvider)
Initializes a new instance of the OAuthNetworkCredential class
Public methodOAuthNetworkCredential(String, String)
Initializes a new instance of the OAuthNetworkCredential class
Properties
  NameDescription
Public propertyAccessToken
Gets OAuth 2.0 access token.
Public propertyAsyncTokenProvider
Gets the async token provider.
Public propertyDomain
Gets or sets the domain or computer name that verifies the credentials.
(Inherited from NetworkCredential.)
Public propertyPassword
Gets or sets the password for the user name associated with the credentials.
(Inherited from NetworkCredential.)
Public propertySecurePassword
Gets or sets the password as a SecureString instance.
(Inherited from NetworkCredential.)
Public propertyTokenProvider
Gets the token provider.
Public propertyUserName
Gets or sets the user name associated with the credentials.
(Inherited from NetworkCredential.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCredential(Uri, String)
Returns an instance of the NetworkCredential class for the specified Uniform Resource Identifier (URI) and authentication type.
(Inherited from NetworkCredential.)
Public methodGetCredential(String, Int32, String)
Returns an instance of the NetworkCredential class for the specified host, port, and authentication type.
(Inherited from NetworkCredential.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also