Package com.nimbusds.oauth2.sdk
Class AbstractAuthenticatedRequest
java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
com.nimbusds.oauth2.sdk.AbstractAuthenticatedRequest
- Direct Known Subclasses:
CIBARequest
Abstract request with client authentication.
Client authentication methods:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractAuthenticatedRequest
(URI endpoint, ClientAuthentication clientAuth) Creates a new abstract request with client authentication. -
Method Summary
Modifier and TypeMethodDescriptionReturns the client authentication.Methods inherited from class com.nimbusds.oauth2.sdk.AbstractRequest
getEndpointURI
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nimbusds.oauth2.sdk.Request
toHTTPRequest
-
Constructor Details
-
AbstractAuthenticatedRequest
Creates a new abstract request with client authentication.- Parameters:
endpoint
- The URI of the endpoint. May benull
if theRequest.toHTTPRequest()
method is not going to be used.clientAuth
- The client authentication. Must not benull
.
-
-
Method Details
-
getClientAuthentication
Returns the client authentication.- Returns:
- The client authentication.
-