lib/rodauth/features/oauth_jwt.rb in rodauth-oauth-0.9.1 vs lib/rodauth/features/oauth_jwt.rb in rodauth-oauth-0.9.2

- old
+ new

@@ -1,7 +1,8 @@ # frozen-string-literal: true +require "rodauth/oauth/version" require "rodauth/oauth/ttl_store" module Rodauth Feature.define(:oauth_jwt, :OauthJwt) do depends :oauth @@ -35,9 +36,12 @@ auth_value_method :oauth_applications_request_object_signing_alg_column, :request_object_signing_alg auth_value_method :oauth_applications_request_object_encryption_alg_column, :request_object_encryption_alg auth_value_method :oauth_applications_request_object_encryption_enc_column, :request_object_encryption_enc translatable_method :oauth_applications_jwt_public_key_label, "Public key" + + auth_value_method :oauth_application_jwt_public_key_param, "jwt_public_key" + auth_value_method :oauth_application_jwks_param, "jwks" auth_value_method :oauth_jwt_keys, {} auth_value_method :oauth_jwt_key, nil auth_value_method :oauth_jwt_public_key, nil auth_value_method :oauth_jwt_algorithm, "RS256"