Sha256: 62be32a16222022ba72f5e92a7d1d540578ada6376f8d1f063ae3547c85afe8b
Contents?: true
Size: 486 Bytes
Versions: 16
Compression:
Stored size: 486 Bytes
Contents
module Doorkeeper class AuthorizedApplicationsController < Doorkeeper::ApplicationController before_action :authenticate_resource_owner! def index @applications = Application.authorized_for(current_resource_owner) end def destroy AccessToken.revoke_all_for params[:id], current_resource_owner redirect_to oauth_authorized_applications_url, notice: I18n.t(:notice, scope: [:doorkeeper, :flash, :authorized_applications, :destroy]) end end end
Version data entries
16 entries across 16 versions & 1 rubygems