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

Method revoke

atomic-identity/src/delegation.rs:523–526  ·  view source on GitHub ↗

Revoke the delegation.

(&mut self)

Source from the content-addressed store, hash-verified

521
522 /// Revoke the delegation.
523 pub fn revoke(&mut self) {
524 self.revoked = true;
525 self.revoked_at = Some(Utc::now());
526 }
527
528 /// Check if an operation is allowed by this delegation.
529 pub fn allows(

Callers 1

test_delegation_revokeFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_delegation_revokeFunction · 0.64