Class: JWT::JWK::KidAsKeyDigest
- Inherits:
-
Object
- Object
- JWT::JWK::KidAsKeyDigest
- Defined in:
- lib/jwt/jwk/kid_as_key_digest.rb
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(jwk) ⇒ KidAsKeyDigest
constructor
A new instance of KidAsKeyDigest.
Constructor Details
#initialize(jwk) ⇒ KidAsKeyDigest
Returns a new instance of KidAsKeyDigest.
6 7 8 |
# File 'lib/jwt/jwk/kid_as_key_digest.rb', line 6 def initialize(jwk) @jwk = jwk end |
Instance Method Details
#generate ⇒ Object
10 11 12 |
# File 'lib/jwt/jwk/kid_as_key_digest.rb', line 10 def generate @jwk.key_digest end |