lib/rodauth/features/oauth_token_management.rb in rodauth-oauth-0.10.2 vs lib/rodauth/features/oauth_token_management.rb in rodauth-oauth-0.10.3
- old
+ new
@@ -1,11 +1,13 @@
# frozen_string_literal: true
+require "rodauth/oauth/refinements"
+
module Rodauth
Feature.define(:oauth_token_management, :OauthTokenManagement) do
using RegexpExtensions
- depends :oauth_management_base
+ depends :oauth_management_base, :oauth_token_revocation
view "oauth_tokens", "My Oauth Tokens", "oauth_tokens"
button "Revoke", "oauth_token_revoke"