Skip to main content

decline_authorization

Function decline_authorization 

Source
pub(crate) async fn decline_authorization(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: XrpcBody,
) -> Response
Expand description

POST /xrpc/bot.did.declineAuthorization

An agent’s “no”, recorded rather than left to look like an expiry. Credential::AccountSelf, the same posture as approve_authorization. The approval token is spent either way, so a declined request cannot be approved afterwards.