pub struct FlowResult {
pub saml_content: String,
pub extract: Value,
pub sig_alg: Option<String>,
}Expand description
Result of a successful low-level flow.
This records only validation supported by the supplied flow context. The
public raw flow has no actual receiving endpoint, so success does not imply
that a message Destination was compared with that endpoint. Typed
receivers supply the additional context before exposing this result.
Fields§
§saml_content: StringThe decoded (and, when verified, authenticated) SAML XML.
extract: ValueExtracted fields.
sig_alg: Option<String>Verified signature algorithm, if a signature was checked.
Trait Implementations§
Source§impl Clone for FlowResult
impl Clone for FlowResult
Source§fn clone(&self) -> FlowResult
fn clone(&self) -> FlowResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlowResult
impl Debug for FlowResult
Source§impl TryFrom<FlowResult> for AuthnRequest
impl TryFrom<FlowResult> for AuthnRequest
Source§fn try_from(
raw_flow: FlowResult,
) -> Result<AuthnRequest, <AuthnRequest as TryFrom<FlowResult>>::Error>
fn try_from( raw_flow: FlowResult, ) -> Result<AuthnRequest, <AuthnRequest as TryFrom<FlowResult>>::Error>
Performs the conversion.
Source§impl TryFrom<FlowResult> for LogoutRequest
impl TryFrom<FlowResult> for LogoutRequest
Source§fn try_from(
raw_flow: FlowResult,
) -> Result<LogoutRequest, <LogoutRequest as TryFrom<FlowResult>>::Error>
fn try_from( raw_flow: FlowResult, ) -> Result<LogoutRequest, <LogoutRequest as TryFrom<FlowResult>>::Error>
Performs the conversion.
Source§impl TryFrom<FlowResult> for LogoutResponse
impl TryFrom<FlowResult> for LogoutResponse
Source§fn try_from(
raw_flow: FlowResult,
) -> Result<LogoutResponse, <LogoutResponse as TryFrom<FlowResult>>::Error>
fn try_from( raw_flow: FlowResult, ) -> Result<LogoutResponse, <LogoutResponse as TryFrom<FlowResult>>::Error>
Performs the conversion.
Source§impl TryFrom<FlowResult> for SsoResponse
impl TryFrom<FlowResult> for SsoResponse
Source§fn try_from(
raw_flow: FlowResult,
) -> Result<SsoResponse, <SsoResponse as TryFrom<FlowResult>>::Error>
fn try_from( raw_flow: FlowResult, ) -> Result<SsoResponse, <SsoResponse as TryFrom<FlowResult>>::Error>
Performs the conversion.
Source§impl TryFrom<FlowResult> for SsoSession
impl TryFrom<FlowResult> for SsoSession
Source§fn try_from(
raw_flow: FlowResult,
) -> Result<SsoSession, <SsoSession as TryFrom<FlowResult>>::Error>
fn try_from( raw_flow: FlowResult, ) -> Result<SsoSession, <SsoSession as TryFrom<FlowResult>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for FlowResult
impl RefUnwindSafe for FlowResult
impl Send for FlowResult
impl Sync for FlowResult
impl Unpin for FlowResult
impl UnsafeUnpin for FlowResult
impl UnwindSafe for FlowResult
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