Package io.meeds.mcp.server.model
Class UserToolApprovalRequest
java.lang.Object
io.meeds.mcp.server.model.UserToolApprovalRequest
A pending approval card: the call it was shown for, as the server resolved
it, and whether the card may offer "Always allow". An "Always allow" answer
builds its grant from this record only.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UserToolApprovalRequest
- Parameters:
username- the user the card is shown to
-
-
Method Details
-
isTimedOut
public boolean isTimedOut(long timeout) - Parameters:
timeout- the approval timeout in milliseconds- Returns:
- true when the card has waited longer than the timeout
-