Module: Doorkeeper::OpenidConnect::TokenEndpointAuthMethodsSupportedMixin
- Included in:
- DiscoveryController, OAuth::DynamicRegistrationRequest
- Defined in:
- lib/doorkeeper/openid_connect/token_endpoint_auth_methods_supported_mixin.rb
Constant Summary collapse
- CLIENT_CREDENTIALS_METHOD_MAPPING =
{ from_basic: "client_secret_basic", from_params: "client_secret_post", }.freeze
Instance Method Summary collapse
Instance Method Details
#token_endpoint_auth_methods_supported ⇒ Object
11 12 13 14 15 |
# File 'lib/doorkeeper/openid_connect/token_endpoint_auth_methods_supported_mixin.rb', line 11 def token_endpoint_auth_methods_supported ::Doorkeeper.config.client_credentials_methods.filter_map do |method| CLIENT_CREDENTIALS_METHOD_MAPPING[method] end end |