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