C# Class TempHire.Authentication.FakeAuthenticationService

Inheritance: IAuthenticationService, IUserService
Afficher le fichier Open project: IdeaBlade/Cocktail.AsyncPack

Méthodes publiques

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

public Login ( ILoginCredential credential ) : void
credential ILoginCredential
Résultat void

LoginAsync() public méthode

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

Logout() public méthode

public Logout ( ) : void
Résultat void

LogoutAsync() public méthode

public LogoutAsync ( Action callback = null ) : Cocktail.OperationResult
callback Action
Résultat Cocktail.OperationResult