pub struct OAuth2ExchangeConfig {
pub token_url: String,
pub client_id: Zeroizing<String>,
pub client_secret: Zeroizing<String>,
pub scope: String,
}Expand description
Resolved OAuth2 credentials ready for token exchange.
All secret fields use Zeroizing so they are zeroed on drop.
Fields§
§token_url: String§client_id: Zeroizing<String>§client_secret: Zeroizing<String>§scope: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for OAuth2ExchangeConfig
impl RefUnwindSafe for OAuth2ExchangeConfig
impl Send for OAuth2ExchangeConfig
impl Sync for OAuth2ExchangeConfig
impl Unpin for OAuth2ExchangeConfig
impl UnsafeUnpin for OAuth2ExchangeConfig
impl UnwindSafe for OAuth2ExchangeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more