mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Automated deployment: Sat Apr 25 12:34:09 UTC 2020 bf0c924501
This commit is contained in:
@@ -446,6 +446,18 @@
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../flow/" title="Flow" class="md-nav__link">
|
||||
Flow
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../routes/" title="Routes" class="md-nav__link">
|
||||
Routes
|
||||
|
||||
1555
usage/flow/index.html
Normal file
1555
usage/flow/index.html
Normal file
File diff suppressed because it is too large
Load Diff
@@ -445,6 +445,18 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../flow/" title="Flow" class="md-nav__link">
|
||||
Flow
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -591,13 +603,6 @@
|
||||
<nav class="md-nav" aria-label="Superuser">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#get" class="md-nav__link">
|
||||
GET /
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#get-user_id" class="md-nav__link">
|
||||
GET /{user_id}
|
||||
@@ -783,13 +788,6 @@
|
||||
<nav class="md-nav" aria-label="Superuser">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#get" class="md-nav__link">
|
||||
GET /
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#get-user_id" class="md-nav__link">
|
||||
GET /{user_id}
|
||||
@@ -1042,27 +1040,6 @@
|
||||
<p>Missing token or inactive user.</p>
|
||||
</div>
|
||||
<h2 id="superuser">Superuser<a class="headerlink" href="#superuser" title="Permanent link">¶</a></h2>
|
||||
<h3 id="get"><code>GET /</code><a class="headerlink" href="#get" title="Permanent link">¶</a></h3>
|
||||
<p>Return the list of registered users.</p>
|
||||
<div class="admonition success">
|
||||
<p class="admonition-title"><code>200 OK</code></p>
|
||||
<div class="highlight"><pre><span></span><code><span class="p">[{</span>
|
||||
<span class="nt">"id"</span><span class="p">:</span> <span class="s2">"57cbb51a-ab71-4009-8802-3f54b4f2e23"</span><span class="p">,</span>
|
||||
<span class="nt">"email"</span><span class="p">:</span> <span class="s2">"king.arthur@camelot.bt"</span><span class="p">,</span>
|
||||
<span class="nt">"is_active"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||
<span class="nt">"is_superuser"</span><span class="p">:</span> <span class="kc">false</span>
|
||||
<span class="p">}]</span>
|
||||
</code></pre></div>
|
||||
|
||||
</div>
|
||||
<div class="admonition fail">
|
||||
<p class="admonition-title"><code>401 Unauthorized</code></p>
|
||||
<p>Missing token or inactive user.</p>
|
||||
</div>
|
||||
<div class="admonition fail">
|
||||
<p class="admonition-title"><code>403 Forbidden</code></p>
|
||||
<p>Not a superuser.</p>
|
||||
</div>
|
||||
<h3 id="get-user_id"><code>GET /{user_id}</code><a class="headerlink" href="#get-user_id" title="Permanent link">¶</a></h3>
|
||||
<p>Return the user with id <code>user_id</code>.</p>
|
||||
<div class="admonition success">
|
||||
@@ -1159,7 +1136,7 @@
|
||||
<div class="md-footer-nav">
|
||||
<nav class="md-footer-nav__inner md-grid" aria-label="Footer">
|
||||
|
||||
<a href="../../configuration/oauth/" title="OAuth2" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
||||
<a href="../flow/" title="Flow" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
||||
<div class="md-footer-nav__button md-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z" /></svg>
|
||||
</div>
|
||||
@@ -1168,7 +1145,7 @@
|
||||
<span class="md-footer-nav__direction">
|
||||
Previous
|
||||
</span>
|
||||
OAuth2
|
||||
Flow
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user