com.nimbusds.oauth2.sdk.client
Class ClientRegistrationResponse
java.lang.Object
com.nimbusds.oauth2.sdk.client.ClientRegistrationResponse
- All Implemented Interfaces:
- Message, Response
- Direct Known Subclasses:
- ClientInformationResponse, ClientRegistrationErrorResponse
public abstract class ClientRegistrationResponse
- extends Object
- implements Response
The base abstract for client registration responses.
Related specifications:
- OAuth 2.0 Dynamic Client Registration Protocol
(draft-ietf-oauth-dyn-reg-12), section 5.
- Author:
- Vladimir Dzhuvinov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientRegistrationResponse
public ClientRegistrationResponse()
parse
public static ClientRegistrationResponse parse(HTTPResponse httpResponse)
throws ParseException
- Parses a client registration response from the specified HTTP
response.
- Parameters:
httpResponse
- The HTTP response. Must not be null
.
- Returns:
- The client registration response.
- Throws:
ParseException
- If the HTTP response couldn't be parsed to a
client registration response.
Copyright © 2013 NimbusDS. All Rights Reserved.