mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-24 10:50:24 +01:00
feat(GetToken): Add application_secret method to GetToken trait.
This makes decoupling Authenticator and individual flows easier while allowing for refreshing tokens.
This commit is contained in:
@@ -55,6 +55,9 @@ impl<
|
||||
fn api_key(&mut self) -> Option<String> {
|
||||
None
|
||||
}
|
||||
fn application_secret(&self) -> ApplicationSecret {
|
||||
self.application_secret.clone()
|
||||
}
|
||||
}
|
||||
|
||||
impl<FD, C> DeviceFlow<FD, C>
|
||||
|
||||
Reference in New Issue
Block a user