pub struct OAuth2AuthenticationClientDefinition {
pub id: Option<String>,
pub secret: Option<String>,
pub assertion: Option<String>,
pub authentication: Option<String>,
}Expand description
Represents the definition of an OAUTH2 client
Fields§
§id: Option<String>Gets/sets the OAUTH2 client_id to use. Required if ‘Authentication’ has NOT been set to ‘none’.
secret: Option<String>Gets/sets the OAUTH2 client_secret to use, if any
assertion: Option<String>Gets/sets a JWT, if any, containing a signed assertion with the application credentials
authentication: Option<String>Gets/sets the authentication method to use to authenticate the client. Defaults to ‘client_secret_post’
Trait Implementations§
Source§impl Clone for OAuth2AuthenticationClientDefinition
impl Clone for OAuth2AuthenticationClientDefinition
Source§fn clone(&self) -> OAuth2AuthenticationClientDefinition
fn clone(&self) -> OAuth2AuthenticationClientDefinition
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 OAuth2AuthenticationClientDefinition
impl Default for OAuth2AuthenticationClientDefinition
Source§fn default() -> OAuth2AuthenticationClientDefinition
fn default() -> OAuth2AuthenticationClientDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuth2AuthenticationClientDefinition
impl<'de> Deserialize<'de> for OAuth2AuthenticationClientDefinition
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 OAuth2AuthenticationClientDefinition
impl PartialEq for OAuth2AuthenticationClientDefinition
Source§fn eq(&self, other: &OAuth2AuthenticationClientDefinition) -> bool
fn eq(&self, other: &OAuth2AuthenticationClientDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OAuth2AuthenticationClientDefinition
impl StructuralPartialEq for OAuth2AuthenticationClientDefinition
Auto Trait Implementations§
impl Freeze for OAuth2AuthenticationClientDefinition
impl RefUnwindSafe for OAuth2AuthenticationClientDefinition
impl Send for OAuth2AuthenticationClientDefinition
impl Sync for OAuth2AuthenticationClientDefinition
impl Unpin for OAuth2AuthenticationClientDefinition
impl UnsafeUnpin for OAuth2AuthenticationClientDefinition
impl UnwindSafe for OAuth2AuthenticationClientDefinition
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