类 AbsLoginHandler
- java.lang.Object
-
- cn.authing.guard.handler.BaseHandler
-
- cn.authing.guard.handler.login.AbsLoginHandler
-
public abstract class AbsLoginHandler extends BaseHandler
-
-
字段概要
字段 修饰符和类型 字段 说明 protected LoginButtonloginButtonprotected ILoginRequestCallBackmCallBackprotected ContextmContextprotected AbsLoginHandlermNextHandlerprotected static StringTAG
-
构造器概要
构造器 构造器 说明 AbsLoginHandler(LoginButton loginButton, ILoginRequestCallBack callback, boolean autoRegister)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidclearError()protected voidfireCallback(int code, String message, UserInfo userInfo)protected voidfireCallback(String message)booleanisAutoRegister()protected voidrequestLogin()protected voidsetNextHandler(AbsLoginHandler loginHandler)protected voidshowError(cn.authing.guard.internal.EditTextLayout editTextLayout, String errorMsg)-
从类继承的方法 cn.authing.guard.handler.BaseHandler
getAuthProtocol
-
-
-
-
字段详细资料
-
TAG
protected static final String TAG
-
mNextHandler
protected AbsLoginHandler mNextHandler
-
loginButton
protected LoginButton loginButton
-
mContext
protected final Context mContext
-
mCallBack
protected ILoginRequestCallBack mCallBack
-
-
构造器详细资料
-
AbsLoginHandler
public AbsLoginHandler(LoginButton loginButton, ILoginRequestCallBack callback, boolean autoRegister)
-
-
方法详细资料
-
setNextHandler
protected void setNextHandler(AbsLoginHandler loginHandler)
-
requestLogin
protected void requestLogin()
-
showError
protected void showError(cn.authing.guard.internal.EditTextLayout editTextLayout, String errorMsg)
-
clearError
protected void clearError()
-
fireCallback
protected void fireCallback(String message)
-
isAutoRegister
public boolean isAutoRegister()
-
-