pub struct SocialProviderConfig {
pub client_id: String,
pub client_secret: String,
pub redirect_uri: String,
}Expand description
Configuration for a social login provider.
Fields§
§client_id: StringOAuth2 client ID.
client_secret: StringOAuth2 client secret.
redirect_uri: StringRedirect URI after authorization.
Trait Implementations§
Source§impl Clone for SocialProviderConfig
impl Clone for SocialProviderConfig
Source§fn clone(&self) -> SocialProviderConfig
fn clone(&self) -> SocialProviderConfig
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 moreAuto Trait Implementations§
impl Freeze for SocialProviderConfig
impl RefUnwindSafe for SocialProviderConfig
impl Send for SocialProviderConfig
impl Sync for SocialProviderConfig
impl Unpin for SocialProviderConfig
impl UnsafeUnpin for SocialProviderConfig
impl UnwindSafe for SocialProviderConfig
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