mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-09 04:10:59 +01:00
Unify trait bounds on Authenticator::build
This commit is contained in:
@@ -167,9 +167,9 @@ where
|
||||
pub fn build(self) -> io::Result<impl GetToken>
|
||||
where
|
||||
T::TokenGetter: 'static + GetToken,
|
||||
S: 'static + Send,
|
||||
S: 'static,
|
||||
AD: 'static,
|
||||
C::Connector: 'static + Clone + Send,
|
||||
C::Connector: 'static + hyper::client::connect::Connect,
|
||||
{
|
||||
let client = self.client.build_hyper_client();
|
||||
let store = self.store?;
|
||||
|
||||
@@ -233,7 +233,6 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
struct ServiceAccountAccessImpl<C> {
|
||||
client: hyper::Client<C, hyper::Body>,
|
||||
key: ServiceAccountKey,
|
||||
|
||||
Reference in New Issue
Block a user