Class: AppleID::JWKS
- Inherits:
-
JSON::JWK::Set
- Object
- JSON::JWK::Set
- AppleID::JWKS
- Defined in:
- lib/apple_id/jwks.rb
Class Method Summary collapse
Class Method Details
.cache ⇒ Object
6 7 8 |
# File 'lib/apple_id/jwks.rb', line 6 def self.cache JSON::JWK::Set::Fetcher.cache end |
.cache=(cache) ⇒ Object
3 4 5 |
# File 'lib/apple_id/jwks.rb', line 3 def self.cache=(cache) JSON::JWK::Set::Fetcher.cache = cache end |
.fetch(kid, options = {}) ⇒ Object
10 11 12 |
# File 'lib/apple_id/jwks.rb', line 10 def self.fetch(kid, = {}) JSON::JWK::Set::Fetcher.fetch JWKS_URI, kid: kid, ** end |