Defines interface allowing to retrieve access token. More...
Inherits IDisposable.
Inherited by Aspose::Email::Clients::TokenProvider.
Public Member Functions | |
virtual System::SharedPtr< OAuthToken > | GetAccessToken ()=0 |
Gets oAuth access token. If token exists and its expiration date is not expired returns current token, otherwise requests new token from a server. More... | |
virtual System::SharedPtr< OAuthToken > | GetAccessToken (bool ignoreExistingToken)=0 |
Gets oAuth access token. More... | |
Defines interface allowing to retrieve access token.
|
pure virtual |
Gets oAuth access token. If token exists and its expiration date is not expired returns current token, otherwise requests new token from a server.
Implemented in Aspose::Email::Clients::TokenProvider.
|
pure virtual |
Gets oAuth access token.
ignoreExistingToken | If ignoreExistingToken is true, requests new token from a server. Otherwise behaviour is depended on whether token exists or not. If token exists and its expiration date is not expired returns current token, otherwise requests new token from a server. |
Implemented in Aspose::Email::Clients::TokenProvider.