pub struct AuthConfigOauth {
pub idp_name: String,
pub idp_icon_url: String,
pub idp_authorization_endpoint: String,
pub idp_token_endpoint: String,
pub idp_requires_basic_auth: bool,
pub idp_userinfo_endpoint: Option<String>,
pub tls: TlsConfig,
pub client_id: String,
pub client_secret: String,
}Fields§
§idp_name: String§idp_icon_url: String§idp_token_endpoint: String§idp_requires_basic_auth: bool§idp_userinfo_endpoint: Option<String>§tls: TlsConfig§client_id: String§client_secret: StringImplementations§
Trait Implementations§
Source§impl Clone for AuthConfigOauth
impl Clone for AuthConfigOauth
Source§fn clone(&self) -> AuthConfigOauth
fn clone(&self) -> AuthConfigOauth
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 Debug for AuthConfigOauth
impl Debug for AuthConfigOauth
Source§impl<'de> Deserialize<'de> for AuthConfigOauth
impl<'de> Deserialize<'de> for AuthConfigOauth
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthConfigOauth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthConfigOauth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthConfigOauth
impl PartialEq for AuthConfigOauth
Source§impl Serialize for AuthConfigOauth
impl Serialize for AuthConfigOauth
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AuthConfigOauth
Auto Trait Implementations§
impl Freeze for AuthConfigOauth
impl RefUnwindSafe for AuthConfigOauth
impl Send for AuthConfigOauth
impl Sync for AuthConfigOauth
impl Unpin for AuthConfigOauth
impl UnwindSafe for AuthConfigOauth
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