ExMCP.Security.Consent (ex_mcp v0.9.2)
View SourceManages user consent for various operations.
This module is responsible for ensuring that user consent has been obtained before proceeding with sensitive actions.
Summary
Functions
Ensures user consent is obtained before accessing an external resource.
Functions
@spec ensure_user_consent( ExMCP.ConsentHandler.user_id(), String.t(), atom(), module(), map() ) :: :ok | {:error, :consent_denied | :consent_required | :consent_error}
Ensures user consent is obtained before accessing an external resource.