Skip to main content

handle_authorize

Function handle_authorize 

Source
pub(crate) async fn handle_authorize(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<DesktopAuthorizeRequest>,
) -> Response
Expand description

POST /api/v1/agent/desktop/authorize: may this agent do action on that window now? Waits while the user is asked.