|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nimbusds.openid.connect.sdk.OIDCClientRegistrationRequest com.nimbusds.openid.connect.sdk.OIDCClientAddRequest
public class OIDCClientAddRequest
OpenID Connect client add (register) request.
Example HTTP request:
POST /connect/register HTTP/1.1 Content-Type: application/json Host: server.example.com Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJ ... { "application_type" : "web", "redirect_uris" : [ "https://client.example.org/callback", "https://client.example.org/callback2" ], "client_name" : "My Example", "client_name#ja-Jpan-JP" : "クライアント名", "logo_url" : "https://client.example.org/logo.png", "subject_type" : "pairwise", "sector_identifier_url" : "https://othercompany.com/file_of_redirect_uris.json", "token_endpoint_auth_method" : "client_secret_basic", "x509_url" : "https://client.example.org/certs.x509", "jwk_url" : "https://client.example.org/my_rsa_public_key.jwk", "userinfo_encrypted_response_alg" : "RSA1_5", "userinfo_encrypted_response_enc" : "A128CBC+HS256" }
Related specifications:
Constructor Summary | |
---|---|
OIDCClientAddRequest(Client client)
Creates a new OpenID Connect client add (register) request. |
Method Summary | |
---|---|
Client |
getClientDetails()
Gets the associated client details. |
static OIDCClientAddRequest |
parse(HTTPRequest httpRequest)
Parses an OpenID Connect client add (register) request from the specified HTTP POST request. |
HTTPRequest |
toHTTPRequest(URL url)
Returns the matching HTTP request. |
Methods inherited from class com.nimbusds.openid.connect.sdk.OIDCClientRegistrationRequest |
---|
getAccessToken, setAccessToken |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OIDCClientAddRequest(Client client)
client
- The client details. Must not be null
and must
specify one or more redirect URIs.Method Detail |
---|
public Client getClientDetails()
public HTTPRequest toHTTPRequest(URL url)
Request
url
- The URL of the HTTP endpoint for which the request is
intended. Must not be null
.
public static OIDCClientAddRequest parse(HTTPRequest httpRequest) throws ParseException
httpRequest
- The HTTP request. Must not be null
.
ParseException
- If the HTTP request couldn't be parsed to a
client register request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |