pub struct SamlAssertion {
pub id: String,
pub issue_instant: String,
pub issuer: String,
pub name_id: String,
pub name_id_format: NameIdFormat,
pub session_index: Option<String>,
pub session_not_on_or_after: Option<String>,
pub not_before: Option<String>,
pub not_on_or_after: Option<String>,
pub audiences: Vec<String>,
pub authn_context_class: Option<String>,
pub attributes: HashMap<String, Vec<String>>,
}Expand description
SAML Assertion
Fields§
§id: StringAssertion ID
issue_instant: StringIssue instant
issuer: StringIssuer (IdP Entity ID)
name_id: StringSubject NameID
name_id_format: NameIdFormatSubject NameID format
session_index: Option<String>Session index
session_not_on_or_after: Option<String>Session not on or after
not_before: Option<String>Not before condition
not_on_or_after: Option<String>Not on or after condition
audiences: Vec<String>Audience restrictions
authn_context_class: Option<String>Authentication context class
attributes: HashMap<String, Vec<String>>Attributes
Implementations§
Source§impl SamlAssertion
impl SamlAssertion
Trait Implementations§
Source§impl Clone for SamlAssertion
impl Clone for SamlAssertion
Source§fn clone(&self) -> SamlAssertion
fn clone(&self) -> SamlAssertion
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 moreAuto Trait Implementations§
impl Freeze for SamlAssertion
impl RefUnwindSafe for SamlAssertion
impl Send for SamlAssertion
impl Sync for SamlAssertion
impl Unpin for SamlAssertion
impl UnwindSafe for SamlAssertion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more