pub struct StaticOAuthClientConfig {
pub client_id: String,
pub client_secret: Option<String>,
pub scopes: Vec<String>,
}Expand description
OAuth client credentials registered with the authorization server out of band, for servers whose authorization server supports neither Dynamic Client Registration nor Client ID Metadata Documents.
Fields§
§client_id: String§client_secret: Option<String>Secret paired with the client ID. Optional: public clients using PKCE have no secret.
scopes: Vec<String>Scopes to request. When empty, scopes are selected from server metadata, which may be broader than the extension needs.
Trait Implementations§
Source§impl Clone for StaticOAuthClientConfig
impl Clone for StaticOAuthClientConfig
Source§impl Debug for StaticOAuthClientConfig
impl Debug for StaticOAuthClientConfig
Source§impl PartialEq for StaticOAuthClientConfig
impl PartialEq for StaticOAuthClientConfig
impl StructuralPartialEq for StaticOAuthClientConfig
Auto Trait Implementations§
impl Forget for StaticOAuthClientConfig
impl Freeze for StaticOAuthClientConfig
impl Move for StaticOAuthClientConfig
impl RefUnwindSafe for StaticOAuthClientConfig
impl Send for StaticOAuthClientConfig
impl Sync for StaticOAuthClientConfig
impl Unpin for StaticOAuthClientConfig
impl UnsafeUnpin for StaticOAuthClientConfig
impl UnwindSafe for StaticOAuthClientConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.