Sha256: 9880af9ed98549bd74110dd9a31609c0ca5932d760d145b34b69bd6d6404aa53
Contents?: true
Size: 486 Bytes
Versions: 21
Compression:
Stored size: 486 Bytes
Contents
module Doorkeeper class AuthorizedApplicationsController < Doorkeeper::ApplicationController before_filter :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
21 entries across 21 versions & 1 rubygems