googleauth - Class Google::Auth::IDTokens::X509CertHttpKeySource (v1.12.0)

Reference documentation and code samples for the googleauth class Google::Auth::IDTokens::X509CertHttpKeySource.

A key source that downloads X509 certificates. Used by the legacy OAuth V1 public certs endpoint.

Methods

#initialize

def initialize(uri, algorithm: "RS256", retry_interval: nil) -> X509CertHttpKeySource

Create a key source that downloads X509 certificates.

Parameters
  • uri (String, URI) — The URI from which to download keys.
  • algorithm (String) (defaults to: "RS256") — The algorithm to use for signature verification. Defaults to "RS256".
  • retry_interval (Integer, nil) (defaults to: nil) — Override the retry interval in seconds. This is the minimum time between retries of failed key downloads.
Returns