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

Method delegated_by

atomic-identity/src/identity.rs:450–454  ·  view source on GitHub ↗

Set the delegating identity (for delegated identities).

(mut self, delegator: IdentityId)

Source from the content-addressed store, hash-verified

448
449 /// Set the delegating identity (for delegated identities).
450 pub fn delegated_by(mut self, delegator: IdentityId) -> Self {
451 self.delegated_by = Some(delegator);
452 self.identity_type = IdentityType::Delegated;
453 self
454 }
455
456 /// Use an existing keypair.
457 pub fn keypair(mut self, keypair: KeyPair) -> Self {

Callers 4

test_delegated_identityFunction · 0.80
test_delegationFunction · 0.80
create_test_identitiesFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_delegated_identityFunction · 0.64
test_delegationFunction · 0.64