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: 20.2
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(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 propertyDomain (Inherited from NetworkCredential.)
Public propertyPassword (Inherited from NetworkCredential.)
Public propertyTokenProvider
Gets the token provider.
Public propertyUserName (Inherited from NetworkCredential.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetCredential(Uri, String) (Inherited from NetworkCredential.)
Public methodGetCredential(String, Int32, String) (Inherited from NetworkCredential.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also