pub struct SsoLogin {
pub has_registration: bool,
pub id: i64,
pub login_link: String,
pub logo_url: Option<String>,
pub name: String,
pub primary_login: bool,
pub subtitle: Option<String>,
pub type: String,
pub extra: Map<String, Value>,
}Expand description
Public login-screen entry for a visible OAuth, OpenID Connect or SAML provider.
Fields§
§has_registration: boolWhether account registration is configured for this provider.
id: i64External login provider ID.
login_link: StringURL that starts authentication; navigate the browser to it.
logo_url: Option<String>Optional provider logo URL.
name: StringLabel shown for the provider.
primary_login: boolWhether the provider is marked as the primary login option.
subtitle: Option<String>Optional explanatory text for the login screen.
type: StringAuthentication protocol implemented by the provider.
Allowed values: oauth, oidc, saml.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SsoLogin
impl<'de> Deserialize<'de> for SsoLogin
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 StructuralPartialEq for SsoLogin
Auto Trait Implementations§
impl Freeze for SsoLogin
impl RefUnwindSafe for SsoLogin
impl Send for SsoLogin
impl Sync for SsoLogin
impl Unpin for SsoLogin
impl UnsafeUnpin for SsoLogin
impl UnwindSafe for SsoLogin
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