Class: Clerk::Resources::JWKS
- Inherits:
-
Object
- Object
- Clerk::Resources::JWKS
- Extended by:
- Forwardable
- Defined in:
- lib/clerk/resources/jwks.rb
Instance Method Summary collapse
- #all(timeout: 5) ⇒ Object
-
#initialize(client) ⇒ JWKS
constructor
A new instance of JWKS.
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 |