Package com.nimbusds.oauth2.sdk
Class AbstractAuthenticatedRequest
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.AbstractRequest
-
- com.nimbusds.oauth2.sdk.AbstractAuthenticatedRequest
-
- Direct Known Subclasses:
CIBARequest
public abstract class AbstractAuthenticatedRequest extends AbstractRequest
Abstract request with client authentication.Client authentication methods:
-
-
Constructor Summary
Constructors Constructor Description AbstractAuthenticatedRequest(URI uri, ClientAuthentication clientAuth)
Creates a new abstract request with client authentication.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientAuthentication
getClientAuthentication()
Returns 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 Detail
-
AbstractAuthenticatedRequest
public AbstractAuthenticatedRequest(URI uri, ClientAuthentication clientAuth)
Creates a new abstract request with client authentication.- Parameters:
uri
- The URI of the endpoint (HTTP or HTTPS) for which the request is intended,null
if not specified (if, for example, theRequest.toHTTPRequest()
method will not be used).clientAuth
- The client authentication. Must not benull
.
-
-
Method Detail
-
getClientAuthentication
public ClientAuthentication getClientAuthentication()
Returns the client authentication.- Returns:
- The client authentication.
-
-