Class: Google::Auth::IDTokens::X509CertHttpKeySource
- Inherits:
-
HttpKeySource
- Object
- HttpKeySource
- Google::Auth::IDTokens::X509CertHttpKeySource
- Defined in:
- lib/googleauth/id_tokens/key_sources.rb
Overview
A key source that downloads X509 certificates. Used by the legacy OAuth V1 public certs endpoint.
Constant Summary
Constants inherited from HttpKeySource
HttpKeySource::DEFAULT_RETRY_INTERVAL
Instance Attribute Summary
Attributes inherited from HttpKeySource
Instance Method Summary collapse
-
#initialize(uri, algorithm: "RS256", retry_interval: nil) ⇒ X509CertHttpKeySource
constructor
Create a key source that downloads X509 certificates.
Methods inherited from HttpKeySource
Constructor Details
#initialize(uri, algorithm: "RS256", retry_interval: nil) ⇒ X509CertHttpKeySource
Create a key source that downloads X509 certificates.
306 307 308 309 |
# File 'lib/googleauth/id_tokens/key_sources.rb', line 306 def initialize uri, algorithm: "RS256", retry_interval: nil super uri, retry_interval: retry_interval @algorithm = algorithm end |