+31
32
33
34
35
-36
-37
+36
- # File 'lib/jwt.rb', line 32
+ # File 'lib/jwt.rb', line 31
def encode ( payload , key , algorithm = ' HS256 ' , = { } )
Encode . new ( payload: payload ,
@@ -825,7 +821,7 @@
diff --git a/JWT/Base64.html b/JWT/Base64.html
index c3c01a48..72198ecb 100644
--- a/JWT/Base64.html
+++ b/JWT/Base64.html
@@ -289,7 +289,7 @@
diff --git a/JWT/Base64DecodeError.html b/JWT/Base64DecodeError.html
index 90fad40b..d94026e3 100644
--- a/JWT/Base64DecodeError.html
+++ b/JWT/Base64DecodeError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/Claims.html b/JWT/Claims.html
index a65df0e0..6a2df3e3 100644
--- a/JWT/Claims.html
+++ b/JWT/Claims.html
@@ -490,7 +490,7 @@ Examples:
diff --git a/JWT/Claims/Audience.html b/JWT/Claims/Audience.html
index f93e03fb..4957d336 100644
--- a/JWT/Claims/Audience.html
+++ b/JWT/Claims/Audience.html
@@ -364,7 +364,7 @@
diff --git a/JWT/Claims/Crit.html b/JWT/Claims/Crit.html
index 0200ee08..35bc6f26 100644
--- a/JWT/Claims/Crit.html
+++ b/JWT/Claims/Crit.html
@@ -374,7 +374,7 @@
diff --git a/JWT/Claims/DecodeVerifier.html b/JWT/Claims/DecodeVerifier.html
index 6a159ea5..21ef319b 100644
--- a/JWT/Claims/DecodeVerifier.html
+++ b/JWT/Claims/DecodeVerifier.html
@@ -202,7 +202,7 @@
diff --git a/JWT/Claims/Error.html b/JWT/Claims/Error.html
index 5f6198cf..67f909f8 100644
--- a/JWT/Claims/Error.html
+++ b/JWT/Claims/Error.html
@@ -223,7 +223,7 @@
diff --git a/JWT/Claims/Expiration.html b/JWT/Claims/Expiration.html
index 93f12515..36436c83 100644
--- a/JWT/Claims/Expiration.html
+++ b/JWT/Claims/Expiration.html
@@ -368,7 +368,7 @@
diff --git a/JWT/Claims/IssuedAt.html b/JWT/Claims/IssuedAt.html
index ba318bc5..8c487711 100644
--- a/JWT/Claims/IssuedAt.html
+++ b/JWT/Claims/IssuedAt.html
@@ -279,7 +279,7 @@
diff --git a/JWT/Claims/Issuer.html b/JWT/Claims/Issuer.html
index ccf1f8e8..dada2310 100644
--- a/JWT/Claims/Issuer.html
+++ b/JWT/Claims/Issuer.html
@@ -372,7 +372,7 @@
diff --git a/JWT/Claims/JwtId.html b/JWT/Claims/JwtId.html
index 61c10dfe..3980bef3 100644
--- a/JWT/Claims/JwtId.html
+++ b/JWT/Claims/JwtId.html
@@ -374,7 +374,7 @@
diff --git a/JWT/Claims/NotBefore.html b/JWT/Claims/NotBefore.html
index 98080887..ecc11bf6 100644
--- a/JWT/Claims/NotBefore.html
+++ b/JWT/Claims/NotBefore.html
@@ -368,7 +368,7 @@
diff --git a/JWT/Claims/Numeric.html b/JWT/Claims/Numeric.html
index 2dc0e55f..cecff18e 100644
--- a/JWT/Claims/Numeric.html
+++ b/JWT/Claims/Numeric.html
@@ -255,7 +255,7 @@
diff --git a/JWT/Claims/Required.html b/JWT/Claims/Required.html
index d462f9f3..cf6a1b1c 100644
--- a/JWT/Claims/Required.html
+++ b/JWT/Claims/Required.html
@@ -370,7 +370,7 @@
diff --git a/JWT/Claims/Subject.html b/JWT/Claims/Subject.html
index 4a4733a9..db2edaef 100644
--- a/JWT/Claims/Subject.html
+++ b/JWT/Claims/Subject.html
@@ -364,7 +364,7 @@
diff --git a/JWT/Claims/VerificationContext.html b/JWT/Claims/VerificationContext.html
index 953daeef..164e4564 100644
--- a/JWT/Claims/VerificationContext.html
+++ b/JWT/Claims/VerificationContext.html
@@ -227,7 +227,7 @@
diff --git a/JWT/Claims/Verifier.html b/JWT/Claims/Verifier.html
index db905d10..fdc2c6c0 100644
--- a/JWT/Claims/Verifier.html
+++ b/JWT/Claims/Verifier.html
@@ -273,7 +273,7 @@
diff --git a/JWT/Configuration.html b/JWT/Configuration.html
index 0d8cfbef..1bc0dbb2 100644
--- a/JWT/Configuration.html
+++ b/JWT/Configuration.html
@@ -326,7 +326,7 @@
+35
# File 'lib/jwt/configuration/container.rb', line 30
@@ -605,7 +604,6 @@
def reset!
@decode = DecodeConfiguration . new
@jwk = JwkConfiguration . new
- @strict_base64_decoding = false
self . deprecation_warnings = :once
end
@@ -619,7 +617,7 @@
diff --git a/JWT/Configuration/DecodeConfiguration.html b/JWT/Configuration/DecodeConfiguration.html
index 0ac1b52b..aa0f5ec5 100644
--- a/JWT/Configuration/DecodeConfiguration.html
+++ b/JWT/Configuration/DecodeConfiguration.html
@@ -1331,7 +1331,7 @@
diff --git a/JWT/Configuration/JwkConfiguration.html b/JWT/Configuration/JwkConfiguration.html
index 8bf51f1c..0eb2fad2 100644
--- a/JWT/Configuration/JwkConfiguration.html
+++ b/JWT/Configuration/JwkConfiguration.html
@@ -375,7 +375,7 @@
diff --git a/JWT/Decode.html b/JWT/Decode.html
index 66a556e8..7b891841 100644
--- a/JWT/Decode.html
+++ b/JWT/Decode.html
@@ -423,7 +423,7 @@
diff --git a/JWT/DecodeError.html b/JWT/DecodeError.html
index d6fd03e9..07f9ac9a 100644
--- a/JWT/DecodeError.html
+++ b/JWT/DecodeError.html
@@ -129,7 +129,7 @@ Direct Known Subclasses
diff --git a/JWT/Deprecations.html b/JWT/Deprecations.html
deleted file mode 100644
index 5ccb3791..00000000
--- a/JWT/Deprecations.html
+++ /dev/null
@@ -1,425 +0,0 @@
-
-
-
-
-
-
- Module: JWT::Deprecations
-
- — Documentation by YARD 0.9.37
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: JWT::Deprecations
-
-
- Private
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Defined in:
- lib/jwt/deprecations.rb
-
-
-
-
-
Overview
-
-
- This module is part of a private API.
- You should avoid using this module if possible, as it may be removed or be changed in the future.
-
-
-
Deprecations module to handle deprecation warnings in the gem
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Class Method Summary
- collapse
-
-
-
-
-
-
-
-
-
Class Method Details
-
-
-
-
-
- .context ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-8
-9
-10
-11
-12
-
-
- # File 'lib/jwt/deprecations.rb', line 8
-
-def context
- yield . tap { emit_warnings }
-ensure
- Thread . current [ :jwt_warning_store ] = nil
-end
-
-
-
-
-
-
-
-
- .emit_warnings ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-32
-33
-34
-35
-36
-
-
- # File 'lib/jwt/deprecations.rb', line 32
-
-def emit_warnings
- return if Thread . current [ :jwt_warning_store ] . nil?
-
- Thread . current [ :jwt_warning_store ] . each { | warning | warn ( warning ) }
-end
-
-
-
-
-
-
-
-
- .store (message) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-28
-29
-30
-
-
- # File 'lib/jwt/deprecations.rb', line 28
-
-def store ( message )
- ( Thread . current [ :jwt_warning_store ] ||= [ ] ) << message
-end
-
-
-
-
-
-
-
-
- .warning (message, only_if_valid: false) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-
-
- # File 'lib/jwt/deprecations.rb', line 14
-
-def warning ( message , only_if_valid: false )
- method_name = only_if_valid ? :store : :warn
- case JWT . configuration . deprecation_warnings
- when :once
- return if record_warned ( message )
- when :warn
- else
- return
- end
-
- send ( method_name , " [DEPRECATION WARNING] #{ message } " )
-end
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/JWT/Encode.html b/JWT/Encode.html
index b09a7be8..3db0064f 100644
--- a/JWT/Encode.html
+++ b/JWT/Encode.html
@@ -382,7 +382,7 @@
diff --git a/JWT/EncodeError.html b/JWT/EncodeError.html
index be2b2dfc..865afbce 100644
--- a/JWT/EncodeError.html
+++ b/JWT/EncodeError.html
@@ -125,7 +125,7 @@ Overview
diff --git a/JWT/EncodedToken.html b/JWT/EncodedToken.html
index b293200e..8ef2b670 100644
--- a/JWT/EncodedToken.html
+++ b/JWT/EncodedToken.html
@@ -1841,7 +1841,7 @@
diff --git a/JWT/ExpiredSignature.html b/JWT/ExpiredSignature.html
index 1be7c5bd..065736e3 100644
--- a/JWT/ExpiredSignature.html
+++ b/JWT/ExpiredSignature.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/ImmatureSignature.html b/JWT/ImmatureSignature.html
index d1d6efdb..4725ccbd 100644
--- a/JWT/ImmatureSignature.html
+++ b/JWT/ImmatureSignature.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/IncorrectAlgorithm.html b/JWT/IncorrectAlgorithm.html
index 95a94c27..f9b6fca6 100644
--- a/JWT/IncorrectAlgorithm.html
+++ b/JWT/IncorrectAlgorithm.html
@@ -137,7 +137,7 @@ Direct Known Subclasses
diff --git a/JWT/InvalidAudError.html b/JWT/InvalidAudError.html
index 815ebc0f..9d6cf2ad 100644
--- a/JWT/InvalidAudError.html
+++ b/JWT/InvalidAudError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/InvalidCritError.html b/JWT/InvalidCritError.html
index 345068fb..3d647d8b 100644
--- a/JWT/InvalidCritError.html
+++ b/JWT/InvalidCritError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/InvalidIatError.html b/JWT/InvalidIatError.html
index 51f4da29..5f20555f 100644
--- a/JWT/InvalidIatError.html
+++ b/JWT/InvalidIatError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/InvalidIssuerError.html b/JWT/InvalidIssuerError.html
index 4bf08b25..3939329b 100644
--- a/JWT/InvalidIssuerError.html
+++ b/JWT/InvalidIssuerError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/InvalidJtiError.html b/JWT/InvalidJtiError.html
index 9cfb211c..95b8b8a4 100644
--- a/JWT/InvalidJtiError.html
+++ b/JWT/InvalidJtiError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/InvalidPayload.html b/JWT/InvalidPayload.html
index f6ca60a0..745b070d 100644
--- a/JWT/InvalidPayload.html
+++ b/JWT/InvalidPayload.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/InvalidSubError.html b/JWT/InvalidSubError.html
index 7916c858..aea1af20 100644
--- a/JWT/InvalidSubError.html
+++ b/JWT/InvalidSubError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/JSON.html b/JWT/JSON.html
index 19058bc5..e51ef721 100644
--- a/JWT/JSON.html
+++ b/JWT/JSON.html
@@ -271,7 +271,7 @@
diff --git a/JWT/JWA.html b/JWT/JWA.html
index 5adf1eb5..fe7b1ec8 100644
--- a/JWT/JWA.html
+++ b/JWT/JWA.html
@@ -79,7 +79,7 @@
Defined in:
lib/jwt/jwa.rb,
- lib/jwt/jwa/ps.rb, lib/jwt/jwa/rsa.rb, lib/jwt/jwa/hmac.rb, lib/jwt/jwa/none.rb, lib/jwt/jwa/ecdsa.rb, lib/jwt/jwa/compat.rb, lib/jwt/jwa/wrapper.rb, lib/jwt/jwa/unsupported.rb, lib/jwt/jwa/signing_algorithm.rb
+ lib/jwt/jwa/ps.rb, lib/jwt/jwa/rsa.rb, lib/jwt/jwa/hmac.rb, lib/jwt/jwa/none.rb, lib/jwt/jwa/ecdsa.rb, lib/jwt/jwa/unsupported.rb, lib/jwt/jwa/signing_algorithm.rb
@@ -100,11 +100,11 @@ Overview
- Modules: Compat , SigningAlgorithm , Unsupported
+ Modules: SigningAlgorithm , Unsupported
- Classes: Ecdsa , Hmac , None , Ps , Rsa , Wrapper
+ Classes: Ecdsa , Hmac , None , Ps , Rsa
@@ -235,12 +235,12 @@
+51
52
-53
-54
+53
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 52
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 51
def find ( algo )
algorithms . fetch ( algo . to_s . downcase , Unsupported )
@@ -265,12 +265,12 @@
+47
48
-49
-50
+49
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 48
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 47
def register_algorithm ( algo )
algorithms [ algo . alg . to_s . downcase ] = algo
@@ -301,6 +301,19 @@
@@ -308,27 +321,21 @@
+18
+19
20
21
22
23
-24
-25
-26
-27
-28
-29
+24
- # File 'lib/jwt/jwa.rb', line 20
+ # File 'lib/jwt/jwa.rb', line 18
def resolve ( algorithm )
return find ( algorithm ) if algorithm . is_a? ( String ) || algorithm . is_a? ( Symbol )
- unless algorithm . is_a? ( SigningAlgorithm )
- Deprecations . warning ( ' Custom algorithms are required to include JWT::JWA::SigningAlgorithm. Custom algorithms that do not include this module may stop working in the next major version of ruby-jwt. ' )
- return Wrapper . new ( algorithm )
- end
+ raise ArgumentError , ' Custom algorithms are required to include JWT::JWA::SigningAlgorithm ' unless algorithm . is_a? ( SigningAlgorithm )
algorithm
end
@@ -365,13 +372,13 @@
-32
-33
-34
-35
+27
+28
+29
+30
- # File 'lib/jwt/jwa.rb', line 32
+ # File 'lib/jwt/jwa.rb', line 27
def resolve_and_sort ( algorithms: , preferred_algorithm: )
algs = Array ( algorithms ) . map { | alg | JWA . resolve ( alg ) }
@@ -387,7 +394,7 @@
diff --git a/JWT/JWA/Compat.html b/JWT/JWA/Compat.html
deleted file mode 100644
index 05eca968..00000000
--- a/JWT/JWA/Compat.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-
- Module: JWT::JWA::Compat
-
- — Documentation by YARD 0.9.37
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: JWT::JWA::Compat
-
-
- Private
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Defined in:
- lib/jwt/jwa/compat.rb
-
-
-
-
-
Overview
-
-
- This module is part of a private API.
- You should avoid using this module if possible, as it may be removed or be changed in the future.
-
-
-
Provides backwards compatibility for algorithms
-
-
-
-
-
-
-
-
Defined Under Namespace
-
-
-
- Modules: ClassMethods
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/JWT/JWA/Compat/ClassMethods.html b/JWT/JWA/Compat/ClassMethods.html
deleted file mode 100644
index f02263ca..00000000
--- a/JWT/JWA/Compat/ClassMethods.html
+++ /dev/null
@@ -1,338 +0,0 @@
-
-
-
-
-
-
- Module: JWT::JWA::Compat::ClassMethods
-
- — Documentation by YARD 0.9.37
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: JWT::JWA::Compat::ClassMethods
-
-
- Private
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Defined in:
- lib/jwt/jwa/compat.rb
-
-
-
-
-
-
-
- This module is part of a private API.
- You should avoid using this module if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #from_algorithm (algorithm) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-10
-11
-12
-
-
- # File 'lib/jwt/jwa/compat.rb', line 10
-
-def from_algorithm ( algorithm )
- new ( algorithm )
-end
-
-
-
-
-
-
-
-
- #sign (algorithm, msg, key) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-14
-15
-16
-17
-18
-
-
- # File 'lib/jwt/jwa/compat.rb', line 14
-
-def sign ( algorithm , msg , key )
- Deprecations . warning ( ' Support for calling sign with positional arguments will be removed in future ruby-jwt versions ' )
-
- from_algorithm ( algorithm ) . sign ( data: msg , signing_key: key )
-end
-
-
-
-
-
-
-
-
- #verify (algorithm, key, signing_input, signature) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-20
-21
-22
-23
-24
-
-
- # File 'lib/jwt/jwa/compat.rb', line 20
-
-def verify ( algorithm , key , signing_input , signature )
- Deprecations . warning ( ' Support for calling verify with positional arguments will be removed in future ruby-jwt versions ' )
-
- from_algorithm ( algorithm ) . verify ( data: signing_input , signature: signature , verification_key: key )
-end
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/JWT/JWA/Ecdsa.html b/JWT/JWA/Ecdsa.html
index f8d0dce9..614ee9a3 100644
--- a/JWT/JWA/Ecdsa.html
+++ b/JWT/JWA/Ecdsa.html
@@ -539,7 +539,7 @@
diff --git a/JWT/JWA/Hmac.html b/JWT/JWA/Hmac.html
index ef0b3d9e..258ff99e 100644
--- a/JWT/JWA/Hmac.html
+++ b/JWT/JWA/Hmac.html
@@ -428,7 +428,7 @@
diff --git a/JWT/JWA/Hmac/SecurityUtils.html b/JWT/JWA/Hmac/SecurityUtils.html
index ac674daa..a63485aa 100644
--- a/JWT/JWA/Hmac/SecurityUtils.html
+++ b/JWT/JWA/Hmac/SecurityUtils.html
@@ -268,7 +268,7 @@
diff --git a/JWT/JWA/None.html b/JWT/JWA/None.html
index a8790557..79e4d4a8 100644
--- a/JWT/JWA/None.html
+++ b/JWT/JWA/None.html
@@ -335,7 +335,7 @@
diff --git a/JWT/JWA/Ps.html b/JWT/JWA/Ps.html
index d102f7e6..ffad27e1 100644
--- a/JWT/JWA/Ps.html
+++ b/JWT/JWA/Ps.html
@@ -345,7 +345,7 @@
diff --git a/JWT/JWA/Rsa.html b/JWT/JWA/Rsa.html
index 2146848e..aa33dbfc 100644
--- a/JWT/JWA/Rsa.html
+++ b/JWT/JWA/Rsa.html
@@ -345,7 +345,7 @@
diff --git a/JWT/JWA/SigningAlgorithm.html b/JWT/JWA/SigningAlgorithm.html
index ab1f1f5a..c13b4d4f 100644
--- a/JWT/JWA/SigningAlgorithm.html
+++ b/JWT/JWA/SigningAlgorithm.html
@@ -76,7 +76,7 @@
Included in:
- Ecdsa , Hmac , None , Ps , Rsa , Unsupported , Wrapper
+ Ecdsa , Hmac , None , Ps , Rsa , Unsupported
@@ -325,12 +325,12 @@
+19
20
-21
-22
+21
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 20
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 19
def alg
@alg
@@ -362,12 +362,12 @@
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 26
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 25
def ( * )
{ ' alg ' => alg }
@@ -392,12 +392,12 @@
+41
42
-43
-44
+43
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 42
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 41
def raise_sign_error! ( message )
raise ( EncodeError . new ( message ) . tap { | e | e . set_backtrace ( caller ( 1 ) ) } )
@@ -422,12 +422,12 @@
+37
38
-39
-40
+39
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 38
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 37
def raise_verify_error! ( message )
raise ( DecodeError . new ( message ) . tap { | e | e . set_backtrace ( caller ( 1 ) ) } )
@@ -452,12 +452,12 @@
+29
30
-31
-32
+31
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 30
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 29
def sign ( * )
raise_sign_error! ( ' Algorithm implementation is missing the sign method ' )
@@ -504,12 +504,12 @@
+21
22
-23
-24
+23
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 22
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 21
def valid_alg? ( alg_to_check )
alg &. casecmp ( alg_to_check ) &. zero? == true
@@ -534,12 +534,12 @@
+33
34
-35
-36
+35
- # File 'lib/jwt/jwa/signing_algorithm.rb', line 34
+ # File 'lib/jwt/jwa/signing_algorithm.rb', line 33
def verify ( * )
raise_verify_error! ( ' Algorithm implementation is missing the verify method ' )
@@ -554,7 +554,7 @@
diff --git a/JWT/JWA/SigningAlgorithm/ClassMethods.html b/JWT/JWA/SigningAlgorithm/ClassMethods.html
index 54f2167b..1c179a3b 100644
--- a/JWT/JWA/SigningAlgorithm/ClassMethods.html
+++ b/JWT/JWA/SigningAlgorithm/ClassMethods.html
@@ -175,7 +175,7 @@
diff --git a/JWT/JWA/Unsupported.html b/JWT/JWA/Unsupported.html
index ed09f7e4..a4c9c6be 100644
--- a/JWT/JWA/Unsupported.html
+++ b/JWT/JWA/Unsupported.html
@@ -270,7 +270,7 @@
diff --git a/JWT/JWA/Wrapper.html b/JWT/JWA/Wrapper.html
deleted file mode 100644
index 28945c2a..00000000
--- a/JWT/JWA/Wrapper.html
+++ /dev/null
@@ -1,600 +0,0 @@
-
-
-
-
-
-
- Class: JWT::JWA::Wrapper
-
- — Documentation by YARD 0.9.37
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Class: JWT::JWA::Wrapper
-
-
- Private
-
-
-
-
- Inherits:
-
- Object
-
-
- Object
-
- JWT::JWA::Wrapper
-
-
- show all
-
-
-
-
-
-
-
-
-
-
- Includes:
- SigningAlgorithm
-
-
-
-
-
-
-
-
- Defined in:
- lib/jwt/jwa/wrapper.rb
-
-
-
-
-
-
-
- This class is part of a private API.
- You should avoid using this class if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Instance Method Summary
- collapse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Methods included from SigningAlgorithm
-
#raise_sign_error! , #raise_verify_error!
-
-
Constructor Details
-
-
-
-
- #initialize (algorithm) ⇒ Wrapper
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
Returns a new instance of Wrapper.
-
-
-
-
-
-
-
-
-
-
-
-
-
-9
-10
-11
-
-
- # File 'lib/jwt/jwa/wrapper.rb', line 9
-
-def initialize ( algorithm )
- @algorithm = algorithm
-end
-
-
-
-
-
-
-
-
-
-
Instance Method Details
-
-
-
-
-
- #alg ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-13
-14
-15
-16
-17
-
-
- # File 'lib/jwt/jwa/wrapper.rb', line 13
-
-def alg
- return @algorithm . alg if @algorithm . respond_to? ( :alg )
-
- super
-end
-
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-25
-26
-27
-28
-29
-
-
- # File 'lib/jwt/jwa/wrapper.rb', line 25
-
-def ( * args , ** kwargs )
- return @algorithm . ( * args , ** kwargs ) if @algorithm . respond_to? ( :header )
-
- super
-end
-
-
-
-
-
-
-
-
- #sign (*args, **kwargs) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-31
-32
-33
-34
-35
-
-
- # File 'lib/jwt/jwa/wrapper.rb', line 31
-
-def sign ( * args , ** kwargs )
- return @algorithm . sign ( * args , ** kwargs ) if @algorithm . respond_to? ( :sign )
-
- super
-end
-
-
-
-
-
-
-
-
- #valid_alg? (alg_to_check) ⇒ Boolean
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-19
-20
-21
-22
-23
-
-
- # File 'lib/jwt/jwa/wrapper.rb', line 19
-
-def valid_alg? ( alg_to_check )
- return @algorithm . valid_alg? ( alg_to_check ) if @algorithm . respond_to? ( :valid_alg? )
-
- super
-end
-
-
-
-
-
-
-
-
- #verify (*args, **kwargs) ⇒ Object
-
-
-
-
-
-
-
-
- This method is part of a private API.
- You should avoid using this method if possible, as it may be removed or be changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-37
-38
-39
-40
-41
-
-
- # File 'lib/jwt/jwa/wrapper.rb', line 37
-
-def verify ( * args , ** kwargs )
- return @algorithm . verify ( * args , ** kwargs ) if @algorithm . respond_to? ( :verify )
-
- super
-end
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/JWT/JWK.html b/JWT/JWK.html
index d1816194..5eb3d452 100644
--- a/JWT/JWK.html
+++ b/JWT/JWK.html
@@ -269,7 +269,7 @@
diff --git a/JWT/JWK/EC.html b/JWT/JWK/EC.html
index 803019bb..385155f2 100644
--- a/JWT/JWK/EC.html
+++ b/JWT/JWK/EC.html
@@ -963,7 +963,7 @@
diff --git a/JWT/JWK/HMAC.html b/JWT/JWK/HMAC.html
index bb54610f..cb1c1c43 100644
--- a/JWT/JWK/HMAC.html
+++ b/JWT/JWK/HMAC.html
@@ -883,7 +883,7 @@
diff --git a/JWT/JWK/KeyBase.html b/JWT/JWK/KeyBase.html
index bc6f5542..263c3387 100644
--- a/JWT/JWK/KeyBase.html
+++ b/JWT/JWK/KeyBase.html
@@ -554,7 +554,7 @@
diff --git a/JWT/JWK/KeyFinder.html b/JWT/JWK/KeyFinder.html
index 530e689f..f5214262 100644
--- a/JWT/JWK/KeyFinder.html
+++ b/JWT/JWK/KeyFinder.html
@@ -324,7 +324,7 @@
diff --git a/JWT/JWK/KidAsKeyDigest.html b/JWT/JWK/KidAsKeyDigest.html
index 373636ef..7630b45e 100644
--- a/JWT/JWK/KidAsKeyDigest.html
+++ b/JWT/JWK/KidAsKeyDigest.html
@@ -281,7 +281,7 @@
diff --git a/JWT/JWK/RSA.html b/JWT/JWK/RSA.html
index b840785f..c65254c2 100644
--- a/JWT/JWK/RSA.html
+++ b/JWT/JWK/RSA.html
@@ -1278,7 +1278,7 @@
diff --git a/JWT/JWK/Set.html b/JWT/JWK/Set.html
index 2b2e4f89..2dd32871 100644
--- a/JWT/JWK/Set.html
+++ b/JWT/JWK/Set.html
@@ -784,7 +784,7 @@
diff --git a/JWT/JWK/Thumbprint.html b/JWT/JWK/Thumbprint.html
index f23f02a1..2d869126 100644
--- a/JWT/JWK/Thumbprint.html
+++ b/JWT/JWK/Thumbprint.html
@@ -362,7 +362,7 @@
diff --git a/JWT/JWKError.html b/JWT/JWKError.html
index 9a4bbcf4..b819f124 100644
--- a/JWT/JWKError.html
+++ b/JWT/JWKError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/MissingRequiredClaim.html b/JWT/MissingRequiredClaim.html
index b2b8e6e0..19fe6ecd 100644
--- a/JWT/MissingRequiredClaim.html
+++ b/JWT/MissingRequiredClaim.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/RequiredDependencyError.html b/JWT/RequiredDependencyError.html
index 837589ed..5ef775ef 100644
--- a/JWT/RequiredDependencyError.html
+++ b/JWT/RequiredDependencyError.html
@@ -125,7 +125,7 @@ Overview
diff --git a/JWT/Token.html b/JWT/Token.html
index 1c434cd9..aa563c66 100644
--- a/JWT/Token.html
+++ b/JWT/Token.html
@@ -1487,7 +1487,7 @@
diff --git a/JWT/UnsupportedEcdsaCurve.html b/JWT/UnsupportedEcdsaCurve.html
index 40d55369..2f19afcf 100644
--- a/JWT/UnsupportedEcdsaCurve.html
+++ b/JWT/UnsupportedEcdsaCurve.html
@@ -141,7 +141,7 @@ Overview
diff --git a/JWT/VERSION.html b/JWT/VERSION.html
index 28da9eeb..526801ef 100644
--- a/JWT/VERSION.html
+++ b/JWT/VERSION.html
@@ -209,7 +209,7 @@
diff --git a/JWT/VerificationError.html b/JWT/VerificationError.html
index 3b24f60e..ff1b2f9f 100644
--- a/JWT/VerificationError.html
+++ b/JWT/VerificationError.html
@@ -133,7 +133,7 @@ Overview
diff --git a/JWT/X5cKeyFinder.html b/JWT/X5cKeyFinder.html
index 322c7c37..175935d2 100644
--- a/JWT/X5cKeyFinder.html
+++ b/JWT/X5cKeyFinder.html
@@ -303,7 +303,7 @@
diff --git a/_index.html b/_index.html
index 447b4e4e..8f4b39c0 100644
--- a/_index.html
+++ b/_index.html
@@ -136,13 +136,6 @@ Namespace Listing A-Z
-
- ClassMethods
-
- (JWT::JWA::Compat)
-
-
-
ClassMethods
@@ -150,13 +143,6 @@ Namespace Listing A-Z
-
- Compat
-
- (JWT::JWA)
-
-
-
Configuration
@@ -214,13 +200,6 @@ Namespace Listing A-Z
-
- Deprecations
-
- (JWT)
-
-
-
@@ -697,21 +676,6 @@ Namespace Listing A-Z
-
- W
-
-
-
- Wrapper
-
- (JWT::JWA)
-
-
-
-
-
-
-