MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / delegation_status

Method delegation_status

atomic-remote/src/storage.rs:527–536  ·  view source on GitHub ↗

Check whether a delegation is still good. Unauthenticated on the server side, so anyone auditing a change's `delegation_id` can check it without an account.

(
        &self,
        delegation_id: &str,
    )

Source from the content-addressed store, hash-verified

525 /// Unauthenticated on the server side, so anyone auditing a change's
526 /// `delegation_id` can check it without an account.
527 pub async fn delegation_status(
528 &self,
529 delegation_id: &str,
530 ) -> Result<DelegationStatusInfo, RemoteError> {
531 self.get(&format!(
532 "/delegations/{}/status",
533 urlencoding::encode(delegation_id)
534 ))
535 .await
536 }
537
538 /// Resolve an identity by its base32-encoded Ed25519 public key.
539 ///

Callers 1

check_revocationMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected