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

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

A key source that aggregates other key sources. This means it will aggregate the keys provided by its constituent sources. Additionally, when asked to refresh, it will refresh all its constituent sources.

Inherits

  • Object

Methods

#current_keys

def current_keys() -> Array<KeyInfo>

Return the current keys, without attempting to refresh.

Returns

#initialize

def initialize(sources) -> AggregateKeySource

Create a key source that aggregates other key sources.

Parameter
  • sources (Array<key source>) — The key sources to aggregate.
Returns

#refresh_keys

def refresh_keys() -> Array<KeyInfo>

Attempt to refresh keys and return the new keys.

Returns
Raises