pub struct SamlQuery {
    pub SAMLRequest: Option<String>,
    pub RelayState: Option<String>,
    pub Signature: Option<String>,
    pub SigAlg: Option<String>,
}
Expand description

Used in the SAML Redirect GET request to pull out the query values

Snake case is needed to allow the fields to be pulled out correctly

Fields

SAMLRequest: Option<String>

The value of the SAMLRequest parameter is a deflated, base64-encoded and URL-encoded value of an <samlp:[AuthnRequest]> element. The SAMLRequest may be signed using the SP signing key.

RelayState: Option<String>

The RelayState token is an opaque reference to state information maintained at the service provider.

Signature: Option<String>

Stores a base64-encoded signature… TODO: is Signature just a base64 encoded string? Is there other decoding needed? Can we store this as a better type?

SigAlg: Option<String>

Stores the signature type - this should be URL-decoded by the web frontend

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. 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.