pub struct UpdateVerificationFlowWithCodeMethod {
pub code: Option<String>,
pub csrf_token: Option<String>,
pub email: Option<String>,
pub method: MethodEnum,
pub transient_payload: Option<Value>,
}Fields§
§code: Option<String>Code from the recovery email If you want to submit a code, use this field, but make sure to not include the email field, as well.
csrf_token: Option<String>Sending the anti-csrf token is only required for browser login flows.
email: Option<String>The email address or phone number to verify If the provided address belongs to a valid account, a verification email or SMS will be sent. If you want to notify the email address if the account does not exist, see the notify_unknown_recipients flag If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.
method: MethodEnumMethod is the method that should be used for this verification flow Allowed values are link and code. link VerificationStrategyLink code VerificationStrategyCode
transient_payload: Option<Value>Transient data to pass along to any webhooks