com.nimbusds.openid.connect.sdk
Class UserInfoResponse
java.lang.Object
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:
- OpenID Connect Messages 1.0, section 2.3.3.
- OpenID Connect Standard 1.0, section 4.3.
- OAuth 2.0 Bearer Token Usage (RFC 6750), section 3.1.
- Author:
- Vladimir Dzhuvinov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserInfoResponse
public UserInfoResponse()
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.