This commit is contained in:
@@ -914,10 +914,9 @@
|
||||
|
||||
<div class="doc doc-contents first">
|
||||
|
||||
<p>JWT token payload models.</p>
|
||||
<hr />
|
||||
<h4 id="jwtlib.models.security--summary">Summary</h4>
|
||||
<p>This module defines typed representations of decoded JWT payloads used
|
||||
<h3 id="jwtlib.models.security--summary">Summary</h3>
|
||||
<p>JWT token payload models.</p>
|
||||
<p>This module defines typed representations of decoded <code>JWT</code> payloads used
|
||||
internally for token validation and user resolution.</p>
|
||||
|
||||
|
||||
@@ -947,7 +946,7 @@ internally for token validation and user resolution.</p>
|
||||
Bases: <code><span title="pydantic.BaseModel">BaseModel</span></code></p>
|
||||
|
||||
|
||||
<p>Decoded JWT payload.</p>
|
||||
<p>Decoded <code>JWT</code> payload.</p>
|
||||
|
||||
|
||||
<p><span class="doc-section-title">Attributes:</span></p>
|
||||
@@ -989,10 +988,18 @@ internally for token validation and user resolution.</p>
|
||||
<details class="notes" open>
|
||||
<summary>Notes</summary>
|
||||
<p><strong>Responsibilities:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><code>- Represents the validated claims extracted from a JWT after signature verification. This model is used internally to enforce required claims and provide a typed interface to token data.
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- Represents the validated claims extracted from a `JWT` after
|
||||
signature verification. This model is used internally to enforce
|
||||
required claims and provide a typed interface to token data.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
<p><strong>Guarantees:</strong></p>
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><code>- This model assumes the JWT signature has already been verified. No authorization decisions should be made solely on this model. Additional claims may exist but are intentionally ignored.
|
||||
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
|
||||
<span class="normal">2</span>
|
||||
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><code>- This model assumes the `JWT` signature has already been verified.
|
||||
No authorization decisions should be made solely on this model.
|
||||
Additional claims may exist but are intentionally ignored.
|
||||
</code></pre></div></td></tr></table></div>
|
||||
</details>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user