pub trait CredentialSource {
    fn add_credential<'a>(
        &'a self,
        scope_id: ScopeID,
        credential: Credential
    ) -> Pin<Box<dyn Future<Output = ()> + 'a>>; fn credentials_for<'a>(
        &'a self,
        scope_id: &'a ScopeID
    ) -> Pin<Box<dyn Future<Output = Vec<Credential>> + 'a>>; fn id_hash(&self) -> CredentialSourceHash; fn clone_ref(&self) -> Box<dyn CredentialSource>; }

Required Methods§

Implementors§