class Google::Auth::IDTokens::StaticKeySource


A key source that contains a static set of keys.
#

def from_jwk jwk

Returns:
  • (StaticKeySource) -

Parameters:
  • jwk (Hash, String) -- The JWK specification.
def from_jwk jwk
  new KeyInfo.from_jwk jwk
end

def from_jwk_set jwk_set

Returns:
  • (StaticKeySource) -

Parameters:
  • jwk_set (Hash, String) -- The JWK Set specification.
def from_jwk_set jwk_set
  new KeyInfo.from_jwk_set jwk_set
end

def initialize keys

Parameters:
  • keys (Array) -- The keys
def initialize keys
  @current_keys = Array(keys)
end