Class: Clerk::Resources::JWKS

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/clerk/resources/jwks.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ JWKS

Returns a new instance of JWKS.



9
10
11
# File 'lib/clerk/resources/jwks.rb', line 9

def initialize(client)
  @client = client
end

Instance Method Details

#all(timeout: 5) ⇒ Object



13
14
15
# File 'lib/clerk/resources/jwks.rb', line 13

def all(timeout: 5)
  @client.request(:get, "jwks", timeout: timeout)
end