class Doorkeeper::Config
def access_token_methods
def access_token_methods @access_token_methods ||= [:from_bearer_authorization, :from_access_token_param, :from_bearer_param] end
def client_credentials_methods
def client_credentials_methods @client_credentials ||= [:from_basic, :from_params] end
def confirm_application_owner?
def confirm_application_owner? !!@confirm_application_owner end
def default_scopes
def default_scopes @default_scopes ||= Doorkeeper::OAuth::Scopes.new end
def enable_application_owner?
def enable_application_owner? !!@enable_application_owner end
def optional_scopes
def optional_scopes @optional_scopes ||= Doorkeeper::OAuth::Scopes.new end
def orm_name
def orm_name [:mongoid2, :mongoid3].include?(orm) ? :mongoid : orm end
def refresh_token_enabled?
def refresh_token_enabled? !!@refresh_token_enabled end
def scopes
def scopes @scopes ||= default_scopes + optional_scopes end