Class MoUserAuth
java.lang.Object
io.jenkins.plugins.twofactor.jenkins.MoUserAuth
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<MoUserAuth>
,ModelObject
,RootAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
allow2FaAccessAndRedirect
(javax.servlet.http.HttpSession session, User user, Map<String, Boolean> showWrongCredentialWarning) void
cleanUserAuthResource
(String userId) static String
boolean
boolean
-
Constructor Details
-
MoUserAuth
public MoUserAuth()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getContextPath
-
getBaseUrl
-
getUserId
-
getSecurityQuestionAuth
-
getOtpOverEmailAuth
-
cleanUserAuthResource
-
showSecurityQuestionForConfiguration
public boolean showSecurityQuestionForConfiguration() -
showOtpOverEmailForConfiguration
public boolean showOtpOverEmailForConfiguration() -
allow2FaAccessAndRedirect
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<MoUserAuth>
-