pub struct OAuth2AuthenticationEndpointsDefinition {
pub token: String,
pub revocation: String,
pub introspection: String,
}Expand description
Represents the configuration of OAUTH2 endpoints
Fields§
§token: StringGets/sets the relative path to the token endpoint. Defaults to /oauth2/token
revocation: StringGets/sets the relative path to the revocation endpoint. Defaults to /oauth2/revoke
introspection: StringGets/sets the relative path to the introspection endpoint. Defaults to /oauth2/introspect
Trait Implementations§
Source§impl Clone for OAuth2AuthenticationEndpointsDefinition
impl Clone for OAuth2AuthenticationEndpointsDefinition
Source§fn clone(&self) -> OAuth2AuthenticationEndpointsDefinition
fn clone(&self) -> OAuth2AuthenticationEndpointsDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OAuth2AuthenticationEndpointsDefinition
impl Default for OAuth2AuthenticationEndpointsDefinition
Source§fn default() -> OAuth2AuthenticationEndpointsDefinition
fn default() -> OAuth2AuthenticationEndpointsDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuth2AuthenticationEndpointsDefinition
impl<'de> Deserialize<'de> for OAuth2AuthenticationEndpointsDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OAuth2AuthenticationEndpointsDefinition
impl PartialEq for OAuth2AuthenticationEndpointsDefinition
Source§fn eq(&self, other: &OAuth2AuthenticationEndpointsDefinition) -> bool
fn eq(&self, other: &OAuth2AuthenticationEndpointsDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OAuth2AuthenticationEndpointsDefinition
impl StructuralPartialEq for OAuth2AuthenticationEndpointsDefinition
Auto Trait Implementations§
impl Freeze for OAuth2AuthenticationEndpointsDefinition
impl RefUnwindSafe for OAuth2AuthenticationEndpointsDefinition
impl Send for OAuth2AuthenticationEndpointsDefinition
impl Sync for OAuth2AuthenticationEndpointsDefinition
impl Unpin for OAuth2AuthenticationEndpointsDefinition
impl UnsafeUnpin for OAuth2AuthenticationEndpointsDefinition
impl UnwindSafe for OAuth2AuthenticationEndpointsDefinition
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