(&self, provider_id: &str)
| 87 | } |
| 88 | |
| 89 | pub async fn get(&self, provider_id: &str) -> Option<AuthInfo> { |
| 90 | let creds = self.credentials.read().await; |
| 91 | creds.get(provider_id).cloned() |
| 92 | } |
| 93 | |
| 94 | pub async fn set(&self, provider_id: &str, auth: AuthInfo) { |
| 95 | { |