feat: Support authenticating or refreshing OAuth for supported clients from within the REPL
This commit is contained in:
1 parent
564480e165
commit
2220fd2542
7 files changed
+44
-8
No files matched your search
@@ -47,6 +47,10 @@ pub trait Client: Sync + Send {
|
||||
|
||||
fn model(&self) -> &Model;
|
||||
|
||||
fn supports_oauth(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn build_client(&self) -> Result<ReqwestClient> {
|
||||
let mut builder = ReqwestClient::builder();
|
||||
let extra = self.extra_config();
|
||||
|
||||
Reference in new issue
Block a user