pub struct GoogleSocialConfig {
pub client_id: String,
pub client_secret_env: String,
pub redirect_uri: String,
pub discovery_url: Option<String>,
}Expand description
[auth.social.google] — Google OIDC social-login client (#368).
Fields§
§client_id: StringOAuth2 client_id from the Google Cloud Console.
client_secret_env: StringName of the environment variable holding the client secret.
redirect_uri: StringThis server’s /auth/v1/callback URL, registered with Google.
discovery_url: Option<String>OIDC issuer override (default https://accounts.google.com). For
Google-compatible stand-ins; the runtime’s SSRF guards still apply.
Trait Implementations§
Source§impl Clone for GoogleSocialConfig
impl Clone for GoogleSocialConfig
Source§impl Debug for GoogleSocialConfig
impl Debug for GoogleSocialConfig
Source§impl<'de> Deserialize<'de> for GoogleSocialConfig
impl<'de> Deserialize<'de> for GoogleSocialConfig
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
impl Eq for GoogleSocialConfig
Source§impl PartialEq for GoogleSocialConfig
impl PartialEq for GoogleSocialConfig
Source§impl Serialize for GoogleSocialConfig
impl Serialize for GoogleSocialConfig
impl StructuralPartialEq for GoogleSocialConfig
Auto Trait Implementations§
impl Freeze for GoogleSocialConfig
impl RefUnwindSafe for GoogleSocialConfig
impl Send for GoogleSocialConfig
impl Sync for GoogleSocialConfig
impl Unpin for GoogleSocialConfig
impl UnsafeUnpin for GoogleSocialConfig
impl UnwindSafe for GoogleSocialConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.