Class: OIDCProvider::DiscoveryController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- OIDCProvider::DiscoveryController
- Defined in:
- app/controllers/oidc_provider/discovery_controller.rb
Instance Method Summary collapse
Methods included from Concerns::Authentication
#current_account, #current_token, #require_access_token, #require_authentication
Instance Method Details
#show ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'app/controllers/oidc_provider/discovery_controller.rb', line 3 def show case params[:id] when 'webfinger' webfinger_discovery when 'openid-configuration' openid_configuration else render plain: "Not found", status: :not_found end end |