Interface InstallationConfirmationHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handles connection-global installation confirmation requests from the
runtime.
Match the request's operation and policy session against the exact original action on this connection before presenting the review. Refuse unknown actions or incomplete reviews. The SDK echoes the original challenge and review fingerprint, so the handler returns only an explicit decision.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionconfirm(InstallationConfirmationRequest request, InstallationConfirmationContext context) Handles one installation confirmation review.
-
Method Details
-
confirm
CompletableFuture<InstallationDecision> confirm(InstallationConfirmationRequest request, InstallationConfirmationContext context) Handles one installation confirmation review.- Parameters:
request- the generated request from the runtimecontext- cancellation signal for this review- Returns:
- a future that resolves with the user's explicit decision
-