EROpenIDManager.EmailDelegate Class Reference

Inherits er::openid::EROpenIDManager::DefaultDelegate.

Collaboration diagram for EROpenIDManager.EmailDelegate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

List< MessageExtension > createFetchMessageExtensions (String userSuppliedString, WORequest request, WOContext context) throws MessageException


Detailed Description

A simple delegate implementation that requests the user's email address. This is for example purposes only and this code is not suitable for production use. To utilize this particular delegate, the client should ask the EROResponse for a list of MessageExtensions. Then the client should iterate through those and retrieve the specific extension parameter using methods appropriate to the type of the MessageExtension. For instance, if the MessageExtension is an instance of SRegResponse, then the email parameter could be retrieved by casting the MessageExtension to an SRegResponse and then using getAttributeValue("email") to retrieve the email.

Member Function Documentation

List<MessageExtension> createFetchMessageExtensions ( String  userSuppliedString,
WORequest  request,
WOContext  context 
) throws MessageException

Returns OpenID message extensions for the fetch request. These message extensions will be sent to the OP as requests for additional information.

Parameters:
userSuppliedString the string the user supplied
request the WORequest
context the WOContext
Returns:
a FetchRequest
Exceptions:
MessageException 

Reimplemented from EROpenIDManager.DefaultDelegate.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:26 2012 for Project Wonder by  doxygen 1.5.8