Class: JWT::JWK::KidAsKeyDigest Private
- Inherits:
-
Object
- Object
- JWT::JWK::KidAsKeyDigest
- Defined in:
- lib/jwt/jwk/kid_as_key_digest.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
- #generate ⇒ Object private
-
#initialize(jwk) ⇒ KidAsKeyDigest
constructor
private
A new instance of KidAsKeyDigest.
Constructor Details
#initialize(jwk) ⇒ KidAsKeyDigest
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 KidAsKeyDigest.
7 8 9 |
# File 'lib/jwt/jwk/kid_as_key_digest.rb', line 7 def initialize(jwk) @jwk = jwk end |
Instance Method Details
#generate ⇒ 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/jwk/kid_as_key_digest.rb', line 11 def generate @jwk.key_digest end |