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
sourceimpl<'de> Deserialize<'de> for SamlQuery
impl<'de> Deserialize<'de> for SamlQuery
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for SamlQuery
impl Send for SamlQuery
impl Sync for SamlQuery
impl Unpin for SamlQuery
impl UnwindSafe for SamlQuery
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