Skip to content

Commit

Permalink
deploy: 29633b1
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Dec 28, 2024
1 parent cf2170a commit 43e20aa
Show file tree
Hide file tree
Showing 78 changed files with 184 additions and 264 deletions.
2 changes: 1 addition & 1 deletion JWT.html
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ <h3 class="signature " id="openssl_version-class_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
87 changes: 7 additions & 80 deletions JWT/Base64.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,28 +132,6 @@ <h2>
<li class="public ">
<span class="summary_signature">

<a href="#loose_urlsafe_decode64-class_method" title="loose_urlsafe_decode64 (class method)">.<strong>loose_urlsafe_decode64</strong>(str) &#x21d2; Object </a>



</span>






<span class="private note title">private</span>


<span class="summary_desc"><div class='inline'></div></span>

</li>


<li class="public ">
<span class="summary_signature">

<a href="#url_decode-class_method" title="url_decode (class method)">.<strong>url_decode</strong>(str) &#x21d2; Object </a>


Expand Down Expand Up @@ -209,52 +187,7 @@ <h2>Class Method Details</h2>


<div class="method_details first">
<h3 class="signature first" id="loose_urlsafe_decode64-class_method">

.<strong>loose_urlsafe_decode64</strong>(str) &#x21d2; <tt>Object</tt>





</h3><div class="docstring">
<div class="discussion">
<p class="note private">
<strong>This method is part of a private API.</strong>
You should avoid using this method if possible, as it may be removed or be changed in the future.
</p>


</div>
</div>
<div class="tags">


</div><table class="source_code">
<tr>
<td>
<pre class="lines">


30
31
32
33</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/jwt/base64.rb', line 30</span>

<span class='kw'>def</span> <span class='id identifier rubyid_loose_urlsafe_decode64'>loose_urlsafe_decode64</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='rparen'>)</span>
<span class='id identifier rubyid_str'>str</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>=</span><span class='tstring_end'>&#39;</span></span> <span class='op'>*</span> <span class='lparen'>(</span><span class='int'>4</span> <span class='op'>-</span> <span class='id identifier rubyid_str'>str</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span><span class='period'>.</span><span class='id identifier rubyid_modulo'>modulo</span><span class='lparen'>(</span><span class='int'>4</span><span class='rparen'>)</span><span class='rparen'>)</span>
<span class='op'>::</span><span class='const'>Base64</span><span class='period'>.</span><span class='id identifier rubyid_decode64'>decode64</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='period'>.</span><span class='id identifier rubyid_tr'>tr</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-_</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+/</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>

<div class="method_details ">
<h3 class="signature " id="url_decode-class_method">
<h3 class="signature first" id="url_decode-class_method">

.<strong>url_decode</strong>(str) &#x21d2; <tt>Object</tt>

Expand All @@ -269,7 +202,7 @@ <h3 class="signature " id="url_decode-class_method">
You should avoid using this method if possible, as it may be removed or be changed in the future.
</p>

<p>Decode a string with URL-safe Base64 complying with RFC 4648. Deprecated support for RFC 2045 remains for now. (“All line breaks or other characters not found in Table 1 must be ignored by decoding software”)</p>
<p>Decode a string with URL-safe Base64 complying with RFC 4648.</p>


</div>
Expand All @@ -283,29 +216,23 @@ <h3 class="signature " id="url_decode-class_method">
<pre class="lines">


18
19
20
21
22
23
24
25
26
27
28</pre>
24</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/jwt/base64.rb', line 19</span>
<pre class="code"><span class="info file"># File 'lib/jwt/base64.rb', line 18</span>

<span class='kw'>def</span> <span class='id identifier rubyid_url_decode'>url_decode</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='rparen'>)</span>
<span class='op'>::</span><span class='const'>Base64</span><span class='period'>.</span><span class='id identifier rubyid_urlsafe_decode64'>urlsafe_decode64</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='rparen'>)</span>
<span class='kw'>rescue</span> <span class='const'>ArgumentError</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_e'>e</span>
<span class='id identifier rubyid_raise'>raise</span> <span class='kw'>unless</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invalid base64</span><span class='tstring_end'>&#39;</span></span>
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="Base64DecodeError.html" title="JWT::Base64DecodeError (class)">Base64DecodeError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Invalid base64 encoding</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>if</span> <span class='const'><span class='object_link'><a href="../JWT.html" title="JWT (module)">JWT</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="Configuration.html#configuration-instance_method" title="JWT::Configuration#configuration (method)">configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_strict_base64_decoding'><span class='object_link'><a href="Configuration/Container.html#strict_base64_decoding-instance_method" title="JWT::Configuration::Container#strict_base64_decoding (method)">strict_base64_decoding</a></span></span>

<span class='id identifier rubyid_loose_urlsafe_decode64'>loose_urlsafe_decode64</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span>
<span class='const'><span class='object_link'><a href="Deprecations.html" title="JWT::Deprecations (module)">Deprecations</a></span></span><span class='period'>.</span><span class='id identifier rubyid_warning'><span class='object_link'><a href="Deprecations.html#warning-class_method" title="JWT::Deprecations.warning (method)">warning</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Invalid base64 input detected, could be because of invalid padding, trailing whitespaces or newline chars. Graceful handling of invalid input will be dropped in the next major version of ruby-jwt</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>only_if_valid:</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span>
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="Base64DecodeError.html" title="JWT::Base64DecodeError (class)">Base64DecodeError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Invalid base64 encoding</span><span class='tstring_end'>&#39;</span></span>
<span class='kw'>end</span></pre>
</td>
</tr>
Expand Down Expand Up @@ -362,7 +289,7 @@ <h3 class="signature " id="url_encode-class_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Base64DecodeError.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2>Overview</h2><div class="docstring">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ <h4 class="tag_title">Examples:</h4>
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Audience.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Crit.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/DecodeVerifier.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h3 class="signature first" id="verify!-class_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Error.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h3 class="signature first" id="message-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Expiration.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/IssuedAt.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Issuer.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/JwtId.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/NotBefore.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Numeric.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Required.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Subject.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ <h3 class="signature first" id="verify!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/VerificationContext.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h3 class="signature first" id="payload-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:28 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Claims/Verifier.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ <h3 class="signature " id="verify!-class_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ <h3 class="signature " id="configure-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Configuration/Container.html
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ <h3 class="signature first" id="reset!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:28 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Configuration/DecodeConfiguration.html
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ <h3 class="signature first" id="to_h-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:28 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Configuration/JwkConfiguration.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ <h3 class="signature first" id="kid_generator_type=-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:28 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Decode.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ <h3 class="signature first" id="decode_segments-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/DecodeError.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h2>Direct Known Subclasses</h2>
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Deprecations.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ <h3 class="signature " id="warning-class_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/Encode.html
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ <h3 class="signature first" id="segments-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/EncodeError.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2>Overview</h2><div class="docstring">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/EncodedToken.html
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,7 @@ <h3 class="signature " id="verify_signature!-instance_method">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:38 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/ExpiredSignature.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2>Overview</h2><div class="docstring">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
2 changes: 1 addition & 1 deletion JWT/ImmatureSignature.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2>Overview</h2><div class="docstring">
</div>

<div id="footer">
Generated on Sat Dec 28 18:10:37 2024 by
Generated on Sat Dec 28 18:52:27 2024 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.1).
</div>
Expand Down
Loading

0 comments on commit 43e20aa

Please sign in to comment.