Skip to main content

revoke_token

Function revoke_token 

Source
pub async fn revoke_token(
    client: &KanidmClient,
    metrics: &ControllerMetrics,
    account: &str,
    token_id: Uuid,
) -> ExecResult<RevokeOutcome>
Expand description

Revoke one token by id. A token that is already gone is success, so the call is idempotent across retries and concurrent reconciles.