mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Automated deployment: Mon Jun 15 13:43:29 UTC 2020 dc9f4c75ce
This commit is contained in:
@@ -708,6 +708,11 @@
|
||||
|
||||
<h1 id="full-example">Full example<a class="headerlink" href="#full-example" title="Permanent link">¶</a></h1>
|
||||
<p>Here is a full working example with JWT authentication to help get you started.</p>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Warning</p>
|
||||
<p>Notice that <strong>SECRET</strong> should be changed to a strong passphrase.
|
||||
Insecure passwords may give attackers full access to your database.</p>
|
||||
</div>
|
||||
<div class="tabbed-set" data-tabs="1:3">
|
||||
<input name="__tabbed_1" type="radio" id="__tabbed_1_1" checked="checked" /><label for="__tabbed_1_1">SQLAlchemy</label><div class="tabbed-content"><div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">databases</span>
|
||||
<span class="kn">import</span> <span class="nn">sqlalchemy</span>
|
||||
|
||||
@@ -998,6 +998,11 @@
|
||||
</code></pre></div>
|
||||
|
||||
<h3 id="full-example">Full example<a class="headerlink" href="#full-example" title="Permanent link">¶</a></h3>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Warning</p>
|
||||
<p>Notice that <strong>SECRET</strong> should be changed to a strong passphrase.
|
||||
Insecure passwords may give attackers full access to your database.</p>
|
||||
</div>
|
||||
<div class="tabbed-set" data-tabs="1:3">
|
||||
<input name="__tabbed_1" type="radio" id="__tabbed_1_1" checked="checked" /><label for="__tabbed_1_1">SQLAlchemy</label><div class="tabbed-content"><div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">databases</span>
|
||||
<span class="kn">import</span> <span class="nn">sqlalchemy</span>
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
Reference in New Issue
Block a user