pub struct GatewayOAuthReadResponse {
pub error: Option<String>,
pub provider_id: String,
pub provider_name: String,
pub required: bool,
pub status: Option<GatewayOAuthStatus>,
pub supports_device_auth: bool,
}Expand description
Current effective gateway policy and credential readiness; never contains credentials.
Fields§
§error: Option<String>§provider_id: String§provider_name: String§required: boolWhether the selected provider uses gateway OAuth, even when already signed in.
status: Option<GatewayOAuthStatus>None when the effective provider does not use gateway OAuth.
supports_device_auth: boolWhether the administrator configured a device authorization endpoint.
Trait Implementations§
Source§impl Clone for GatewayOAuthReadResponse
impl Clone for GatewayOAuthReadResponse
Source§impl Debug for GatewayOAuthReadResponse
impl Debug for GatewayOAuthReadResponse
Source§impl Default for GatewayOAuthReadResponse
impl Default for GatewayOAuthReadResponse
Source§impl<'de> Deserialize<'de> for GatewayOAuthReadResponse
impl<'de> Deserialize<'de> for GatewayOAuthReadResponse
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 PartialEq for GatewayOAuthReadResponse
impl PartialEq for GatewayOAuthReadResponse
Source§impl Serialize for GatewayOAuthReadResponse
impl Serialize for GatewayOAuthReadResponse
impl StructuralPartialEq for GatewayOAuthReadResponse
Auto Trait Implementations§
impl Forget for GatewayOAuthReadResponse
impl Freeze for GatewayOAuthReadResponse
impl RefUnwindSafe for GatewayOAuthReadResponse
impl Send for GatewayOAuthReadResponse
impl Sync for GatewayOAuthReadResponse
impl Unpin for GatewayOAuthReadResponse
impl UnsafeUnpin for GatewayOAuthReadResponse
impl UnwindSafe for GatewayOAuthReadResponse
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