Class CaptchaContext
- java.lang.Object
-
- com.pingidentity.sdk.captchaprovider.CaptchaContext
-
public class CaptchaContext extends Object
A wrapper class for contextual information used byCaptchaProvidermethods.- Since:
- 11.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCaptchaContext.BuilderA helper to createCaptchaContextinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()Get the 'action' of the request.Map<String,Object>getInParameters()Get the map that contains a set of input parameters.javax.servlet.http.HttpServletRequestgetRequest()Get the HttpServletRequest.javax.servlet.http.HttpServletResponsegetResponse()Get theHttpServletResponseinstance
-
-
-
Method Detail
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
Get the HttpServletRequest.- Returns:
HttpServletRequest, or null.
-
getResponse
public javax.servlet.http.HttpServletResponse getResponse()
Get theHttpServletResponseinstance- Returns:
HttpServletResponseor null,- Since:
- 11.3
-
getAction
public String getAction()
Get the 'action' of the request. SeeCaptchaProviderfor 'actions'.- Returns:
- the action, or null.
-
getInParameters
public Map<String,Object> getInParameters()
Get the map that contains a set of input parameters.Current available parameters are:
IdpAuthenticationAdapterV2.IN_PARAMETER_NAME_TRACKING_IDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_REQUEST_IDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_TRANSACTION_IDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_USERIDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_USERID_AUTHENTICATEDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_PARTNER_ENTITYIDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_OAUTH_CLIENT_IDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_SP_ADAPTER_IDIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_CHAINED_ATTRIBUTESIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_DEVICE_SHARING_TYPEIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_RESUME_PATHIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_APPLICATION_NAMEIdpAuthenticationAdapterV2.IN_PARAMETER_NAME_APPLICATION_ICON_URL- Returns:
- a map that contains a set of input parameters, or empty map
- Since:
- 11.3
-
-