com.nimbusds.openid.connect.sdk
Class UserInfoResponse

java.lang.Object
  extended by com.nimbusds.openid.connect.sdk.UserInfoResponse
All Implemented Interfaces:
Message, Response
Direct Known Subclasses:
UserInfoErrorResponse, UserInfoSuccessResponse

public abstract class UserInfoResponse
extends Object
implements Response

The base abstract class for UserInfo success and error responses.

Related specifications:

Author:
Vladimir Dzhuvinov

Constructor Summary
UserInfoResponse()
           
 
Method Summary
static UserInfoResponse parse(HTTPResponse httpResponse)
          Parses a UserInfo response from the specified HTTP response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.nimbusds.oauth2.sdk.Response
toHTTPResponse
 

Constructor Detail

UserInfoResponse

public UserInfoResponse()
Method Detail

parse

public static UserInfoResponse parse(HTTPResponse httpResponse)
                              throws ParseException
Parses a UserInfo response from the specified HTTP response.

Parameters:
httpResponse - The HTTP response. Must not be null.
Returns:
The UserInfo success or error response.
Throws:
ParseException - If the HTTP response couldn't be parsed to a UserInfo response.


Copyright © 2013 NimbusDS. All Rights Reserved.