pub struct OAuthSettings {
pub login_hint: Option<String>,
pub programmatic_clients: Option<Vec<String>>,
}Expand description
Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.
This type is not used in any activity, and only used as part of another schema.
Fields§
§login_hint: Option<String>Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google’s login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token’s hd claim matches this value since access behavior is managed by IAM policies.
programmatic_clients: Option<Vec<String>>Optional. List of client ids allowed to use IAP programmatically.
Trait Implementations§
Source§impl Clone for OAuthSettings
impl Clone for OAuthSettings
Source§fn clone(&self) -> OAuthSettings
fn clone(&self) -> OAuthSettings
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 OAuthSettings
impl Debug for OAuthSettings
Source§impl Default for OAuthSettings
impl Default for OAuthSettings
Source§fn default() -> OAuthSettings
fn default() -> OAuthSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthSettings
impl<'de> Deserialize<'de> for OAuthSettings
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 Serialize for OAuthSettings
impl Serialize for OAuthSettings
impl Part for OAuthSettings
Auto Trait Implementations§
impl Freeze for OAuthSettings
impl RefUnwindSafe for OAuthSettings
impl Send for OAuthSettings
impl Sync for OAuthSettings
impl Unpin for OAuthSettings
impl UnwindSafe for OAuthSettings
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