1.17.8 (latest) 1.17.7 1.16.2 1.15.1 1.14.0 1.13.1 1.12.2 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.

## Inherits

- [Google::Auth::IDTokens::HttpKeySource](https://docs.cloud.google.com/ruby/docs/reference/googleauth/latest/Google-Auth-IDTokens-HttpKeySource.md.txt)

## Methods

### #initialize

```ruby
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**

- ([X509CertHttpKeySource](https://docs.cloud.google.com/ruby/docs/reference/googleauth/latest/Google-Auth-IDTokens-X509CertHttpKeySource.md.txt)) --- a new instance of X509CertHttpKeySource