This commit is contained in:
Firstyear 2022-10-17 10:25:41 +00:00
parent d60c4dd2dc
commit 3096a9332f
5801 changed files with 65980 additions and 22000 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
(function() {var implementors = {};
implementors["kanidm_cli"] = [{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.GroupPosix.html\" title=\"enum kanidm_cli::GroupPosix\">GroupPosix</a>","synthetic":false,"types":["kanidm_cli::GroupPosix"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.GroupOpt.html\" title=\"enum kanidm_cli::GroupOpt\">GroupOpt</a>","synthetic":false,"types":["kanidm_cli::GroupOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountCredential.html\" title=\"enum kanidm_cli::AccountCredential\">AccountCredential</a>","synthetic":false,"types":["kanidm_cli::AccountCredential"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountRadius.html\" title=\"enum kanidm_cli::AccountRadius\">AccountRadius</a>","synthetic":false,"types":["kanidm_cli::AccountRadius"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.PersonPosix.html\" title=\"enum kanidm_cli::PersonPosix\">PersonPosix</a>","synthetic":false,"types":["kanidm_cli::PersonPosix"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountPosix.html\" title=\"enum kanidm_cli::ServiceAccountPosix\">ServiceAccountPosix</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountPosix"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountSsh.html\" title=\"enum kanidm_cli::AccountSsh\">AccountSsh</a>","synthetic":false,"types":["kanidm_cli::AccountSsh"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountValidity.html\" title=\"enum kanidm_cli::AccountValidity\">AccountValidity</a>","synthetic":false,"types":["kanidm_cli::AccountValidity"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.PersonOpt.html\" title=\"enum kanidm_cli::PersonOpt\">PersonOpt</a>","synthetic":false,"types":["kanidm_cli::PersonOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountCredential.html\" title=\"enum kanidm_cli::ServiceAccountCredential\">ServiceAccountCredential</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountCredential"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountApiToken.html\" title=\"enum kanidm_cli::ServiceAccountApiToken\">ServiceAccountApiToken</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountApiToken"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountOpt.html\" title=\"enum kanidm_cli::ServiceAccountOpt\">ServiceAccountOpt</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.RecycleOpt.html\" title=\"enum kanidm_cli::RecycleOpt\">RecycleOpt</a>","synthetic":false,"types":["kanidm_cli::RecycleOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.SessionOpt.html\" title=\"enum kanidm_cli::SessionOpt\">SessionOpt</a>","synthetic":false,"types":["kanidm_cli::SessionOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.RawOpt.html\" title=\"enum kanidm_cli::RawOpt\">RawOpt</a>","synthetic":false,"types":["kanidm_cli::RawOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.SelfOpt.html\" title=\"enum kanidm_cli::SelfOpt\">SelfOpt</a>","synthetic":false,"types":["kanidm_cli::SelfOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.Oauth2Opt.html\" title=\"enum kanidm_cli::Oauth2Opt\">Oauth2Opt</a>","synthetic":false,"types":["kanidm_cli::Oauth2Opt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.PwBadlistOpt.html\" title=\"enum kanidm_cli::PwBadlistOpt\">PwBadlistOpt</a>","synthetic":false,"types":["kanidm_cli::PwBadlistOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.DomainOpt.html\" title=\"enum kanidm_cli::DomainOpt\">DomainOpt</a>","synthetic":false,"types":["kanidm_cli::DomainOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.SystemOpt.html\" title=\"enum kanidm_cli::SystemOpt\">SystemOpt</a>","synthetic":false,"types":["kanidm_cli::SystemOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.KanidmClientOpt.html\" title=\"enum kanidm_cli::KanidmClientOpt\">KanidmClientOpt</a>","synthetic":false,"types":["kanidm_cli::KanidmClientOpt"]}];
implementors["kanidm_cli"] = [{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.GroupPosix.html\" title=\"enum kanidm_cli::GroupPosix\">GroupPosix</a>","synthetic":false,"types":["kanidm_cli::GroupPosix"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.GroupOpt.html\" title=\"enum kanidm_cli::GroupOpt\">GroupOpt</a>","synthetic":false,"types":["kanidm_cli::GroupOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountCredential.html\" title=\"enum kanidm_cli::AccountCredential\">AccountCredential</a>","synthetic":false,"types":["kanidm_cli::AccountCredential"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountRadius.html\" title=\"enum kanidm_cli::AccountRadius\">AccountRadius</a>","synthetic":false,"types":["kanidm_cli::AccountRadius"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.PersonPosix.html\" title=\"enum kanidm_cli::PersonPosix\">PersonPosix</a>","synthetic":false,"types":["kanidm_cli::PersonPosix"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountPosix.html\" title=\"enum kanidm_cli::ServiceAccountPosix\">ServiceAccountPosix</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountPosix"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountSsh.html\" title=\"enum kanidm_cli::AccountSsh\">AccountSsh</a>","synthetic":false,"types":["kanidm_cli::AccountSsh"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountValidity.html\" title=\"enum kanidm_cli::AccountValidity\">AccountValidity</a>","synthetic":false,"types":["kanidm_cli::AccountValidity"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.AccountUserAuthToken.html\" title=\"enum kanidm_cli::AccountUserAuthToken\">AccountUserAuthToken</a>","synthetic":false,"types":["kanidm_cli::AccountUserAuthToken"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.PersonOpt.html\" title=\"enum kanidm_cli::PersonOpt\">PersonOpt</a>","synthetic":false,"types":["kanidm_cli::PersonOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountCredential.html\" title=\"enum kanidm_cli::ServiceAccountCredential\">ServiceAccountCredential</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountCredential"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountApiToken.html\" title=\"enum kanidm_cli::ServiceAccountApiToken\">ServiceAccountApiToken</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountApiToken"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.ServiceAccountOpt.html\" title=\"enum kanidm_cli::ServiceAccountOpt\">ServiceAccountOpt</a>","synthetic":false,"types":["kanidm_cli::ServiceAccountOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.RecycleOpt.html\" title=\"enum kanidm_cli::RecycleOpt\">RecycleOpt</a>","synthetic":false,"types":["kanidm_cli::RecycleOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.SessionOpt.html\" title=\"enum kanidm_cli::SessionOpt\">SessionOpt</a>","synthetic":false,"types":["kanidm_cli::SessionOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.RawOpt.html\" title=\"enum kanidm_cli::RawOpt\">RawOpt</a>","synthetic":false,"types":["kanidm_cli::RawOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.SelfOpt.html\" title=\"enum kanidm_cli::SelfOpt\">SelfOpt</a>","synthetic":false,"types":["kanidm_cli::SelfOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.Oauth2Opt.html\" title=\"enum kanidm_cli::Oauth2Opt\">Oauth2Opt</a>","synthetic":false,"types":["kanidm_cli::Oauth2Opt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.PwBadlistOpt.html\" title=\"enum kanidm_cli::PwBadlistOpt\">PwBadlistOpt</a>","synthetic":false,"types":["kanidm_cli::PwBadlistOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.DomainOpt.html\" title=\"enum kanidm_cli::DomainOpt\">DomainOpt</a>","synthetic":false,"types":["kanidm_cli::DomainOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.SystemOpt.html\" title=\"enum kanidm_cli::SystemOpt\">SystemOpt</a>","synthetic":false,"types":["kanidm_cli::SystemOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidm_cli/enum.KanidmClientOpt.html\" title=\"enum kanidm_cli::KanidmClientOpt\">KanidmClientOpt</a>","synthetic":false,"types":["kanidm_cli::KanidmClientOpt"]}];
implementors["kanidmd"] = [{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidmd/enum.DomainSettingsCmds.html\" title=\"enum kanidmd::DomainSettingsCmds\">DomainSettingsCmds</a>","synthetic":false,"types":["kanidmd::DomainSettingsCmds"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidmd/enum.DbCommands.html\" title=\"enum kanidmd::DbCommands\">DbCommands</a>","synthetic":false,"types":["kanidmd::DbCommands"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidmd/enum.DbScanOpt.html\" title=\"enum kanidmd::DbScanOpt\">DbScanOpt</a>","synthetic":false,"types":["kanidmd::DbScanOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"kanidmd/enum.KanidmdOpt.html\" title=\"enum kanidmd::KanidmdOpt\">KanidmdOpt</a>","synthetic":false,"types":["kanidmd::KanidmdOpt"]}];
implementors["orca"] = [{"text":"impl Subcommand for <a class=\"enum\" href=\"orca/enum.TargetOpt.html\" title=\"enum orca::TargetOpt\">TargetOpt</a>","synthetic":false,"types":["orca::TargetOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"orca/enum.TestTypeOpt.html\" title=\"enum orca::TestTypeOpt\">TestTypeOpt</a>","synthetic":false,"types":["orca::TestTypeOpt"]},{"text":"impl Subcommand for <a class=\"enum\" href=\"orca/enum.OrcaOpt.html\" title=\"enum orca::OrcaOpt\">OrcaOpt</a>","synthetic":false,"types":["orca::OrcaOpt"]}];
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
(function() {var implementors = {};
implementors["kanidmd_lib"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html\" title=\"trait core::convert::TryInto\">TryInto</a>&lt;<a class=\"enum\" href=\"kanidm_proto/v1/enum.ApiTokenPurpose.html\" title=\"enum kanidm_proto::v1::ApiTokenPurpose\">ApiTokenPurpose</a>&gt; for <a class=\"enum\" href=\"kanidmd_lib/identity/enum.AccessScope.html\" title=\"enum kanidmd_lib::identity::AccessScope\">AccessScope</a>","synthetic":false,"types":["kanidmd_lib::identity::AccessScope"]}];
implementors["kanidmd_lib"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html\" title=\"trait core::convert::TryInto\">TryInto</a>&lt;<a class=\"enum\" href=\"kanidm_proto/v1/enum.ApiTokenPurpose.html\" title=\"enum kanidm_proto::v1::ApiTokenPurpose\">ApiTokenPurpose</a>&gt; for <a class=\"enum\" href=\"kanidmd_lib/identity/enum.AccessScope.html\" title=\"enum kanidmd_lib::identity::AccessScope\">AccessScope</a>","synthetic":false,"types":["kanidmd_lib::identity::AccessScope"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html\" title=\"trait core::convert::TryInto\">TryInto</a>&lt;<a class=\"enum\" href=\"kanidm_proto/v1/enum.UatPurposeStatus.html\" title=\"enum kanidm_proto::v1::UatPurposeStatus\">UatPurposeStatus</a>&gt; for <a class=\"enum\" href=\"kanidmd_lib/identity/enum.AccessScope.html\" title=\"enum kanidmd_lib::identity::AccessScope\">AccessScope</a>","synthetic":false,"types":["kanidmd_lib::identity::AccessScope"]}];
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This parses the token store and prompts the user to select their username, returns the token as a String"><meta name="keywords" content="rust, rustlang, rust-lang, prompt_for_username_get_token"><title>prompt_for_username_get_token in kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In kanidm_cli::common</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">kanidm_cli</a>::<wbr><a href="index.html">common</a>::<wbr><a class="fn" href="#">prompt_for_username_get_token</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#206-214">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn prompt_for_username_get_token() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This parses the token store and prompts the user to select their username, returns the token as a String</p>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This parses the token store and prompts the user to select their username, returns the token as a String"><meta name="keywords" content="rust, rustlang, rust-lang, prompt_for_username_get_token"><title>prompt_for_username_get_token in kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In kanidm_cli::common</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">kanidm_cli</a>::<wbr><a href="index.html">common</a>::<wbr><a class="fn" href="#">prompt_for_username_get_token</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#208-216">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn prompt_for_username_get_token() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This parses the token store and prompts the user to select their username, returns the token as a String</p>
<p>Powered by <a href="fn.prompt_for_username_get_values.html" title="prompt_for_username_get_values">prompt_for_username_get_values</a></p>
</div></details></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This parses the token store and prompts the user to select their username, returns the username as a String"><meta name="keywords" content="rust, rustlang, rust-lang, prompt_for_username_get_username"><title>prompt_for_username_get_username in kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In kanidm_cli::common</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">kanidm_cli</a>::<wbr><a href="index.html">common</a>::<wbr><a class="fn" href="#">prompt_for_username_get_username</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#193-201">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn prompt_for_username_get_username() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This parses the token store and prompts the user to select their username, returns the username as a String</p>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This parses the token store and prompts the user to select their username, returns the username as a String"><meta name="keywords" content="rust, rustlang, rust-lang, prompt_for_username_get_username"><title>prompt_for_username_get_username in kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In kanidm_cli::common</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">kanidm_cli</a>::<wbr><a href="index.html">common</a>::<wbr><a class="fn" href="#">prompt_for_username_get_username</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#195-203">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn prompt_for_username_get_username() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This parses the token store and prompts the user to select their username, returns the username as a String</p>
<p>Powered by <a href="fn.prompt_for_username_get_values.html" title="prompt_for_username_get_values">prompt_for_username_get_values</a></p>
</div></details></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This parses the token store and prompts the user to select their username, returns the username/token as a tuple of Strings"><meta name="keywords" content="rust, rustlang, rust-lang, prompt_for_username_get_values"><title>prompt_for_username_get_values in kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In kanidm_cli::common</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">kanidm_cli</a>::<wbr><a href="index.html">common</a>::<wbr><a class="fn" href="#">prompt_for_username_get_values</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#149-188">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn prompt_for_username_get_values() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>), <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This parses the token store and prompts the user to select their username, returns the username/token as a tuple of Strings</p>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This parses the token store and prompts the user to select their username, returns the username/token as a tuple of Strings"><meta name="keywords" content="rust, rustlang, rust-lang, prompt_for_username_get_values"><title>prompt_for_username_get_values in kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In kanidm_cli::common</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Function <a href="../index.html">kanidm_cli</a>::<wbr><a href="index.html">common</a>::<wbr><a class="fn" href="#">prompt_for_username_get_values</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#151-190">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn prompt_for_username_get_values() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>), <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This parses the token store and prompts the user to select their username, returns the username/token as a tuple of Strings</p>
<p>Used to reduce duplication in implementing <a href="fn.prompt_for_username_get_username.html" title="prompt_for_username_get_username">prompt_for_username_get_username</a> and <a href="fn.prompt_for_username_get_token.html" title="prompt_for_username_get_token">prompt_for_username_get_token</a></p>
</div></details></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `common` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, common"><title>kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module common</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#functions">Functions</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">common</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#1-214">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.prompt_for_username_get_token.html" title="kanidm_cli::common::prompt_for_username_get_token fn">prompt_for_username_get_token</a></div><div class="item-right docblock-short"><p>This parses the token store and prompts the user to select their username, returns the token as a String</p>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `common` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, common"><title>kanidm_cli::common - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module common</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#functions">Functions</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">common</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/common.rs.html#1-216">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.prompt_for_username_get_token.html" title="kanidm_cli::common::prompt_for_username_get_token fn">prompt_for_username_get_token</a></div><div class="item-right docblock-short"><p>This parses the token store and prompts the user to select their username, returns the token as a String</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.prompt_for_username_get_username.html" title="kanidm_cli::common::prompt_for_username_get_username fn">prompt_for_username_get_username</a></div><div class="item-right docblock-short"><p>This parses the token store and prompts the user to select their username, returns the username as a String</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.prompt_for_username_get_values.html" title="kanidm_cli::common::prompt_for_username_get_values fn">prompt_for_username_get_values</a></div><div class="item-right docblock-short"><p>This parses the token store and prompts the user to select their username, returns the username/token as a tuple of Strings</p>
</div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -8,7 +8,7 @@
</div><h3 id="variant.UseResetToken" class="variant small-section-header"><a href="#variant.UseResetToken" class="anchor field"></a><code>UseResetToken(<a class="struct" href="struct.UseResetTokenOpt.html" title="struct kanidm_cli::UseResetTokenOpt">UseResetTokenOpt</a>)</code></h3><div class="docblock"><p>Using a reset token, interactively reset credentials for a user</p>
</div><h3 id="variant.CreateResetToken" class="variant small-section-header"><a href="#variant.CreateResetToken" class="anchor field"></a><code>CreateResetToken(<a class="struct" href="struct.AccountNamedOpt.html" title="struct kanidm_cli::AccountNamedOpt">AccountNamedOpt</a>)</code></h3><div class="docblock"><p>Create a reset token that can be given to another person so they can
recover or reset their account credentials.</p>
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-AccountCredential" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/person.rs.html#425-549">source</a></span><a href="#impl-AccountCredential" class="anchor"></a><h3 class="code-header in-band">impl <a class="enum" href="enum.AccountCredential.html" title="enum kanidm_cli::AccountCredential">AccountCredential</a></h3></section></summary><div class="impl-items"><section id="method.debug" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/person.rs.html#426-433">source</a></span><h4 class="code-header">pub fn <a href="#method.debug" class="fnname">debug</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section><section id="method.exec" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/person.rs.html#435-548">source</a></span><h4 class="code-header">pub async fn <a href="#method.exec" class="fnname">exec</a>(&amp;self)</h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-AccountCredential" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#impl-Debug-for-AccountCredential" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.AccountCredential.html" title="enum kanidm_cli::AccountCredential">AccountCredential</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.64.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-AccountCredential" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/person.rs.html#469-593">source</a></span><a href="#impl-AccountCredential" class="anchor"></a><h3 class="code-header in-band">impl <a class="enum" href="enum.AccountCredential.html" title="enum kanidm_cli::AccountCredential">AccountCredential</a></h3></section></summary><div class="impl-items"><section id="method.debug" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/person.rs.html#470-477">source</a></span><h4 class="code-header">pub fn <a href="#method.debug" class="fnname">debug</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section><section id="method.exec" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/person.rs.html#479-592">source</a></span><h4 class="code-header">pub async fn <a href="#method.exec" class="fnname">exec</a>(&amp;self)</h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-AccountCredential" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#impl-Debug-for-AccountCredential" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.AccountCredential.html" title="enum kanidm_cli::AccountCredential">AccountCredential</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.64.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-FromArgMatches-for-AccountCredential" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#impl-FromArgMatches-for-AccountCredential" class="anchor"></a><h3 class="code-header in-band">impl FromArgMatches for <a class="enum" href="enum.AccountCredential.html" title="enum kanidm_cli::AccountCredential">AccountCredential</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_arg_matches" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#method.from_arg_matches" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from_arg_matches</a>(__clap_arg_matches: &amp;ArgMatches) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Error&gt;</h4></section></summary><div class='docblock'><p>Instantiate <code>Self</code> from [<code>ArgMatches</code>], parsing the arguments as needed. <a>Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_arg_matches_mut" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#method.from_arg_matches_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from_arg_matches_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;__clap_arg_matches: &amp;mut ArgMatches<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Error&gt;</h4></section></summary><div class='docblock'><p>Instantiate <code>Self</code> from [<code>ArgMatches</code>], parsing the arguments as needed. <a>Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_from_arg_matches" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#177">source</a></span><a href="#method.update_from_arg_matches" class="anchor"></a><h4 class="code-header">fn <a class="fnname">update_from_arg_matches</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;__clap_arg_matches: &amp;ArgMatches<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, Error&gt;</h4></section></summary><div class='docblock'><p>Assign values from <code>ArgMatches</code> to <code>self</code>.</p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `person` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, person"><title>kanidm_cli::person - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module person</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">person</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/person.rs.html#1-1071">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `person` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, person"><title>kanidm_cli::person - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module person</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">person</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/person.rs.html#1-1115">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `serviceaccount` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, serviceaccount"><title>kanidm_cli::serviceaccount - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module serviceaccount</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">serviceaccount</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/serviceaccount.rs.html#1-454">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `serviceaccount` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, serviceaccount"><title>kanidm_cli::serviceaccount - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module serviceaccount</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">serviceaccount</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/serviceaccount.rs.html#1-498">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `session` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, session"><title>kanidm_cli::session - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module session</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#functions">Functions</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">session</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/session.rs.html#1-486">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.read_tokens.html" title="kanidm_cli::session::read_tokens fn">read_tokens</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.write_tokens.html" title="kanidm_cli::session::write_tokens fn">write_tokens</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `session` mod in crate `kanidm_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, session"><title>kanidm_cli::session - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidm_cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module session</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#functions">Functions</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../kanidm_cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">kanidm_cli</a>::<wbr><a class="mod" href="#">session</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/kanidm_cli/session.rs.html#1-523">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.read_tokens.html" title="kanidm_cli::session::read_tokens fn">read_tokens</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.write_tokens.html" title="kanidm_cli::session::write_tokens fn">write_tokens</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="kanidm_cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>

View file

@ -1 +1 @@
window.SIDEBAR_ITEMS = {"enum":[["AccountCredential",""],["AccountRadius","RADIUS secret management"],["AccountSsh",""],["AccountValidity",""],["DomainOpt",""],["GroupOpt",""],["GroupPosix",""],["KanidmClientOpt",""],["Oauth2Opt",""],["PersonOpt",""],["PersonPosix",""],["PwBadlistOpt",""],["RawOpt",""],["RecycleOpt",""],["SelfOpt",""],["ServiceAccountApiToken",""],["ServiceAccountCredential",""],["ServiceAccountOpt",""],["ServiceAccountPosix",""],["SessionOpt",""],["SystemOpt",""]],"mod":[["badlist",""],["common",""],["domain",""],["group",""],["oauth2",""],["person",""],["raw",""],["recycle",""],["serviceaccount",""],["session",""]],"struct":[["AccountCommonOpt",""],["AccountCreateOpt",""],["AccountNamedExpireDateTimeOpt",""],["AccountNamedOpt",""],["AccountNamedTagOpt",""],["AccountNamedTagPkOpt",""],["AccountNamedValidDateTimeOpt",""],["AccountPosixOpt",""],["CommonOpt",""],["CreateOpt",""],["DebugOpt",""],["FilterOpt",""],["GroupNamedMembers",""],["GroupPosixOpt",""],["KanidmClientParser",""],["LoginOpt",""],["LogoutOpt",""],["ModifyOpt",""],["Named",""],["Oauth2BasicCreateOpt",""],["Oauth2CreateScopeMapOpt",""],["Oauth2DeleteScopeMapOpt",""],["Oauth2SetDisplayname",""],["Oauth2SetImplicitScopes",""],["OptSetDomainDisplayName",""],["PersonUpdateOpt",""],["ServiceAccountUpdateOpt",""],["UseResetTokenOpt","Command-line options for account credental use_reset_token"]]};
window.SIDEBAR_ITEMS = {"enum":[["AccountCredential",""],["AccountRadius","RADIUS secret management"],["AccountSsh",""],["AccountUserAuthToken",""],["AccountValidity",""],["DomainOpt",""],["GroupOpt",""],["GroupPosix",""],["KanidmClientOpt",""],["Oauth2Opt",""],["PersonOpt",""],["PersonPosix",""],["PwBadlistOpt",""],["RawOpt",""],["RecycleOpt",""],["SelfOpt",""],["ServiceAccountApiToken",""],["ServiceAccountCredential",""],["ServiceAccountOpt",""],["ServiceAccountPosix",""],["SessionOpt",""],["SystemOpt",""]],"mod":[["badlist",""],["common",""],["domain",""],["group",""],["oauth2",""],["person",""],["raw",""],["recycle",""],["serviceaccount",""],["session",""]],"struct":[["AccountCommonOpt",""],["AccountCreateOpt",""],["AccountNamedExpireDateTimeOpt",""],["AccountNamedOpt",""],["AccountNamedTagOpt",""],["AccountNamedTagPkOpt",""],["AccountNamedValidDateTimeOpt",""],["AccountPosixOpt",""],["CommonOpt",""],["CreateOpt",""],["DebugOpt",""],["FilterOpt",""],["GroupNamedMembers",""],["GroupPosixOpt",""],["KanidmClientParser",""],["LoginOpt",""],["LogoutOpt",""],["ModifyOpt",""],["Named",""],["Oauth2BasicCreateOpt",""],["Oauth2CreateScopeMapOpt",""],["Oauth2DeleteScopeMapOpt",""],["Oauth2SetDisplayname",""],["Oauth2SetImplicitScopes",""],["OptSetDomainDisplayName",""],["PersonUpdateOpt",""],["ServiceAccountUpdateOpt",""],["UseResetTokenOpt","Command-line options for account credental use_reset_token"]]};

View file

@ -7,7 +7,7 @@
</div><span id="structfield.addr" class="structfield small-section-header"><a href="#structfield.addr" class="anchor field"></a><code>addr: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></span><div class="docblock"><p>The URL of the kanidm instance</p>
</div><span id="structfield.username" class="structfield small-section-header"><a href="#structfield.username" class="anchor field"></a><code>username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></span><div class="docblock"><p>User which will initiate requests</p>
</div><span id="structfield.ca_path" class="structfield small-section-header"><a href="#structfield.ca_path" class="anchor field"></a><code>ca_path: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.64.0/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>&gt;</code></span><div class="docblock"><p>Path to a CA certificate file</p>
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-CommonOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/common.rs.html#13-144">source</a></span><a href="#impl-CommonOpt" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.CommonOpt.html" title="struct kanidm_cli::CommonOpt">CommonOpt</a></h3></section></summary><div class="impl-items"><section id="method.to_unauth_client" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/common.rs.html#14-57">source</a></span><h4 class="code-header">pub fn <a href="#method.to_unauth_client" class="fnname">to_unauth_client</a>(&amp;self) -&gt; <a class="struct" href="../kanidm_client/struct.KanidmClient.html" title="struct kanidm_client::KanidmClient">KanidmClient</a></h4></section><section id="method.to_client" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/common.rs.html#59-143">source</a></span><h4 class="code-header">pub async fn <a href="#method.to_client" class="fnname">to_client</a>(&amp;self) -&gt; <a class="struct" href="../kanidm_client/struct.KanidmClient.html" title="struct kanidm_client::KanidmClient">KanidmClient</a></h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Args-for-CommonOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#impl-Args-for-CommonOpt" class="anchor"></a><h3 class="code-header in-band">impl Args for <a class="struct" href="struct.CommonOpt.html" title="struct kanidm_cli::CommonOpt">CommonOpt</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.augment_args" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#method.augment_args" class="anchor"></a><h4 class="code-header">fn <a class="fnname">augment_args</a>&lt;'b&gt;(__clap_app: Command&lt;'b&gt;) -&gt; Command&lt;'b&gt;</h4></section></summary><div class='docblock'><p>Append to [<code>Command</code>] so it can instantiate <code>Self</code>. <a>Read more</a></p>
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-CommonOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/common.rs.html#13-146">source</a></span><a href="#impl-CommonOpt" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.CommonOpt.html" title="struct kanidm_cli::CommonOpt">CommonOpt</a></h3></section></summary><div class="impl-items"><section id="method.to_unauth_client" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/common.rs.html#14-57">source</a></span><h4 class="code-header">pub fn <a href="#method.to_unauth_client" class="fnname">to_unauth_client</a>(&amp;self) -&gt; <a class="struct" href="../kanidm_client/struct.KanidmClient.html" title="struct kanidm_client::KanidmClient">KanidmClient</a></h4></section><section id="method.to_client" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/common.rs.html#59-145">source</a></span><h4 class="code-header">pub async fn <a href="#method.to_client" class="fnname">to_client</a>(&amp;self) -&gt; <a class="struct" href="../kanidm_client/struct.KanidmClient.html" title="struct kanidm_client::KanidmClient">KanidmClient</a></h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Args-for-CommonOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#impl-Args-for-CommonOpt" class="anchor"></a><h3 class="code-header in-band">impl Args for <a class="struct" href="struct.CommonOpt.html" title="struct kanidm_cli::CommonOpt">CommonOpt</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.augment_args" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#method.augment_args" class="anchor"></a><h4 class="code-header">fn <a class="fnname">augment_args</a>&lt;'b&gt;(__clap_app: Command&lt;'b&gt;) -&gt; Command&lt;'b&gt;</h4></section></summary><div class='docblock'><p>Append to [<code>Command</code>] so it can instantiate <code>Self</code>. <a>Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.augment_args_for_update" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#method.augment_args_for_update" class="anchor"></a><h4 class="code-header">fn <a class="fnname">augment_args_for_update</a>&lt;'b&gt;(__clap_app: Command&lt;'b&gt;) -&gt; Command&lt;'b&gt;</h4></section></summary><div class='docblock'><p>Append to [<code>Command</code>] so it can update <code>self</code>. <a>Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-CommonOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#impl-Debug-for-CommonOpt" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.CommonOpt.html" title="struct kanidm_cli::CommonOpt">CommonOpt</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.64.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-FromArgMatches-for-CommonOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#impl-FromArgMatches-for-CommonOpt" class="anchor"></a><h3 class="code-header in-band">impl FromArgMatches for <a class="struct" href="struct.CommonOpt.html" title="struct kanidm_cli::CommonOpt">CommonOpt</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_arg_matches" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/kanidm_cli/up/opt/kanidm.rs.html#17">source</a></span><a href="#method.from_arg_matches" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from_arg_matches</a>(__clap_arg_matches: &amp;ArgMatches) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Error&gt;</h4></section></summary><div class='docblock'><p>Instantiate <code>Self</code> from [<code>ArgMatches</code>], parsing the arguments as needed. <a>Read more</a></p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
window.SIDEBAR_ITEMS = {"enum":[["ApiTokenPurpose",""],["AuthAllowed",""],["AuthCredential",""],["AuthMech",""],["AuthState",""],["AuthStep",""],["AuthType",""],["CURegState",""],["CURequest",""],["ConsistencyError",""],["CredentialDetailType",""],["Filter",""],["Modify",""],["OperationError",""],["PasswordFeedback",""],["PluginError",""],["SchemaError",""],["TotpAlgo",""],["UatPurpose",""],["UiHint",""]],"struct":[["AccountUnixExtend",""],["ApiToken",""],["ApiTokenGenerate",""],["AuthRequest",""],["AuthResponse",""],["BackupCodesView",""],["CUIntentToken",""],["CUSessionToken",""],["CUStatus",""],["Claim",""],["CreateRequest",""],["CredentialDetail",""],["CredentialStatus",""],["DeleteRequest",""],["Entry",""],["Group",""],["GroupUnixExtend",""],["ModifyList",""],["ModifyRequest",""],["PasskeyDetail",""],["RadiusAuthToken",""],["SearchRequest",""],["SearchResponse",""],["SingleStringRequest",""],["TotpSecret",""],["UnixGroupToken",""],["UnixUserToken",""],["UserAuthToken","The currently authenticated user, and any required metadata for them to properly authorise them. This is similar in nature to oauth and the krb PAC/PAD structures. This information is transparent to clients and CAN be parsed by them!"],["WhoamiResponse",""]]};
window.SIDEBAR_ITEMS = {"enum":[["ApiTokenPurpose",""],["AuthAllowed",""],["AuthCredential",""],["AuthMech",""],["AuthState",""],["AuthStep",""],["AuthType",""],["CURegState",""],["CURequest",""],["ConsistencyError",""],["CredentialDetailType",""],["Filter",""],["Modify",""],["OperationError",""],["PasswordFeedback",""],["PluginError",""],["SchemaError",""],["TotpAlgo",""],["UatPurpose",""],["UatPurposeStatus",""],["UiHint",""]],"struct":[["AccountUnixExtend",""],["ApiToken",""],["ApiTokenGenerate",""],["AuthRequest",""],["AuthResponse",""],["BackupCodesView",""],["CUIntentToken",""],["CUSessionToken",""],["CUStatus",""],["Claim",""],["CreateRequest",""],["CredentialDetail",""],["CredentialStatus",""],["DeleteRequest",""],["Entry",""],["Group",""],["GroupUnixExtend",""],["ModifyList",""],["ModifyRequest",""],["PasskeyDetail",""],["RadiusAuthToken",""],["SearchRequest",""],["SearchResponse",""],["SingleStringRequest",""],["TotpSecret",""],["UatStatus",""],["UnixGroupToken",""],["UnixUserToken",""],["UserAuthToken","The currently authenticated user, and any required metadata for them to properly authorise them. This is similar in nature to oauth and the krb PAC/PAD structures. This information is transparent to clients and CAN be parsed by them!"],["WhoamiResponse",""]]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more