类 AuthFlow
- java.lang.Object
-
- cn.authing.guard.flow.AuthFlow
-
- 所有已实现的接口:
java.io.Serializable
public class AuthFlow extends java.lang.Object implements java.io.Serializable- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceAuthFlow.Callback<T>
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringKEY_ACCOUNTstatic java.lang.StringKEY_EXTENDED_FIELDSstatic java.lang.StringKEY_MFA_EMAILstatic java.lang.StringKEY_MFA_PHONEstatic java.lang.StringKEY_MFA_PHONE_COUNTRY_CODEstatic java.lang.StringKEY_MFA_RECOVERY_CODEstatic java.lang.StringKEY_SOCIAL_ACCOUNT_BIND_CODEstatic java.lang.StringKEY_USER_INFO
-
构造器概要
构造器 构造器 说明 AuthFlow()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static java.lang.Objectget(android.content.Context context, java.lang.String key)static java.lang.StringgetAccount(android.content.Context context)AuthFlow.Callback<UserInfo>getAuthCallback()intgetAuthHelpLayoutId()java.util.Map<java.lang.String,java.lang.Object>getData()intgetForgotPasswordLayoutId()intgetIndexLayoutId()intgetMfaEmailCurrentStep()int[]getMfaEmailLayoutIds()intgetMfaOTPLayoutId()intgetMfaPhoneCurrentStep()int[]getMfaPhoneLayoutIds()intgetMfaRecoveryCurrentStep()int[]getMfaRecoveryLayoutIds()intgetRegisterLayoutId()intgetResetPasswordByEmailLayoutId()intgetResetPasswordByPhoneLayoutId()intgetResetPasswordFirstLoginLayoutId()java.lang.StringgetScope()int[]getSocialAccountBindLayoutIds()intgetSocialBindAccountCurrentStep()intgetUserInfoCompleteItemDatePicker()intgetUserInfoCompleteItemEmail()intgetUserInfoCompleteItemNormal()intgetUserInfoCompleteItemPhone()intgetUserInfoCompleteItemSelect()int[]getUserInfoCompleteLayoutIds()booleanisSkipConsent()booleanisSyncData()static voidput(android.content.Context context, java.lang.String key, java.lang.String value)AuthFlowsetAuthCallback(AuthFlow.Callback<UserInfo> authCallback)AuthFlowsetAuthHelpLayoutId(int authHelpLayoutId)voidsetData(java.util.Map<java.lang.String,java.lang.Object> data)AuthFlowsetForgotPasswordLayoutId(int forgotPasswordLayoutId)voidsetMfaBindEmailLayoutId(int mfaBindEmailLayoutId)voidsetMfaEmailCurrentStep(int mfaEmailCurrentStep)voidsetMfaEmailLayoutIds(int[] mfaEmailLayoutIds)voidsetMfaOTPLayoutId(int mfaOTPLayoutId)voidsetMfaPhoneCurrentStep(int mfaPhoneCurrentStep)voidsetMfaPhoneLayoutId(int mfaPhoneLayoutId)voidsetMfaPhoneLayoutIds(int[] mfaPhoneLayoutIds)voidsetMfaRecoveryCurrentStep(int mfaRecoveryCurrentStep)voidsetMfaRecoveryLayoutIds(int[] mfaRecoveryLayoutIds)AuthFlowsetRegisterLayoutId(int registerLayoutId)AuthFlowsetResetPasswordByEmailLayoutId(int resetPasswordByEmailLayoutId)AuthFlowsetResetPasswordByPhoneLayoutId(int resetPasswordByPhoneLayoutId)voidsetResetPasswordFirstLoginLayoutId(int resetPasswordFirstLoginLayoutId)voidsetScope(java.lang.String scope)voidsetSkipConsent(boolean skipConsent)voidsetSocialAccountBindLayoutIds(int[] socialBindAccountLayoutIds)voidsetSocialBindAccountCurrentStep(int socialBindAccountCurrentStep)voidsetSyncData(boolean syncData)voidsetUserInfoCompleteItemDatePicker(int userInfoCompleteItemDatePicker)voidsetUserInfoCompleteItemEmail(int userInfoCompleteItemEmail)voidsetUserInfoCompleteItemNormal(int userInfoCompleteItemNormal)voidsetUserInfoCompleteItemPhone(int userInfoCompleteItemPhone)voidsetUserInfoCompleteItemSelect(int userInfoCompleteItemSelect)voidsetUserInfoCompleteLayoutId(int userInfoCompleteLayoutId)voidsetUserInfoCompleteLayoutIds(int[] userInfoCompleteLayoutIds)static voidshowUserProfile(android.app.Activity activity)static AuthFlowstart(android.app.Activity context)static AuthFlowstart(android.app.Activity activity, int layoutId)static AuthFlowstartWeb(android.app.Activity context)
-
-
-
字段详细资料
-
KEY_ACCOUNT
public static final java.lang.String KEY_ACCOUNT
- 另请参阅:
- 常量字段值
-
KEY_USER_INFO
public static final java.lang.String KEY_USER_INFO
- 另请参阅:
- 常量字段值
-
KEY_MFA_PHONE
public static final java.lang.String KEY_MFA_PHONE
- 另请参阅:
- 常量字段值
-
KEY_MFA_PHONE_COUNTRY_CODE
public static final java.lang.String KEY_MFA_PHONE_COUNTRY_CODE
- 另请参阅:
- 常量字段值
-
KEY_MFA_EMAIL
public static final java.lang.String KEY_MFA_EMAIL
- 另请参阅:
- 常量字段值
-
KEY_MFA_RECOVERY_CODE
public static final java.lang.String KEY_MFA_RECOVERY_CODE
- 另请参阅:
- 常量字段值
-
KEY_EXTENDED_FIELDS
public static final java.lang.String KEY_EXTENDED_FIELDS
- 另请参阅:
- 常量字段值
-
KEY_SOCIAL_ACCOUNT_BIND_CODE
public static final java.lang.String KEY_SOCIAL_ACCOUNT_BIND_CODE
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
start
public static AuthFlow start(android.app.Activity context)
-
startWeb
public static AuthFlow startWeb(android.app.Activity context)
-
start
public static AuthFlow start(android.app.Activity activity, int layoutId)
-
showUserProfile
public static void showUserProfile(android.app.Activity activity)
-
getData
public java.util.Map<java.lang.String,java.lang.Object> getData()
-
setData
public void setData(java.util.Map<java.lang.String,java.lang.Object> data)
-
put
public static void put(android.content.Context context, java.lang.String key, java.lang.String value)
-
get
public static java.lang.Object get(android.content.Context context, java.lang.String key)
-
getAccount
public static java.lang.String getAccount(android.content.Context context)
-
getIndexLayoutId
public int getIndexLayoutId()
-
getRegisterLayoutId
public int getRegisterLayoutId()
-
setRegisterLayoutId
public AuthFlow setRegisterLayoutId(int registerLayoutId)
-
getForgotPasswordLayoutId
public int getForgotPasswordLayoutId()
-
setForgotPasswordLayoutId
public AuthFlow setForgotPasswordLayoutId(int forgotPasswordLayoutId)
-
getResetPasswordByEmailLayoutId
public int getResetPasswordByEmailLayoutId()
-
setResetPasswordByEmailLayoutId
public AuthFlow setResetPasswordByEmailLayoutId(int resetPasswordByEmailLayoutId)
-
getResetPasswordByPhoneLayoutId
public int getResetPasswordByPhoneLayoutId()
-
setResetPasswordByPhoneLayoutId
public AuthFlow setResetPasswordByPhoneLayoutId(int resetPasswordByPhoneLayoutId)
-
getAuthHelpLayoutId
public int getAuthHelpLayoutId()
-
setAuthHelpLayoutId
public AuthFlow setAuthHelpLayoutId(int authHelpLayoutId)
-
getMfaPhoneLayoutIds
public int[] getMfaPhoneLayoutIds()
-
setMfaPhoneLayoutIds
public void setMfaPhoneLayoutIds(int[] mfaPhoneLayoutIds)
-
setMfaPhoneLayoutId
public void setMfaPhoneLayoutId(int mfaPhoneLayoutId)
-
getMfaPhoneCurrentStep
public int getMfaPhoneCurrentStep()
-
setMfaPhoneCurrentStep
public void setMfaPhoneCurrentStep(int mfaPhoneCurrentStep)
-
getMfaEmailLayoutIds
public int[] getMfaEmailLayoutIds()
-
setMfaEmailLayoutIds
public void setMfaEmailLayoutIds(int[] mfaEmailLayoutIds)
-
setMfaBindEmailLayoutId
public void setMfaBindEmailLayoutId(int mfaBindEmailLayoutId)
-
getMfaEmailCurrentStep
public int getMfaEmailCurrentStep()
-
setMfaEmailCurrentStep
public void setMfaEmailCurrentStep(int mfaEmailCurrentStep)
-
getUserInfoCompleteLayoutIds
public int[] getUserInfoCompleteLayoutIds()
-
getMfaOTPLayoutId
public int getMfaOTPLayoutId()
-
setMfaOTPLayoutId
public void setMfaOTPLayoutId(int mfaOTPLayoutId)
-
getMfaRecoveryLayoutIds
public int[] getMfaRecoveryLayoutIds()
-
setMfaRecoveryLayoutIds
public void setMfaRecoveryLayoutIds(int[] mfaRecoveryLayoutIds)
-
getMfaRecoveryCurrentStep
public int getMfaRecoveryCurrentStep()
-
setMfaRecoveryCurrentStep
public void setMfaRecoveryCurrentStep(int mfaRecoveryCurrentStep)
-
setUserInfoCompleteLayoutIds
public void setUserInfoCompleteLayoutIds(int[] userInfoCompleteLayoutIds)
-
setUserInfoCompleteLayoutId
public void setUserInfoCompleteLayoutId(int userInfoCompleteLayoutId)
-
getUserInfoCompleteItemNormal
public int getUserInfoCompleteItemNormal()
-
setUserInfoCompleteItemNormal
public void setUserInfoCompleteItemNormal(int userInfoCompleteItemNormal)
-
getUserInfoCompleteItemEmail
public int getUserInfoCompleteItemEmail()
-
setUserInfoCompleteItemEmail
public void setUserInfoCompleteItemEmail(int userInfoCompleteItemEmail)
-
getUserInfoCompleteItemPhone
public int getUserInfoCompleteItemPhone()
-
setUserInfoCompleteItemPhone
public void setUserInfoCompleteItemPhone(int userInfoCompleteItemPhone)
-
getUserInfoCompleteItemSelect
public int getUserInfoCompleteItemSelect()
-
setUserInfoCompleteItemSelect
public void setUserInfoCompleteItemSelect(int userInfoCompleteItemSelect)
-
getUserInfoCompleteItemDatePicker
public int getUserInfoCompleteItemDatePicker()
-
setUserInfoCompleteItemDatePicker
public void setUserInfoCompleteItemDatePicker(int userInfoCompleteItemDatePicker)
-
getResetPasswordFirstLoginLayoutId
public int getResetPasswordFirstLoginLayoutId()
-
setResetPasswordFirstLoginLayoutId
public void setResetPasswordFirstLoginLayoutId(int resetPasswordFirstLoginLayoutId)
-
getSocialAccountBindLayoutIds
public int[] getSocialAccountBindLayoutIds()
-
setSocialAccountBindLayoutIds
public void setSocialAccountBindLayoutIds(int[] socialBindAccountLayoutIds)
-
getSocialBindAccountCurrentStep
public int getSocialBindAccountCurrentStep()
-
setSocialBindAccountCurrentStep
public void setSocialBindAccountCurrentStep(int socialBindAccountCurrentStep)
-
getAuthCallback
public AuthFlow.Callback<UserInfo> getAuthCallback()
-
setAuthCallback
public AuthFlow setAuthCallback(AuthFlow.Callback<UserInfo> authCallback)
-
getScope
public java.lang.String getScope()
-
setScope
public void setScope(java.lang.String scope)
-
isSkipConsent
public boolean isSkipConsent()
-
setSkipConsent
public void setSkipConsent(boolean skipConsent)
-
isSyncData
public boolean isSyncData()
-
setSyncData
public void setSyncData(boolean syncData)
-
-