EROResponse Class Reference

Collaboration diagram for EROResponse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 EROResponse (Identifier identifier, FetchResponse fetchResponse, List< MessageExtension > messageExtensions)
FetchResponse fetchResponse ()
Object handleQueryWithUnboundKey (String key)
void handleTakeValueForUnboundKey (Object obj, String key)
Identifier identifier ()
List< MessageExtension > messageExtensions ()
boolean succeeded ()
void unableToSetNullForKey (String key)

Private Attributes

FetchResponse _fetchResponse
Identifier _identifier
List< MessageExtension > _messageExtensions


Detailed Description

EROResponse encapsulates the response from an OpenID provider.

Author:
mschrag

Constructor & Destructor Documentation

EROResponse ( Identifier  identifier,
FetchResponse  fetchResponse,
List< MessageExtension >  messageExtensions 
)

Construct a new EROResponse.

Parameters:
identifier the OpenID identifier (null if auth failed)
fetchResponse the FetchResponse (null if auth failed, or if there were no extended attributes)
messageExtensions the list of message extensions returned as responses from the request


Member Function Documentation

FetchResponse fetchResponse (  ) 

Returns the OpenID FetchResponse that contains extended attributes from the request.

Returns:
the OpenID FetchResponse
Deprecated:
use messageExtensions instead

Object handleQueryWithUnboundKey ( String  key  ) 

void handleTakeValueForUnboundKey ( Object  obj,
String  key 
)

Identifier identifier (  ) 

Returns the OpenID identifier

Returns:
the OpenID identifier

List<MessageExtension> messageExtensions (  ) 

Returns the message extensions from the request.

Returns:
the list of message extensions

boolean succeeded (  ) 

Returns whether or not this auth attempt succeeded.

Returns:
whether or not this auth attempt succeeded

void unableToSetNullForKey ( String  key  ) 


Member Data Documentation

FetchResponse _fetchResponse [private]

Identifier _identifier [private]

List<MessageExtension> _messageExtensions [private]


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