C# Class ExtensionsForOneDrive.Models.LiveService

Inheritance: ILiveService
Show file Open project: riverar/ExtensionsForOneDrive

Public Methods

Method Description
GetLoginUrl ( ) : string
GetSharedReadLink ( string fileID ) : string
GetTokens ( string authorizationCode ) : void
LiveService ( IRefreshTokenHandler refreshTokenHandler, ILiveAuthClient authClient, IConfigurationService configurationService ) : System

Private Methods

Method Description
ConfigureRefreshTimer ( ) : void
RefreshTimerElapsed ( object sender, System.Timers.ElapsedEventArgs args ) : void
RefreshTokens ( ) : void
SaveTokens ( ) : void

Method Details

GetLoginUrl() public method

public GetLoginUrl ( ) : string
return string

GetSharedReadLink() public method

public GetSharedReadLink ( string fileID ) : string
fileID string
return string

GetTokens() public method

public GetTokens ( string authorizationCode ) : void
authorizationCode string
return void

LiveService() public method

public LiveService ( IRefreshTokenHandler refreshTokenHandler, ILiveAuthClient authClient, IConfigurationService configurationService ) : System
refreshTokenHandler IRefreshTokenHandler
authClient ILiveAuthClient
configurationService IConfigurationService
return System