Project Wonder 5.0

er.openid
Class EROResponse

java.lang.Object
  extended by er.openid.EROResponse
All Implemented Interfaces:
com.webobjects.foundation.NSKeyValueCoding.ErrorHandling

public class EROResponse
extends java.lang.Object
implements com.webobjects.foundation.NSKeyValueCoding.ErrorHandling

EROResponse encapsulates the response from an OpenID provider.

Author:
mschrag

Field Summary
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Constructor Summary
EROResponse(org.openid4java.discovery.Identifier identifier, org.openid4java.message.ax.FetchResponse fetchResponse, java.util.List<org.openid4java.message.MessageExtension> messageExtensions)
          Construct a new EROResponse.
 
Method Summary
 org.openid4java.message.ax.FetchResponse fetchResponse()
          Deprecated. use messageExtensions instead
 java.lang.Object handleQueryWithUnboundKey(java.lang.String key)
           
 void handleTakeValueForUnboundKey(java.lang.Object obj, java.lang.String key)
           
 org.openid4java.discovery.Identifier identifier()
          Returns the OpenID identifier
 java.util.List<org.openid4java.message.MessageExtension> messageExtensions()
          Returns the message extensions from the request.
 boolean succeeded()
          Returns whether or not this auth attempt succeeded.
 void unableToSetNullForKey(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EROResponse

public EROResponse(org.openid4java.discovery.Identifier identifier,
                   org.openid4java.message.ax.FetchResponse fetchResponse,
                   java.util.List<org.openid4java.message.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
Method Detail

succeeded

public boolean succeeded()
Returns whether or not this auth attempt succeeded.

Returns:
whether or not this auth attempt succeeded

identifier

public org.openid4java.discovery.Identifier identifier()
Returns the OpenID identifier

Returns:
the OpenID identifier

fetchResponse

@Deprecated
public org.openid4java.message.ax.FetchResponse fetchResponse()
Deprecated. use messageExtensions instead

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

Returns:
the OpenID FetchResponse

messageExtensions

public java.util.List<org.openid4java.message.MessageExtension> messageExtensions()
Returns the message extensions from the request.

Returns:
the list of message extensions

handleTakeValueForUnboundKey

public void handleTakeValueForUnboundKey(java.lang.Object obj,
                                         java.lang.String key)
Specified by:
handleTakeValueForUnboundKey in interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling

unableToSetNullForKey

public void unableToSetNullForKey(java.lang.String key)
Specified by:
unableToSetNullForKey in interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling

handleQueryWithUnboundKey

public java.lang.Object handleQueryWithUnboundKey(java.lang.String key)
Specified by:
handleQueryWithUnboundKey in interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.