Sha256: 2d84426a2bb5d9a1e583cad58cdeb4bfcc52d70df70820d2d824ed1b4d3c1f80
Contents?: true
Size: 486 Bytes
Versions: 13
Compression:
Stored size: 486 Bytes
Contents
class Doorkeeper::AuthorizedApplicationsController < Doorkeeper::ApplicationController before_filter :authenticate_resource_owner! def index @applications = Doorkeeper::Application.authorized_for(current_resource_owner) end def destroy Doorkeeper::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
Version data entries
13 entries across 13 versions & 1 rubygems