Method: Doorkeeper::Config::Builder#enforce_configured_scopes
- Defined in:
- lib/doorkeeper/config.rb
#enforce_configured_scopes ⇒ Object
Forbids creating/updating applications with arbitrary scopes that are not in configuration, i.e. ‘default_scopes` or `optional_scopes`. (disabled by default)
147 148 149 |
# File 'lib/doorkeeper/config.rb', line 147 def enforce_configured_scopes @config.instance_variable_set(:@enforce_configured_scopes, true) end |