OAuthCredentials Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Constructors
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) |
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. |