Class ParamMapping<ModelType,ValueType>

java.lang.Object
com.pingidentity.sdk.api.authn.util.ParamMapping<ModelType,ValueType>

public class ParamMapping<ModelType,ValueType> extends Object
  • Constructor Details

  • Method Details

    • getFormParamName

      public String getFormParamName()
      Get the name of the form parameter.
    • getValue

      public ValueType getValue(javax.servlet.http.HttpServletRequest request)
      Retrieve the value of the parameter, either from a servlet request's parameter, or from the JSON body of an API request.
      Parameters:
      request - The servlet request.
      Returns:
      the parameter value.