mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Automated deployment: Thu Sep 9 09:52:59 UTC 2021 7ae2042500
This commit is contained in:
@@ -894,7 +894,7 @@
|
||||
</code></pre></div>
|
||||
<p>As you can see, instantiation is quite simple. It accepts the following arguments:</p>
|
||||
<ul>
|
||||
<li><code>secret</code> (<code>str</code>): A constant secret which is used to encode the cookie. <strong>Use a strong passphrase and keep it secure.</strong></li>
|
||||
<li><code>secret</code> (<code>Union[str, pydantic.SecretStr]</code>): A constant secret which is used to encode the cookie. <strong>Use a strong passphrase and keep it secure.</strong></li>
|
||||
<li><code>lifetime_seconds</code> (<code>int</code>): The lifetime of the cookie in seconds.</li>
|
||||
<li><code>cookie_name</code> (<code>fastapiusersauth</code>): Name of the cookie.</li>
|
||||
<li><code>cookie_path</code> (<code>/</code>): Cookie path.</li>
|
||||
|
||||
@@ -908,7 +908,7 @@
|
||||
</code></pre></div>
|
||||
<p>As you can see, instantiation is quite simple. It accepts the following arguments:</p>
|
||||
<ul>
|
||||
<li><code>secret</code> (<code>str</code>): A constant secret which is used to encode the token. <strong>Use a strong passphrase and keep it secure.</strong></li>
|
||||
<li><code>secret</code> (<code>Union[str, pydantic.SecretStr]</code>): A constant secret which is used to encode the token. <strong>Use a strong passphrase and keep it secure.</strong></li>
|
||||
<li><code>lifetime_seconds</code> (<code>int</code>): The lifetime of the token in seconds.</li>
|
||||
<li><code>tokenUrl</code> (<code>Optional[str]</code>): The exact path of your login endpoint. It'll allow the interactive documentation to automatically discover it and get a working <em>Authorize</em> button. In most cases, you'll probably need a <strong>relative</strong> path, not absolute. You can read more details about this in the <a href="https://fastapi.tiangolo.com/tutorial/security/first-steps/#fastapis-oauth2passwordbearer">FastAPI documentation</a>. Defaults to <code>auth/jwt/login</code>.</li>
|
||||
<li><code>name</code> (<code>Optional[str]</code>): Name of the backend. It's useful in the case you wish to have several backends of the same class. Each backend should have a unique name. Defaults to <code>jwt</code>.</li>
|
||||
|
||||
@@ -876,8 +876,8 @@
|
||||
</code></pre></div>
|
||||
<p>Parameters:</p>
|
||||
<ul>
|
||||
<li><code>reset_password_token_secret</code>: Secret to encode reset password token.</li>
|
||||
<li><code>reset_password_token_lifetime_seconds</code>: Lifetime of reset password token. <strong>Defaults to 3600</strong>.</li>
|
||||
<li><code>reset_password_token_secret</code> (<code>Union[str, pydantic.SecretStr]</code>): Secret to encode reset password token.</li>
|
||||
<li><code>reset_password_token_lifetime_seconds</code> (<code>int</code>): Lifetime of reset password token. <strong>Defaults to 3600</strong>.</li>
|
||||
<li><code>after_forgot_password</code>: Optional function called after a successful forgot password request. See below.</li>
|
||||
</ul>
|
||||
<h2 id="after-forgot-password">After forgot password<a class="headerlink" href="#after-forgot-password" title="Permanent link">¶</a></h2>
|
||||
|
||||
@@ -879,8 +879,8 @@
|
||||
</code></pre></div>
|
||||
<p>Parameters:</p>
|
||||
<ul>
|
||||
<li><code>verification_token_secret</code>: Secret to encode verify token.</li>
|
||||
<li><code>verification_token_lifetime_seconds</code>: Lifetime of verify token. <strong>Defaults to 3600</strong>.</li>
|
||||
<li><code>verification_token_secret</code> (<code>Union[str, pydantic.SecretStr]</code>): Secret to encode verify token.</li>
|
||||
<li><code>verification_token_lifetime_seconds</code> (<code>int</code>): Lifetime of verify token. <strong>Defaults to 3600</strong>.</li>
|
||||
<li><code>after_verification_request</code>: Optional function called after a successful verify request. See below.</li>
|
||||
<li><code>after_verification</code>: Optional function called after a successful verification. See below.</li>
|
||||
</ul>
|
||||
|
||||
@@ -969,7 +969,7 @@
|
||||
<a href="https://badge.fury.io/py/fastapi-users"><img alt="PyPI version" src="https://badge.fury.io/py/fastapi-users.svg" /></a>
|
||||
<a href="https://pepy.tech/project/fastapi-users"><img alt="Downloads" src="https://pepy.tech/badge/fastapi-users" /></a></p>
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
<p><a href="#contributors-"><img alt="All Contributors" src="https://img.shields.io/badge/all_contributors-32-orange.svg?style=flat-square" /></a></p>
|
||||
<p><a href="#contributors-"><img alt="All Contributors" src="https://img.shields.io/badge/all_contributors-34-orange.svg?style=flat-square" /></a></p>
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
<p align="center">
|
||||
<a href="https://www.buymeacoffee.com/fastapi-users"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=frankie567&button_colour=FF5F5F&font_colour=ffffff&font_family=Lato&outline_colour=000000&coffee_colour=FFDD00"></a>
|
||||
@@ -1067,6 +1067,7 @@
|
||||
<td align="center"><a href="https://github.com/cosmosquark"><img src="https://avatars.githubusercontent.com/u/1540682?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ben</b></sub></a><br /><a href="https://github.com/fastapi-users/fastapi-users/commits?author=cosmosquark" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/BoYanZh"><img src="https://avatars.githubusercontent.com/u/32470225?v=4?s=100" width="100px;" alt=""/><br /><sub><b>BoYanZh</b></sub></a><br /><a href="https://github.com/fastapi-users/fastapi-users/commits?author=BoYanZh" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="https://github.com/davidbrochart"><img src="https://avatars.githubusercontent.com/u/4711805?v=4?s=100" width="100px;" alt=""/><br /><sub><b>David Brochart</b></sub></a><br /><a href="https://github.com/fastapi-users/fastapi-users/commits?author=davidbrochart" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="https://www.daanbeverdam.com"><img src="https://avatars.githubusercontent.com/u/13944585?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Daan Beverdam</b></sub></a><br /><a href="https://github.com/fastapi-users/fastapi-users/commits?author=daanbeverdam" title="Code">💻</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
56
sitemap.xml
56
sitemap.xml
@@ -2,142 +2,142 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2021-09-04</lastmod>
|
||||
<lastmod>2021-09-09</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
||||
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
Reference in New Issue
Block a user