public class AuthHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthHelper.IAuthCallback |
| Modifier and Type | Field and Description |
|---|---|
static AuthHelper |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Promise<Boolean,IError> |
authenticate(String username,
String password,
String url) |
AuthHelper.IAuthCallback |
getAuthCallback() |
String |
getToken() |
void |
setAuthCallback(AuthHelper.IAuthCallback value) |
public static final AuthHelper INSTANCE
public void setAuthCallback(AuthHelper.IAuthCallback value)
public AuthHelper.IAuthCallback getAuthCallback()
public String getToken()
Copyright © 2018. All rights reserved.