OAuthCredentials OAuthCredentials OAuthCredentials Class

Definition

Provides credentials for server-to-server authentication. The OAuthCredentials class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public ref class OAuthCredentials sealed : Microsoft::Exchange::WebServices::Data::ExchangeCredentials
public sealed class OAuthCredentials : Microsoft.Exchange.WebServices.Data.ExchangeCredentials
Public NotInheritable Class OAuthCredentials
Inherits ExchangeCredentials
Inheritance
OAuthCredentialsOAuthCredentialsOAuthCredentials

Constructors

OAuthCredentials(ICredentials) OAuthCredentials(ICredentials) OAuthCredentials(ICredentials)

Initializes a new instance of the OAuthCredentials class using the specified credentials. The OAuthCredentials(ICredentials) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

OAuthCredentials(String) OAuthCredentials(String) OAuthCredentials(String)

Initializes a new instance of the OAuthCredentials class using a base64-encoded string. The OAuthCredentials(String) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to