C# Class BaconographyW8.PlatformServices.UserService

Inheritance: IUserService, IBaconService
Mostrar archivo Open project: Synergex/Baconography

Public Methods

Method Description
AddStoredCredential ( UserCredential newCredential, string password ) : System.Threading.Tasks.Task
GetUser ( ) : Task
Initialize ( IBaconProvider baconProvider ) : System.Threading.Tasks.Task
Logout ( ) : void
RemoveStoredCredential ( string username ) : System.Threading.Tasks.Task
StoredCredentials ( ) : Task>
TryLogin ( string username, string password ) : Task
TryStoredLogin ( string username ) : Task

Private Methods

Method Description
AddOrUpdateWindowsCredential ( UserCredential existingCredential, string password ) : void
CreateAnonUser ( ) : User
DoLogin ( string username ) : Task
GetStoredCredentialsImpl ( ) : Task>
GetUserInfoDB ( ) : Task
InitImpl ( IRedditService redditService ) : System.Threading.Tasks.Task
LoginWithCredentials ( UserCredential credential ) : Task
TryDefaultUser ( ) : Task

Method Details

AddStoredCredential() public method

public AddStoredCredential ( UserCredential newCredential, string password ) : System.Threading.Tasks.Task
newCredential BaconographyPortable.Model.Reddit.UserCredential
password string
return System.Threading.Tasks.Task

GetUser() public method

public GetUser ( ) : Task
return Task

Initialize() public method

public Initialize ( IBaconProvider baconProvider ) : System.Threading.Tasks.Task
baconProvider IBaconProvider
return System.Threading.Tasks.Task

Logout() public method

public Logout ( ) : void
return void

RemoveStoredCredential() public method

public RemoveStoredCredential ( string username ) : System.Threading.Tasks.Task
username string
return System.Threading.Tasks.Task

StoredCredentials() public method

public StoredCredentials ( ) : Task>
return Task>

TryLogin() public method

public TryLogin ( string username, string password ) : Task
username string
password string
return Task

TryStoredLogin() public method

public TryStoredLogin ( string username ) : Task
username string
return Task