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

Method delegated_by

atomic-identity/src/identity.rs:482–486  ·  view source on GitHub ↗

Set the delegating identity (for delegated identities).

(mut self, delegator: IdentityId)

Source from the content-addressed store, hash-verified

480
481 /// Set the delegating identity (for delegated identities).
482 pub fn delegated_by(mut self, delegator: IdentityId) -> Self {
483 self.delegated_by = Some(delegator);
484 self.identity_type = IdentityType::Delegated;
485 self
486 }
487
488 /// Use an existing keypair.
489 pub fn keypair(mut self, keypair: KeyPair) -> Self {

Callers 10

fixtureFunction · 0.80
executeMethod · 0.80
agentFunction · 0.80
test_delegated_identityFunction · 0.80
test_delegationFunction · 0.80
create_test_identitiesFunction · 0.80

Calls

no outgoing calls

Tested by 4

test_delegated_identityFunction · 0.64
test_delegationFunction · 0.64