pub struct OAuth2 {
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub client_secret_sha256: Option<String>,
}Expand description
The OAuth 2.0 Settings
This type is not used in any activity, and only used as part of another schema.
Fields§
§client_id: Option<String>The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
client_secret: Option<String>Input only. The OAuth 2.0 client secret created while registering the client ID.
client_secret_sha256: Option<String>Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAuth2
impl<'de> Deserialize<'de> for OAuth2
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 Part for OAuth2
Auto Trait Implementations§
impl Freeze for OAuth2
impl RefUnwindSafe for OAuth2
impl Send for OAuth2
impl Sync for OAuth2
impl Unpin for OAuth2
impl UnwindSafe for OAuth2
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