class Google::Auth::IDTokens::AggregateKeySource


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

def current_keys

Returns:
  • (Array) -
def current_keys
  @sources.flat_map(&:current_keys)
end

def initialize sources

Parameters:
  • sources (Array) -- The key sources to aggregate.
def initialize sources
  @sources = Array(sources)
end

def refresh_keys

Raises:
  • (KeySourceError) - if key retrieval failed.

Returns:
  • (Array) -
def refresh_keys
  @sources.flat_map(&:refresh_keys)
end