Struct saml_rs::response::AuthNStatement
source · [−]pub struct AuthNStatement {
pub instant: DateTime<Utc>,
pub session_index: String,
pub classref: String,
pub expiry: Option<DateTime<Utc>>,
}
Expand description
An Authentication Statement for returning inside an assertion
The expiry’s optional
Fields
instant: DateTime<Utc>
Issue time of the response TODO Figure out if this is different to the authnresponse?
session_index: String
TODO document this
classref: String
TODO: do we need to respond with multiple context class refs?
expiry: Option<DateTime<Utc>>
Expiry of the statement, TODO: find out if this is optional
Implementations
sourceimpl AuthNStatement
impl AuthNStatement
sourcepub fn add_to_xmlevent<W: Write>(&self, writer: &mut EventWriter<W>)
pub fn add_to_xmlevent<W: Write>(&self, writer: &mut EventWriter<W>)
Used elsewhere in the API to add an AuthNStatement to the Response XML
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthNStatement
impl Send for AuthNStatement
impl Sync for AuthNStatement
impl Unpin for AuthNStatement
impl UnwindSafe for AuthNStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more