Class PasswordResetRequired
- java.lang.Object
-
- com.pingidentity.sdk.api.authn.model.state.PasswordResetRequired
-
- All Implemented Interfaces:
CaptchaEnabledState,CaptchaProviderEnabledState
public class PasswordResetRequired extends Object implements CaptchaEnabledState, CaptchaProviderEnabledState
An API state model containing additional details for states in which a new user password is required for password reset.- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description PasswordResetRequired()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getCaptchaAttributes()Get the CAPTCHA attributes as provided by the CAPTCHA provider plugin.StringgetCaptchaProviderType()Get the CAPTCHA provider plugin type.StringgetCaptchaSiteKey()Get the CAPTCHA site key assigned to your application by Google.booleangetShowCaptcha()Return true when the 'CAPTCHA' for authentication feature is available.voidsetCaptchaAttributes(Map<String,Object> captchaAttributes)Set the CAPTCHA attributes as provided by the CAPTCHA provider plugin.voidsetCaptchaProviderType(String captchaProviderType)Set the CAPTCHA provider plugin type.voidsetCaptchaSiteKey(String captchaSiteKey)Set the CAPTCHA site key assigned to your application by Google.voidsetShowCaptcha(boolean showCaptcha)Set the 'CAPTCHA' for authentication feature availability
-
-
-
Method Detail
-
getShowCaptcha
public boolean getShowCaptcha()
Description copied from interface:CaptchaEnabledStateReturn true when the 'CAPTCHA' for authentication feature is available.- Specified by:
getShowCaptchain interfaceCaptchaEnabledState- Specified by:
getShowCaptchain interfaceCaptchaProviderEnabledState
-
setShowCaptcha
public void setShowCaptcha(boolean showCaptcha)
Description copied from interface:CaptchaEnabledStateSet the 'CAPTCHA' for authentication feature availability- Specified by:
setShowCaptchain interfaceCaptchaEnabledState- Specified by:
setShowCaptchain interfaceCaptchaProviderEnabledState
-
getCaptchaSiteKey
public String getCaptchaSiteKey()
Description copied from interface:CaptchaEnabledStateGet the CAPTCHA site key assigned to your application by Google. This field will only be populated if the CAPTCHA provider is reCAPTCHA v2, v3, or Enterprise.- Specified by:
getCaptchaSiteKeyin interfaceCaptchaEnabledState
-
setCaptchaSiteKey
public void setCaptchaSiteKey(String captchaSiteKey)
Description copied from interface:CaptchaEnabledStateSet the CAPTCHA site key assigned to your application by Google.- Specified by:
setCaptchaSiteKeyin interfaceCaptchaEnabledState
-
getCaptchaProviderType
public String getCaptchaProviderType()
Description copied from interface:CaptchaProviderEnabledStateGet the CAPTCHA provider plugin type.- Specified by:
getCaptchaProviderTypein interfaceCaptchaProviderEnabledState
-
setCaptchaProviderType
public void setCaptchaProviderType(String captchaProviderType)
Description copied from interface:CaptchaProviderEnabledStateSet the CAPTCHA provider plugin type.- Specified by:
setCaptchaProviderTypein interfaceCaptchaProviderEnabledState
-
getCaptchaAttributes
public Map<String,Object> getCaptchaAttributes()
Description copied from interface:CaptchaProviderEnabledStateGet the CAPTCHA attributes as provided by the CAPTCHA provider plugin. The CAPTCHA provider plugin CAPTCHA attributes. Google's reCAPTCHA v2 CAPTCHA provider will provide 'siteKey', Google's reCAPTCHA v3 and reCAPTCHA Enterprise CAPTCHA provider will provide 'siteKey' and 'action' to be able to invoke the challenge.- Specified by:
getCaptchaAttributesin interfaceCaptchaProviderEnabledState
-
setCaptchaAttributes
public void setCaptchaAttributes(Map<String,Object> captchaAttributes)
Description copied from interface:CaptchaProviderEnabledStateSet the CAPTCHA attributes as provided by the CAPTCHA provider plugin.- Specified by:
setCaptchaAttributesin interfaceCaptchaProviderEnabledState
-
-