pub struct OAuthResourceServerIntrospectionConfig {
pub introspection_url: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub token_type_hint: Option<String>,
}Fields§
§introspection_url: Option<String>Optional override for the RFC 7662 introspection endpoint.
When omitted, the endpoint is read from discovery if available.
client_id: Option<String>OAuth client_id used when calling the introspection endpoint.
client_secret: Option<String>OAuth client_secret used when calling the introspection endpoint.
token_type_hint: Option<String>Optional token type hint sent to the introspection endpoint.
Typical values are access_token or refresh_token.
Trait Implementations§
Source§impl Clone for OAuthResourceServerIntrospectionConfig
impl Clone for OAuthResourceServerIntrospectionConfig
Source§fn clone(&self) -> OAuthResourceServerIntrospectionConfig
fn clone(&self) -> OAuthResourceServerIntrospectionConfig
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 moreSource§impl Default for OAuthResourceServerIntrospectionConfig
impl Default for OAuthResourceServerIntrospectionConfig
Source§fn default() -> OAuthResourceServerIntrospectionConfig
fn default() -> OAuthResourceServerIntrospectionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthResourceServerIntrospectionConfig
impl<'de> Deserialize<'de> for OAuthResourceServerIntrospectionConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OAuthResourceServerIntrospectionConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OAuthResourceServerIntrospectionConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OAuthResourceServerIntrospectionConfig
impl RefUnwindSafe for OAuthResourceServerIntrospectionConfig
impl Send for OAuthResourceServerIntrospectionConfig
impl Sync for OAuthResourceServerIntrospectionConfig
impl Unpin for OAuthResourceServerIntrospectionConfig
impl UnsafeUnpin for OAuthResourceServerIntrospectionConfig
impl UnwindSafe for OAuthResourceServerIntrospectionConfig
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more