Module: JWT::Claims::VerificationMethods Private
- Included in:
- EncodedToken, Token
- Defined in:
- lib/jwt/claims/verification_methods.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
- #claim_errors(*options) ⇒ Object private
- #valid_claims?(*options) ⇒ Boolean private
- #verify_claims!(*options) ⇒ Object private
Instance Method Details
#claim_errors(*options) ⇒ 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.
11 12 13 |
# File 'lib/jwt/claims/verification_methods.rb', line 11 def claim_errors(*) Verifier.errors(self, *) end |
#valid_claims?(*options) ⇒ 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.
15 16 17 |
# File 'lib/jwt/claims/verification_methods.rb', line 15 def valid_claims?(*) claim_errors(*).empty? end |