Class ExplicitClientRegistrationRequest
java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
com.nimbusds.openid.connect.sdk.federation.registration.ExplicitClientRegistrationRequest
Explicit client registration request for a federation entity.
Related specifications:
- OpenID Connect Federation 1.0, section 9.2.
-
Constructor Summary
ConstructorsConstructorDescriptionExplicitClientRegistrationRequest
(URI uri, EntityStatement entityStatement) Creates a new explicit client registration request for a federation entity. -
Method Summary
Modifier and TypeMethodDescriptionReturns the entity statement.parse
(HTTPRequest httpRequest) Parses an explicit client registration request from the specified HTTP request.Returns the matching HTTP request.Methods inherited from class com.nimbusds.oauth2.sdk.AbstractRequest
getEndpointURI
-
Constructor Details
-
ExplicitClientRegistrationRequest
Creates a new explicit client registration request for a federation entity.- Parameters:
uri
- The URI of the federation registration endpoint. May benull
if thetoHTTPRequest()
method will not be used.entityStatement
- The entity statement of the client. Must not benull
.
-
-
Method Details
-
getEntityStatement
Returns the entity statement.- Returns:
- The entity statement.
-
toHTTPRequest
Description copied from interface:Request
Returns the matching HTTP request.- Returns:
- The HTTP request.
-
parse
public static ExplicitClientRegistrationRequest parse(HTTPRequest httpRequest) throws ParseException Parses an explicit client registration request from the specified HTTP request.- Parameters:
httpRequest
- The HTTP request. Must not benull
.- Returns:
- The explicit client registration request.
- Throws:
ParseException
- If the HTTP request couldn't be parsed to an explicit client registration request.
-