Package com.nimbusds.oauth2.sdk
Class AbstractOptionallyAuthenticatedRequest
java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
com.nimbusds.oauth2.sdk.AbstractOptionallyAuthenticatedRequest
- Direct Known Subclasses:
AbstractOptionallyIdentifiedRequest,PushedAuthorizationRequest,RequestObjectPOSTRequest,TokenIntrospectionRequest
Abstract request with optional client authentication.
Client authentication methods:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractOptionallyAuthenticatedRequest(URI uri, ClientAuthentication clientAuth) Creates a new abstract request with optional client authentication. -
Method Summary
Modifier and TypeMethodDescriptionReturns the client authentication.Methods inherited from class com.nimbusds.oauth2.sdk.AbstractRequest
getEndpointURIMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.nimbusds.oauth2.sdk.Request
toHTTPRequest
-
Constructor Details
-
AbstractOptionallyAuthenticatedRequest
Creates a new abstract request with optional client authentication.- Parameters:
uri- The URI of the endpoint (HTTP or HTTPS) for which the request is intended,nullif not specified (if, for example, theRequest.toHTTPRequest()method will not be used).clientAuth- The client authentication,nullif none.
-
-
Method Details
-
getClientAuthentication
Returns the client authentication.- Returns:
- The client authentication,
nullif none.
-