Class: OIDCProvider::UserInfosController

Inherits:
ApplicationController show all
Defined in:
app/controllers/oidc_provider/user_infos_controller.rb

Instance Method Summary collapse

Methods included from Concerns::Authentication

#current_account, #current_token, #require_access_token, #require_authentication

Instance Method Details

#showObject



5
6
7
# File 'app/controllers/oidc_provider/user_infos_controller.rb', line 5

def show
  render json: AccountToUserInfo.new.(current_token.authorization., current_token.authorization.scopes)
end