C# Class TempHire.Authentication.FakeAuthenticationService

Inheritance: IAuthenticationService, IUserService
Mostrar archivo Open project: IdeaBlade/Cocktail.AsyncPack

Public Methods

Method Description
Login ( ILoginCredential credential ) : void
LoginAsync ( ILoginCredential credential, Action onSuccess = null, Action onFail = null ) : Cocktail.OperationResult
Logout ( ) : void
LogoutAsync ( Action callback = null ) : Cocktail.OperationResult

Method Details

Login() public method

public Login ( ILoginCredential credential ) : void
credential ILoginCredential
return void

LoginAsync() public method

public LoginAsync ( ILoginCredential credential, Action onSuccess = null, Action onFail = null ) : Cocktail.OperationResult
credential ILoginCredential
onSuccess Action
onFail Action
return Cocktail.OperationResult

Logout() public method

public Logout ( ) : void
return void

LogoutAsync() public method

public LogoutAsync ( Action callback = null ) : Cocktail.OperationResult
callback Action
return Cocktail.OperationResult