Defines interface allowing to retrieve access token. More...
Inherits IDisposable.
Public Member Functions | |
virtual System::SharedPtr< OAuthToken > | GetAccessToken (System::String service)=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, System::String service)=0 |
Gets oAuth access token. More... | |
Defines interface allowing to retrieve access token.
|
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. |
service | Services that this access token applies to. |
|
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.
service | Services that this access token applies to. |