Sha256: 2342043d0d9b87f347be689d02d18949fbad3bb1ab0bc8dcf573e9f95ccb0bf1
Contents?: true
Size: 418 Bytes
Versions: 6
Compression:
Stored size: 418 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 authorized_applications_url, :notice => "Application revoked." end end
Version data entries
6 entries across 6 versions & 1 rubygems