C# Class FloydPink.Flickr.Downloadr.Logic.LoginLogic

Inheritance: ILoginLogic
Datei anzeigen Open project: flickr-downloadr/flickr-downloadr Class Usage Examples

Public Methods

Method Description
IsUserLoggedInAsync ( Action applyUser ) : Task
Login ( Action applyUser ) : void
LoginLogic ( IOAuthManager oAuthManager, IRepository tokenRepository, IRepository userRepository, IRepository preferencesRepository ) : System
Logout ( ) : void

Private Methods

Method Description
CallApplyUser ( User authenticatedUser ) : void
OAuthManagerAuthenticated ( object sender, AuthenticatedEventArgs e ) : void

Method Details

IsUserLoggedInAsync() public method

public IsUserLoggedInAsync ( Action applyUser ) : Task
applyUser Action
return Task

Login() public method

public Login ( Action applyUser ) : void
applyUser Action
return void

LoginLogic() public method

public LoginLogic ( IOAuthManager oAuthManager, IRepository tokenRepository, IRepository userRepository, IRepository preferencesRepository ) : System
oAuthManager IOAuthManager
tokenRepository IRepository
userRepository IRepository
preferencesRepository IRepository
return System

Logout() public method

public Logout ( ) : void
return void