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

Used elsewhere in the API to add an AuthNStatement to the Response XML

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.