|
||||||||||
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.OIDCClientReadRequest
public class OIDCClientReadRequest
OpenID Connect client read request.
Example HTTP request:
GET /connect/register?client_id=s6BhdRkqt3 HTTP/1.1 Accept: application/json Host: server.example.com Authorization: Bearer this.is.an.access.token.value.ffx83
Related specifications:
Constructor Summary | |
---|---|
OIDCClientReadRequest(ClientID clientID)
Creates a new OpenID Connect client read request. |
Method Summary | |
---|---|
ClientID |
getClientID()
Gets the client ID. |
static OIDCClientReadRequest |
parse(HTTPRequest httpRequest)
Parses an OpenID Connect client read request from the specified HTTP GET 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 OIDCClientReadRequest(ClientID clientID)
clientID
- The client ID. Must not be null
.Method Detail |
---|
public ClientID getClientID()
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 OIDCClientReadRequest 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 read request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |