class Google::Auth::IDTokens::JwkHttpKeySource
A key source that downloads a JWK set.
Public Class Methods
Source
# File lib/googleauth/id_tokens/key_sources.rb, line 335 def initialize uri, retry_interval: nil super uri, retry_interval: retry_interval end
Create a key source that downloads a JWT Set.
@param uri [String,URI] The URI from which to download keys. @param retry_interval [Integer,nil] Override the retry interval in
seconds. This is the minimum time between retries of failed key downloads.
Calls superclass method
Google::Auth::IDTokens::HttpKeySource::new
Protected Instance Methods
Source
# File lib/googleauth/id_tokens/key_sources.rb, line 341 def interpret_json data KeyInfo.from_jwk_set data end