public abstract class AbstractOptionallyIdentifiedRequest extends AbstractOptionallyAuthenticatedRequest
Client authentication methods:
Client identification methods:
client_id
parameter.
Constructor and Description |
---|
AbstractOptionallyIdentifiedRequest(URI uri,
ClientAuthentication clientAuth)
Creates a new abstract request with optional client authentication.
|
AbstractOptionallyIdentifiedRequest(URI uri,
ClientID clientID)
Creates a new abstract request with optional client identification.
|
Modifier and Type | Method and Description |
---|---|
ClientID |
getClientID()
Gets the client identifier (for a request from a public client or a
request without explicit client authentication).
|
getClientAuthentication
getEndpointURI
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toHTTPRequest
public AbstractOptionallyIdentifiedRequest(URI uri, ClientAuthentication clientAuth)
uri
- The URI of the endpoint (HTTP or HTTPS) for which
the request is intended, null
if not
specified (if, for example, the
Request.toHTTPRequest()
method will not be used).clientAuth
- The client authentication, null
if none.public AbstractOptionallyIdentifiedRequest(URI uri, ClientID clientID)
uri
- The URI of the endpoint (HTTP or HTTPS) for which
the request is intended, null
if not
specified (if, for example, the
Request.toHTTPRequest()
method will not be used).clientID
- The client identifier, null
if not
specified.public ClientID getClientID()
null
if not specified.AbstractOptionallyAuthenticatedRequest.getClientAuthentication()
Copyright © 2016 Connect2id Ltd.. All Rights Reserved.