pub struct EndpointOAuthProvider {
pub github: Option<EndpointOAuthGitHub>,
pub facebook: Option<EndpointOAuthFacebook>,
pub microsoft: Option<EndpointOAuthMicrosoft>,
pub google: Option<EndpointOAuthGoogle>,
pub linkedin: Option<EndpointOAuthLinkedIn>,
pub gitlab: Option<EndpointOAuthGitLab>,
pub twitch: Option<EndpointOAuthTwitch>,
pub amazon: Option<EndpointOAuthAmazon>,
}
Fields§
§github: Option<EndpointOAuthGitHub>
configuration for using github as the identity provider
facebook: Option<EndpointOAuthFacebook>
configuration for using facebook as the identity provider
microsoft: Option<EndpointOAuthMicrosoft>
configuration for using microsoft as the identity provider
google: Option<EndpointOAuthGoogle>
configuration for using google as the identity provider
linkedin: Option<EndpointOAuthLinkedIn>
configuration for using linkedin as the identity provider
gitlab: Option<EndpointOAuthGitLab>
configuration for using gitlab as the identity provider
twitch: Option<EndpointOAuthTwitch>
configuration for using twitch as the identity provider
amazon: Option<EndpointOAuthAmazon>
configuration for using amazon as the identity provider
Trait Implementations§
Source§impl Clone for EndpointOAuthProvider
impl Clone for EndpointOAuthProvider
Source§fn clone(&self) -> EndpointOAuthProvider
fn clone(&self) -> EndpointOAuthProvider
Returns a copy 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 EndpointOAuthProvider
impl Debug for EndpointOAuthProvider
Source§impl Default for EndpointOAuthProvider
impl Default for EndpointOAuthProvider
Source§fn default() -> EndpointOAuthProvider
fn default() -> EndpointOAuthProvider
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointOAuthProvider
impl<'de> Deserialize<'de> for EndpointOAuthProvider
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
Auto Trait Implementations§
impl Freeze for EndpointOAuthProvider
impl RefUnwindSafe for EndpointOAuthProvider
impl Send for EndpointOAuthProvider
impl Sync for EndpointOAuthProvider
impl Unpin for EndpointOAuthProvider
impl UnwindSafe for EndpointOAuthProvider
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