public class LoginFragment extends Fragment implements AuthHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TREE_NAME |
| Constructor and Description |
|---|
LoginFragment() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(java.lang.Exception e)
Cancel the current authentication, will throw
OperationCanceledException
when user explicitly cancel the login. |
void |
next(Node current)
Move to next node
|
void |
onAttach(android.content.Context context) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onInflate(android.content.Context context,
android.util.AttributeSet attrs,
android.os.Bundle savedInstanceState) |
void |
start() |
public static final java.lang.String TREE_NAME
public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
public void onAttach(android.content.Context context)
public void start()
public void next(Node current)
AuthHandlernext in interface AuthHandlercurrent - The current Nodepublic void cancel(java.lang.Exception e)
AuthHandlerOperationCanceledException
when user explicitly cancel the login.cancel in interface AuthHandlere - Exception when cancelling the authentication process.public void onInflate(android.content.Context context,
android.util.AttributeSet attrs,
android.os.Bundle savedInstanceState)