add optional attributes for attribute exchange . make sure you have already set attribute_exchange as an requesttype before calling this method . concode_field_sep ArrayList<AuthPolicyType> authTypes concode_elem_sep HttpServletRequest request concode_elem_sep List<OpenIDAxAttribute> requiredClaims concode_elem_sep ArrayList<String> requestTypes concode_elem_sep List<OpenIDAxAttribute> optionalClaims concode_elem_sep boolean requestClaimsFromIdP concode_elem_sep HttpServletResponse reponse concode_elem_sep List<String> optionalClaimURIs concode_elem_sep List<String> requiredClaimURIs concode_elem_sep String openIDUrl concode_elem_sep String realm concode_elem_sep String returnUrl concode_elem_sep int maxAuthAge concode_field_sep void setRequest concode_elem_sep void setMaxAuthAge concode_elem_sep void setRequestClaimsFromIdP concode_elem_sep List<OpenIDAxAttribute> getRequiredClaims concode_elem_sep HttpServletRequest getRequest concode_elem_sep List<OpenIDAxAttribute> getOptionalClaims concode_elem_sep int getMaxAuthAge concode_elem_sep void setOpenIDUrl concode_elem_sep ArrayList<String> getRequestTypes concode_elem_sep boolean getRequestClaimsFromIdP concode_elem_sep String getRealm concode_elem_sep void setRealm concode_elem_sep void setReponse concode_elem_sep HttpServletResponse getReponse concode_elem_sep ArrayList<AuthPolicyType> getAuthTypes concode_elem_sep void addAuthPolicy concode_elem_sep List<String> getRequiredClaimURIs concode_elem_sep String getOpenIDUrl concode_elem_sep String getReturnUrl concode_elem_sep void setReturnUrl concode_elem_sep void addRequestType concode_elem_sep void addRequiredClaims concode_elem_sep void addRequiredClaims concode_elem_sep void addClaims concode_elem_sep void addClaims concode_elem_sep List<String> getOptionalClaimURIs
void function ( String arg0 , String arg1 ) { addClaims ( arg0 , arg1 , optionalClaims ) ; }