pub struct ExternalLoginSamlTestResult {
pub claim_names: Option<Vec<String>>,
pub mappings: Option<Vec<ExternalLoginSamlTestMapping>>,
pub status: String,
pub extra: Map<String, Value>,
}Expand description
SAML protocol-test diagnostics. success means an authenticated SAML response was received; it does not imply that local person matching or required attribute values are valid. error carries no detailed error category. pending and expired contain only status.
Fields§
§claim_names: Option<Vec<String>>Sorted unique SAML attribute names on success; attribute values and the SAML assertion are not returned.
mappings: Option<Vec<ExternalLoginSamlTestMapping>>Five configured/default mappings in order: id, email, username, firstName, lastName. Presence checks only the attribute name, not whether its value is nonempty or usable.
status: StringAllowed values: error, expired, pending, success.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ExternalLoginSamlTestResult
impl Clone for ExternalLoginSamlTestResult
Source§impl Debug for ExternalLoginSamlTestResult
impl Debug for ExternalLoginSamlTestResult
Source§impl<'de> Deserialize<'de> for ExternalLoginSamlTestResult
impl<'de> Deserialize<'de> for ExternalLoginSamlTestResult
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 ExternalLoginSamlTestResult
Auto Trait Implementations§
impl Freeze for ExternalLoginSamlTestResult
impl RefUnwindSafe for ExternalLoginSamlTestResult
impl Send for ExternalLoginSamlTestResult
impl Sync for ExternalLoginSamlTestResult
impl Unpin for ExternalLoginSamlTestResult
impl UnsafeUnpin for ExternalLoginSamlTestResult
impl UnwindSafe for ExternalLoginSamlTestResult
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