Ews.SetCredentials Method (ExchangeCredentials) |
Namespace: MailBee.EwsMail
This overload lets the developer use other authentication methods than login/password. For instance, OAuthCredentials for OAuth2 authentication.
See Authenticate an EWS application by using OAuth on how to get OAuthCredentials with Managed EWS API. Or this sample in MailBee.NET Objects blog.
See MS Exchange guide on how to set impersonated account access.