C# Class BaconographyWP8.PlatformServices.UserService

Inheritance: IUserService, IBaconService
ファイルを表示 Open project: Synergex/Baconography

Public Methods

Method Description
AddStoredCredential ( UserCredential newCredential, string password ) : System.Threading.Tasks.Task
CloseDB ( ) : void
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, string lastCookie ) : void
CreateAnonUser ( ) : User
DoLogin ( string username, bool userInitiated ) : Task
GetStoredCredentialsImpl ( ) : Task>
GetUserInfoDB ( ) : Task
InitImpl ( IRedditService redditService ) : System.Threading.Tasks.Task
LoginWithCredentials ( UserCredential credential, bool userInitiated ) : 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

CloseDB() public method

public CloseDB ( ) : void
return void

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