C# Class Play.ViewModels.AppBootstrapper

Inheritance: ReactiveUI.ReactiveObject, IAppBootstrapper
Exibir arquivo Open project: play/play-win8 Class Usage Examples

Public Methods

Method Description
AppBootstrapper ( IKernel testKernel = null, IRoutingState router = null ) : System
EraseCredentialsAndNavigateToLogin ( ) : void
LoadCredentials ( ) : IObservable
SaveCredentials ( string baseUrl, string username ) : void

Private Methods

Method Description
createDefaultKernel ( ) : IKernel
createPlayApiFromCreds ( string baseUrl, string token ) : PlayApi
loadCredentials ( ) : Task

Method Details

AppBootstrapper() public method

public AppBootstrapper ( IKernel testKernel = null, IRoutingState router = null ) : System
testKernel IKernel
router IRoutingState
return System

EraseCredentialsAndNavigateToLogin() public method

public EraseCredentialsAndNavigateToLogin ( ) : void
return void

LoadCredentials() public method

public LoadCredentials ( ) : IObservable
return IObservable

SaveCredentials() public method

public SaveCredentials ( string baseUrl, string username ) : void
baseUrl string
username string
return void