pub struct UpdateLoginFlowWithSamlMethod {
pub csrf_token: Option<String>,
pub method: String,
pub provider: String,
pub transient_payload: Option<Value>,
}Expand description
UpdateLoginFlowWithSamlMethod : Update login flow using SAML
Fields§
§csrf_token: Option<String>The CSRF Token
method: StringMethod to use This field must be set to saml when using the saml method.
provider: StringThe provider to register with
transient_payload: Option<Value>Transient data to pass along to any webhooks
Implementations§
Source§impl UpdateLoginFlowWithSamlMethod
impl UpdateLoginFlowWithSamlMethod
Sourcepub fn new(method: String, provider: String) -> UpdateLoginFlowWithSamlMethod
pub fn new(method: String, provider: String) -> UpdateLoginFlowWithSamlMethod
Update login flow using SAML
Trait Implementations§
Source§impl Clone for UpdateLoginFlowWithSamlMethod
impl Clone for UpdateLoginFlowWithSamlMethod
Source§fn clone(&self) -> UpdateLoginFlowWithSamlMethod
fn clone(&self) -> UpdateLoginFlowWithSamlMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UpdateLoginFlowWithSamlMethod
impl Default for UpdateLoginFlowWithSamlMethod
Source§fn default() -> UpdateLoginFlowWithSamlMethod
fn default() -> UpdateLoginFlowWithSamlMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateLoginFlowWithSamlMethod
impl<'de> Deserialize<'de> for UpdateLoginFlowWithSamlMethod
Source§fn 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
Source§impl PartialEq for UpdateLoginFlowWithSamlMethod
impl PartialEq for UpdateLoginFlowWithSamlMethod
Source§fn eq(&self, other: &UpdateLoginFlowWithSamlMethod) -> bool
fn eq(&self, other: &UpdateLoginFlowWithSamlMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateLoginFlowWithSamlMethod
Auto Trait Implementations§
impl Freeze for UpdateLoginFlowWithSamlMethod
impl RefUnwindSafe for UpdateLoginFlowWithSamlMethod
impl Send for UpdateLoginFlowWithSamlMethod
impl Sync for UpdateLoginFlowWithSamlMethod
impl Unpin for UpdateLoginFlowWithSamlMethod
impl UnwindSafe for UpdateLoginFlowWithSamlMethod
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