Class ExplicitClientRegistrationRequest
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.AbstractRequest
-
- com.nimbusds.openid.connect.sdk.federation.registration.ExplicitClientRegistrationRequest
-
@Immutable public class ExplicitClientRegistrationRequest extends AbstractRequest
Explicit client registration request for a federation entity.Related specifications:
- OpenID Connect Federation 1.0, section 9.2.
-
-
Constructor Summary
Constructors Constructor Description ExplicitClientRegistrationRequest(URI uri, EntityStatement entityStatement)
Creates a new explicit client registration request for a federation entity.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityStatement
getEntityStatement()
Returns the entity statement.static ExplicitClientRegistrationRequest
parse(HTTPRequest httpRequest)
Parses an explicit client registration request from the specified HTTP request.HTTPRequest
toHTTPRequest()
Returns the matching HTTP request.-
Methods inherited from class com.nimbusds.oauth2.sdk.AbstractRequest
getEndpointURI
-
-
-
-
Constructor Detail
-
ExplicitClientRegistrationRequest
public ExplicitClientRegistrationRequest(URI uri, EntityStatement entityStatement)
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 Detail
-
getEntityStatement
public EntityStatement getEntityStatement()
Returns the entity statement.- Returns:
- The entity statement.
-
toHTTPRequest
public HTTPRequest 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.
-
-