IMultipleServicesTokenProvider Interface

Defines interface allowing to retrieve access token.

Namespace:  Aspose.Email.Clients
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public interface IMultipleServicesTokenProvider : IDisposable

The IMultipleServicesTokenProvider type exposes the following members.

Methods
  NameDescription
Public methodDispose (Inherited from IDisposable.)
Public methodGetAccessToken(String)
Gets oAuth access token. If token exists and its expiration date is not expired returns current token, otherwise requests new token from a server.
Public methodGetAccessToken(Boolean, String)
Gets oAuth access token.
See Also