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

Method did_for_email

atomic-config/src/lib.rs:797–799  ·  view source on GitHub ↗

Look up the DID for one email: configured mapping, else `None` (the caller synthesizes the deterministic foreign identity).

(&self, email: &str)

Source from the content-addressed store, hash-verified

795 /// Look up the DID for one email: configured mapping, else
796 /// `None` (the caller synthesizes the deterministic foreign identity).
797 pub fn did_for_email(&self, email: &str) -> Option<&str> {
798 self.mappings.get(email).map(String::as_str)
799 }
800}
801
802/// Binding signer trust policy.

Callers 1

projection_authorFunction · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected