C# Class BaconographyWP8.PlatformServices.UserService

Inheritance: IUserService, IBaconService
Afficher le fichier Open project: Synergex/Baconography

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CloseDB() public méthode

public CloseDB ( ) : void
Résultat void

GetUser() public méthode

public GetUser ( ) : Task
Résultat Task

Initialize() public méthode

public Initialize ( IBaconProvider baconProvider ) : System.Threading.Tasks.Task
baconProvider IBaconProvider
Résultat System.Threading.Tasks.Task

Logout() public méthode

public Logout ( ) : void
Résultat void

RemoveStoredCredential() public méthode

public RemoveStoredCredential ( string username ) : System.Threading.Tasks.Task
username string
Résultat System.Threading.Tasks.Task

StoredCredentials() public méthode

public StoredCredentials ( ) : Task>
Résultat Task>

TryLogin() public méthode

public TryLogin ( string username, string password ) : Task
username string
password string
Résultat Task

TryStoredLogin() public méthode

public TryStoredLogin ( string username ) : Task
username string
Résultat Task