Look up the DID for one email: configured mapping, else `None` (the caller synthesizes the deterministic foreign identity).
(&self, email: &str)
| 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. |
no test coverage detected