Class: RubySlime::JWTKit::APIVerifier
- Inherits:
-
GenericVerifier
- Object
- GenericVerifier
- RubySlime::JWTKit::APIVerifier
- Defined in:
- lib/ruby_slime/jwt_kit/api_verifier.rb
Instance Method Summary collapse
-
#initialize(fetch_secret:, handle_result:) ⇒ APIVerifier
constructor
A new instance of APIVerifier.
Methods inherited from GenericVerifier
Constructor Details
#initialize(fetch_secret:, handle_result:) ⇒ APIVerifier
Returns a new instance of APIVerifier.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/ruby_slime/jwt_kit/api_verifier.rb', line 6 def initialize( fetch_secret:, handle_result: ) super( fetch_secret: fetch_secret, handle_result: handle_result, **P_APIVariation.instance.then do |holder| { required_claims: holder.required_claims, payload_schema: holder.payload_schema, } end, ) end |