Class: Masks::OpenID::TokensController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/masks/openid/tokens_controller.rb

Instance Method Summary collapse

Methods included from Controller

#current_access, #current_actor, #current_mask, #masked_session

Instance Method Details

#createObject



15
16
17
# File 'app/controllers/masks/openid/tokens_controller.rb', line 15

def create
  authorize approved: params[:approve]
end

#newObject



11
12
13
# File 'app/controllers/masks/openid/tokens_controller.rb', line 11

def new
  authorize
end