Interface HttpOperation<T extends HttpOperation>
- All Superinterfaces:
Operation
- All Known Subinterfaces:
AuthCloudApiRegistration
,Authentication
,Deregistration
,DeviceInformationChange
,OutOfBandAuthentication
,OutOfBandOperation
,OutOfBandRegistration
,PendingOutOfBandOperations
,Registration
An operation that requires sending HTTP requests to the backend.
You can provide HTTP request headers that can be sent in the HTTP request. This additional headers can be used for example to correlate the operation executed by the SDK with a more general operation. For instance if you want to correlate all the operations involving the enrollment of a user (which includes registration of an authenticator), you can use this feature.
-
Method Summary
Modifier and TypeMethodDescriptionrequestHeaders
(RequestHeaders requestHeaders) Specifies the additional request headers that must be included in the HTTP requests sent by the operation.
-
Method Details
-
requestHeaders
Specifies the additional request headers that must be included in the HTTP requests sent by the operation.- Parameters:
requestHeaders
- the HTTP headers.- Returns:
- an
HttpOperation
-