pub trait OauthClientDBRepository {
fn list(&self) -> Result<Vec<EncodedClient>>;
fn find_client_by_id(&self, id: &str) -> Result<EncodedClient>;
fn regist_from_encoded_client(&self, client: EncodedClient) -> Result<()>;
}
Expand description
methods to search and regist clients from DataSource. which should be implemented for all DataSource type.