public class FetchResponse extends AxPayload
_parameters, OPENID_NS_AX| Modifier | Constructor and Description |
|---|---|
protected |
FetchResponse()
Constructs a Fetch Response with an empty parameter list.
|
protected |
FetchResponse(ParameterList params)
Constructs a FetchResponse from a parameter list.
|
| Modifier and Type | Method and Description |
|---|---|
static FetchResponse |
createFetchResponse()
Constructs a Fetch Response with an empty parameter list.
|
static FetchResponse |
createFetchResponse(FetchRequest req,
Map userData)
Creates a FetchResponse from a FetchRequest message and the data released
by the user.
|
static FetchResponse |
createFetchResponse(ParameterList params) |
String |
getUpdateUrl()
Gets the optional 'update_url' parameter if available, or null otherwise.
|
protected boolean |
isValid()
Checks the validity of the extension.
|
void |
setUpdateUrl(String updateUrl)
Sets the optional 'update_url' parameter where the OP can later re-post
fetch-response updates for the values of the requested attributes.
|
addAttribute, addAttribute, addAttributes, getAttributeAlias, getAttributeAliases, getAttributes, getAttributeTypes, getAttributeTypeUri, getAttributeValue, getAttributeValueByTypeUri, getAttributeValues, getAttributeValuesByTypeUri, getCountgetExtension, getParameters, getParameterValue, getTypeUri, providesIdentifier, setParameters, signRequiredprotected FetchResponse()
protected FetchResponse(ParameterList params)
public static FetchResponse createFetchResponse()
public static FetchResponse createFetchResponse(ParameterList params) throws MessageException
MessageExceptionpublic static FetchResponse createFetchResponse(FetchRequest req, Map userData) throws MessageException
req - FetchRequest message.userData - The userData may be a MapMessageExceptionpublic String getUpdateUrl()
public void setUpdateUrl(String updateUrl) throws MessageException
updateUrl - The URL where the RP accepts later updates
for the requested attributes.MessageExceptionCopyright © 2015 WSO2. All rights reserved.