module Doorkeeper::OAuth::Helpers::ScopeChecker

Public Class Methods

match?(scope_str, server_scopes, application_scopes = nil) click to toggle source
# File lib/doorkeeper/oauth/helpers/scope_checker.rb, line 39
def self.match?(scope_str, server_scopes, application_scopes = nil)
  Validator.new(scope_str, server_scopes, application_scopes).match?
end
valid?(scope_str, server_scopes, application_scopes = nil) click to toggle source
# File lib/doorkeeper/oauth/helpers/scope_checker.rb, line 35
def self.valid?(scope_str, server_scopes, application_scopes = nil)
  Validator.new(scope_str, server_scopes, application_scopes).valid?
end