You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"example": "/// Listen for callbacks for email verification for users.\n/// \n/// **Parameters:**\n/// \n/// - `callback_url: Option<String>`: The URL to redirect back to after we have authenticated.\n/// - `email: &'astr`: The user's email. (required)\n/// - `token: &'astr`: The verification token. (required)\nasync fn example_hidden_auth_email_callback() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .hidden()\n .auth_email_callback(\n Some(\"https://example.com/foo/bar\".to_string()),\n\"[email protected]\",\n\"some-string\",\n )\n .await?;\n Ok(())\n}\n",
118
+
"example": "/// Listen for callbacks for email authentication for users.\n/// \n/// **Parameters:**\n/// \n/// - `callback_url: Option<String>`: The URL to redirect back to after we have authenticated.\n/// - `email: &'astr`: The user's email. (required)\n/// - `token: &'astr`: The verification token. (required)\nasync fn example_hidden_auth_email_callback() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .hidden()\n .auth_email_callback(\n Some(\"https://example.com/foo/bar\".to_string()),\n\"[email protected]\",\n\"some-string\",\n )\n .await?;\n Ok(())\n}\n",
Copy file name to clipboardexpand all lines: kittycad/src/hidden.rs
+1-1
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ impl Hidden {
43
43
}
44
44
}
45
45
46
-
#[doc = "Listen for callbacks for email verification for users.\n\n**Parameters:**\n\n- `callback_url: Option<String>`: The URL to redirect back to after we have authenticated.\n- `email: &'astr`: The user's email. (required)\n- `token: &'astr`: The verification token. (required)\n\n```rust,no_run\nasync fn example_hidden_auth_email_callback() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .hidden()\n .auth_email_callback(\n Some(\"https://example.com/foo/bar\".to_string()),\n\"[email protected]\",\n\"some-string\",\n )\n .await?;\n Ok(())\n}\n```"]
46
+
#[doc = "Listen for callbacks for email authentication for users.\n\n**Parameters:**\n\n- `callback_url: Option<String>`: The URL to redirect back to after we have authenticated.\n- `email: &'astr`: The user's email. (required)\n- `token: &'astr`: The verification token. (required)\n\n```rust,no_run\nasync fn example_hidden_auth_email_callback() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .hidden()\n .auth_email_callback(\n Some(\"https://example.com/foo/bar\".to_string()),\n\"[email protected]\",\n\"some-string\",\n )\n .await?;\n Ok(())\n}\n```"]
0 commit comments