pub struct OAuthClientConfig {
pub client_id: String,
pub client_secret: Option<String>,
pub redirect_uri: String,
pub audience: Option<String>,
}Expand description
OAuth client configuration loaded from the environment.
Fields§
§client_id: String§client_secret: Option<String>§redirect_uri: String§audience: Option<String>Implementations§
Source§impl OAuthClientConfig
impl OAuthClientConfig
Sourcepub fn into_oauth_config(self) -> OAuthConfig
pub fn into_oauth_config(self) -> OAuthConfig
Convert this configuration into a complete OAuthConfig value.
Trait Implementations§
Source§impl Clone for OAuthClientConfig
impl Clone for OAuthClientConfig
Source§fn clone(&self) -> OAuthClientConfig
fn clone(&self) -> OAuthClientConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OAuthClientConfig
impl RefUnwindSafe for OAuthClientConfig
impl Send for OAuthClientConfig
impl Sync for OAuthClientConfig
impl Unpin for OAuthClientConfig
impl UnwindSafe for OAuthClientConfig
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