Package cn.authing.guard.flow
Class FlowHelper
- java.lang.Object
-
- cn.authing.guard.flow.FlowHelper
-
public class FlowHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description FlowHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleEmailMFA(AuthActivity activity, View currentView, String email)static voidhandleEmailMFA(AuthActivity activity, View currentView, String email, boolean forwardResult)static voidhandleFirstTimeLogin(View currentView, UserInfo userInfo)static voidhandleMFA(View currentView, MFAData data)static voidhandleOTPMFA(AuthActivity activity)static voidhandleSMSMFA(AuthActivity activity, View currentView, String phone)static voidhandleSMSMFA(AuthActivity activity, View currentView, String phone, boolean forwardResult)static voidhandleUserInfoComplete(View currentView, List<ExtendedField> extendedFields)static List<ExtendedField>missingFields(Config config, UserInfo userInfo)
-
-
-
Method Detail
-
handleSMSMFA
public static void handleSMSMFA(AuthActivity activity, View currentView, String phone)
-
handleSMSMFA
public static void handleSMSMFA(AuthActivity activity, View currentView, String phone, boolean forwardResult)
-
handleEmailMFA
public static void handleEmailMFA(AuthActivity activity, View currentView, String email)
-
handleEmailMFA
public static void handleEmailMFA(AuthActivity activity, View currentView, String email, boolean forwardResult)
-
handleOTPMFA
public static void handleOTPMFA(AuthActivity activity)
-
missingFields
public static List<ExtendedField> missingFields(Config config, UserInfo userInfo)
-
handleUserInfoComplete
public static void handleUserInfoComplete(View currentView, List<ExtendedField> extendedFields)
-
-