Module: Doorkeeper::OAuth::Helpers::ScopeChecker
- Defined in:
- lib/doorkeeper/oauth/helpers/scope_checker.rb
Defined Under Namespace
Classes: Validator
Class Method Summary collapse
Class Method Details
.valid?(scope_str:, server_scopes:, app_scopes: nil, grant_type: nil) ⇒ Boolean
39 40 41 42 43 44 45 46 |
# File 'lib/doorkeeper/oauth/helpers/scope_checker.rb', line 39 def self.valid?(scope_str:, server_scopes:, app_scopes: nil, grant_type: nil) Validator.new( scope_str, server_scopes, app_scopes, grant_type, ).valid? end |