ITokenProvider

ITokenProvider interface

Defines interface allowing to retrieve access token.

public interface ITokenProvider : IDisposable

Methods

Name Description
GetAccessToken() Gets oAuth access token. If token exists and its expiration date is not expired returns current token, otherwise requests new token from a server.
GetAccessToken(bool) Gets oAuth access token.

See Also