SYMBOL INDEX (1168 symbols across 159 files) FILE: app/controllers/doorkeeper/application_controller.rb type Doorkeeper (line 3) | module Doorkeeper class ApplicationController (line 4) | class ApplicationController < FILE: app/controllers/doorkeeper/application_metal_controller.rb type Doorkeeper (line 3) | module Doorkeeper class ApplicationMetalController (line 4) | class ApplicationMetalController < FILE: app/controllers/doorkeeper/applications_controller.rb type Doorkeeper (line 3) | module Doorkeeper class ApplicationsController (line 4) | class ApplicationsController < Doorkeeper::ApplicationController method index (line 10) | def index method show (line 19) | def show method new (line 26) | def new method create (line 30) | def create method edit (line 53) | def edit; end method update (line 55) | def update method destroy (line 75) | def destroy method set_application (line 86) | def set_application method application_params (line 90) | def application_params method i18n_scope (line 95) | def i18n_scope(action) FILE: app/controllers/doorkeeper/authorizations_controller.rb type Doorkeeper (line 3) | module Doorkeeper class AuthorizationsController (line 4) | class AuthorizationsController < Doorkeeper::ApplicationController method new (line 7) | def new method create (line 15) | def create method destroy (line 19) | def destroy method render_success (line 33) | def render_success method render_error (line 43) | def render_error method can_authorize_response? (line 55) | def can_authorize_response? method matching_token? (line 61) | def matching_token? method redirect_or_render (line 71) | def redirect_or_render(auth) method pre_auth (line 95) | def pre_auth method pre_auth_params (line 103) | def pre_auth_params method pre_auth_param_fields (line 107) | def pre_auth_param_fields method custom_access_token_attributes (line 120) | def custom_access_token_attributes method authorization (line 124) | def authorization method strategy (line 128) | def strategy method authorize_response (line 132) | def authorize_response method build_context (line 152) | def build_context(**attributes) method before_successful_authorization (line 156) | def before_successful_authorization(context = nil) method after_successful_authorization (line 160) | def after_successful_authorization(context) FILE: app/controllers/doorkeeper/authorized_applications_controller.rb type Doorkeeper (line 3) | module Doorkeeper class AuthorizedApplicationsController (line 4) | class AuthorizedApplicationsController < Doorkeeper::ApplicationContro... method index (line 7) | def index method destroy (line 16) | def destroy FILE: app/controllers/doorkeeper/token_info_controller.rb type Doorkeeper (line 3) | module Doorkeeper class TokenInfoController (line 4) | class TokenInfoController < Doorkeeper::ApplicationMetalController method show (line 5) | def show method doorkeeper_token_to_json (line 17) | def doorkeeper_token_to_json method error_to_json (line 21) | def error_to_json(error) FILE: app/controllers/doorkeeper/tokens_controller.rb type Doorkeeper (line 3) | module Doorkeeper class TokensController (line 4) | class TokensController < Doorkeeper::ApplicationMetalController method create (line 11) | def create method revoke (line 18) | def revoke method introspect (line 36) | def introspect method validate_presence_of_client (line 50) | def validate_presence_of_client method authorized? (line 100) | def authorized? method revoke_token (line 112) | def revoke_token method token (line 119) | def token method revocable_token (line 123) | def revocable_token method refresh_token (line 134) | def refresh_token method access_token (line 141) | def access_token method strategy (line 148) | def strategy method authorize_response (line 152) | def authorize_response method build_context (line 162) | def build_context(**attributes) method before_successful_authorization (line 166) | def before_successful_authorization(context = nil) method after_successful_authorization (line 170) | def after_successful_authorization(context) method revocation_error_response (line 174) | def revocation_error_response FILE: app/helpers/doorkeeper/dashboard_helper.rb type Doorkeeper (line 3) | module Doorkeeper type DashboardHelper (line 4) | module DashboardHelper function doorkeeper_errors_for (line 5) | def doorkeeper_errors_for(object, method) function doorkeeper_submit_path (line 17) | def doorkeeper_submit_path(application) FILE: lib/doorkeeper.rb type Doorkeeper (line 8) | module Doorkeeper type Helpers (line 23) | module Helpers type Request (line 27) | module Request type RevocableTokens (line 37) | module RevocableTokens type OAuth (line 42) | module OAuth type Authorization (line 65) | module Authorization class Client (line 72) | class Client type ClientCredentials (line 76) | module ClientCredentials type Helpers (line 82) | module Helpers type Hooks (line 88) | module Hooks type Models (line 93) | module Models type Concerns (line 105) | module Concerns type Orm (line 110) | module Orm type Rails (line 114) | module Rails type SecretStoring (line 119) | module SecretStoring function configure (line 129) | def configure(&block) function configuration (line 137) | def configuration function configured? (line 141) | def configured? function setup (line 147) | def setup function setup_filter_parameters (line 157) | def setup_filter_parameters function setup_orm_adapter (line 167) | def setup_orm_adapter function run_orm_hooks (line 179) | def run_orm_hooks function setup_orm_models (line 193) | def setup_orm_models function setup_application_owner (line 197) | def setup_application_owner function authenticate (line 201) | def authenticate(request, methods = Doorkeeper.config.access_token_met... function gem_version (line 205) | def gem_version FILE: lib/doorkeeper/config.rb type Doorkeeper (line 7) | module Doorkeeper class Config (line 13) | class Config class Builder (line 15) | class Builder < AbstractBuilder method enable_application_owner (line 25) | def enable_application_owner(opts = {}) method confirm_application_owner (line 30) | def confirm_application_owner method enable_dynamic_scopes (line 39) | def enable_dynamic_scopes(opts = {}) method default_scopes (line 48) | def default_scopes(*scopes) method optional_scopes (line 56) | def optional_scopes(*scopes) method scopes_by_grant_type (line 63) | def scopes_by_grant_type(hash = {}) method client_credentials (line 73) | def client_credentials(*methods) method access_token_methods (line 83) | def access_token_methods(*methods) method use_refresh_token (line 88) | def use_refresh_token(enabled = true, &block) method reuse_access_token (line 98) | def reuse_access_token method enable_multiple_database_roles (line 114) | def enable_multiple_database_roles method use_url_path_for_native_authorization (line 123) | def use_url_path_for_native_authorization method revoke_previous_client_credentials_token (line 131) | def revoke_previous_client_credentials_token method revoke_previous_authorization_code_token (line 138) | def revoke_previous_authorization_code_token method force_pkce (line 144) | def force_pkce method api_only (line 150) | def api_only method use_polymorphic_resource_owner (line 156) | def use_polymorphic_resource_owner method enforce_configured_scopes (line 163) | def enforce_configured_scopes method enforce_content_type (line 169) | def enforce_content_type method hash_token_secrets (line 181) | def hash_token_secrets(using: nil, fallback: nil) method hash_application_secrets (line 196) | def hash_application_secrets(using: nil, fallback: nil) method configure_secrets_for (line 206) | def configure_secrets_for(type, using:, fallback:) method clear_cache! (line 460) | def clear_cache! method access_token_model (line 474) | def access_token_model method access_grant_model (line 482) | def access_grant_model method application_model (line 490) | def application_model method api_only (line 494) | def api_only method enforce_content_type (line 498) | def enforce_content_type method refresh_token_enabled? (line 502) | def refresh_token_enabled? method resolve_controller (line 510) | def resolve_controller(name) method revoke_previous_client_credentials_token? (line 521) | def revoke_previous_client_credentials_token? method revoke_previous_authorization_code_token? (line 525) | def revoke_previous_authorization_code_token? method force_pkce? (line 529) | def force_pkce? method enforce_configured_scopes? (line 533) | def enforce_configured_scopes? method enable_application_owner? (line 537) | def enable_application_owner? method enable_dynamic_scopes? (line 541) | def enable_dynamic_scopes? method dynamic_scopes_delimiter (line 545) | def dynamic_scopes_delimiter method polymorphic_resource_owner? (line 549) | def polymorphic_resource_owner? method confirm_application_owner? (line 553) | def confirm_application_owner? method raise_on_errors? (line 557) | def raise_on_errors? method redirect_on_errors? (line 561) | def redirect_on_errors? method application_secret_hashed? (line 565) | def application_secret_hashed? method token_secret_strategy (line 569) | def token_secret_strategy method application_secret_strategy (line 573) | def application_secret_strategy method default_scopes (line 577) | def default_scopes method optional_scopes (line 581) | def optional_scopes method scopes (line 585) | def scopes method scopes_by_grant_type (line 589) | def scopes_by_grant_type method pkce_code_challenge_methods_supported (line 593) | def pkce_code_challenge_methods_supported method client_credentials_methods (line 599) | def client_credentials_methods method access_token_methods (line 603) | def access_token_methods method enabled_grant_flows (line 611) | def enabled_grant_flows method authorization_response_flows (line 615) | def authorization_response_flows method token_grant_flows (line 620) | def token_grant_flows method authorization_response_types (line 624) | def authorization_response_types method token_grant_types (line 628) | def token_grant_types method deprecated_token_grant_types_resolver (line 633) | def deprecated_token_grant_types_resolver method native_authorization_code_route (line 637) | def native_authorization_code_route method deprecated_authorization_flows (line 643) | def deprecated_authorization_flows method calculate_authorization_response_types (line 660) | def calculate_authorization_response_types method calculate_token_grant_types (line 665) | def calculate_token_grant_types method calculate_grant_flows (line 675) | def calculate_grant_flows method allow_blank_redirect_uri? (line 689) | def allow_blank_redirect_uri?(application = nil) method allow_grant_flow_for_client? (line 697) | def allow_grant_flow_for_client?(grant_flow, client) method option_defined? (line 703) | def option_defined?(name) method option_set? (line 710) | def option_set?(instance_key) method calculate_token_grant_flows (line 715) | def calculate_token_grant_flows FILE: lib/doorkeeper/config/abstract_builder.rb type Doorkeeper (line 3) | module Doorkeeper class Config (line 4) | class Config class AbstractBuilder (line 8) | class AbstractBuilder method initialize (line 13) | def initialize(config = Config.new, &block) method build (line 22) | def build FILE: lib/doorkeeper/config/option.rb type Doorkeeper (line 3) | module Doorkeeper class Config (line 4) | class Config type Option (line 6) | module Option function option (line 35) | def option(name, options = {}) function extended (line 74) | def self.extended(base) FILE: lib/doorkeeper/config/validations.rb type Doorkeeper (line 3) | module Doorkeeper class Config (line 4) | class Config type Validations (line 7) | module Validations function validate! (line 10) | def validate! function validate_reuse_access_token_value (line 23) | def validate_reuse_access_token_value function validate_secret_strategies (line 37) | def validate_secret_strategies function validate_token_reuse_limit (line 42) | def validate_token_reuse_limit function validate_pkce_code_challenge_methods (line 53) | def validate_pkce_code_challenge_methods FILE: lib/doorkeeper/engine.rb type Doorkeeper (line 3) | module Doorkeeper class Engine (line 4) | class Engine < Rails::Engine FILE: lib/doorkeeper/errors.rb type Doorkeeper (line 3) | module Doorkeeper type Errors (line 4) | module Errors class DoorkeeperError (line 5) | class DoorkeeperError < StandardError method type (line 6) | def type method translate_options (line 10) | def self.translate_options class InvalidGrantReuse (line 15) | class InvalidGrantReuse < DoorkeeperError method type (line 16) | def type class InvalidTokenStrategy (line 21) | class InvalidTokenStrategy < DoorkeeperError method type (line 22) | def type class MissingRequiredParameter (line 27) | class MissingRequiredParameter < DoorkeeperError method initialize (line 30) | def initialize(missing_param) method type (line 35) | def type class BaseResponseError (line 40) | class BaseResponseError < DoorkeeperError method initialize (line 43) | def initialize(response) method name_for_response (line 47) | def self.name_for_response class InvalidCodeChallengeMethod (line 52) | class InvalidCodeChallengeMethod < BaseResponseError method translate_options (line 53) | def self.translate_options FILE: lib/doorkeeper/grant_flow.rb type Doorkeeper (line 7) | module Doorkeeper type GrantFlow (line 8) | module GrantFlow FILE: lib/doorkeeper/grant_flow/fallback_flow.rb type Doorkeeper (line 3) | module Doorkeeper type GrantFlow (line 4) | module GrantFlow class FallbackFlow (line 5) | class FallbackFlow < Flow method handles_grant_type? (line 6) | def handles_grant_type? method handles_response_type? (line 10) | def handles_response_type? FILE: lib/doorkeeper/grant_flow/flow.rb type Doorkeeper (line 3) | module Doorkeeper type GrantFlow (line 4) | module GrantFlow class Flow (line 5) | class Flow method initialize (line 10) | def initialize(name, **options) method handles_grant_type? (line 19) | def handles_grant_type? method handles_response_type? (line 23) | def handles_response_type? method matches_grant_type? (line 27) | def matches_grant_type?(value) method matches_response_type? (line 31) | def matches_response_type?(value) method default_response_mode (line 35) | def default_response_mode method matches_response_mode? (line 39) | def matches_response_mode?(value) FILE: lib/doorkeeper/grant_flow/registry.rb type Doorkeeper (line 3) | module Doorkeeper type GrantFlow (line 4) | module GrantFlow type Registry (line 5) | module Registry function register (line 15) | def register(name_or_flow, **options) function register_alias (line 36) | def register_alias(alias_name, **options) function expand_alias (line 40) | def expand_alias(alias_name) function get (line 45) | def get(name) FILE: lib/doorkeeper/grape/authorization_decorator.rb type Doorkeeper (line 3) | module Doorkeeper type Grape (line 4) | module Grape class AuthorizationDecorator (line 5) | class AuthorizationDecorator < SimpleDelegator method parameters (line 6) | def parameters method authorization (line 10) | def authorization FILE: lib/doorkeeper/grape/helpers.rb type Doorkeeper (line 5) | module Doorkeeper type Grape (line 6) | module Grape type Helpers (line 9) | module Helpers function doorkeeper_authorize! (line 15) | def doorkeeper_authorize!(*scopes) function doorkeeper_render_error_with (line 28) | def doorkeeper_render_error_with(error) function endpoint (line 35) | def endpoint function doorkeeper_token (line 39) | def doorkeeper_token function decorated_request (line 46) | def decorated_request function error_status_codes (line 50) | def error_status_codes FILE: lib/doorkeeper/helpers/controller.rb type Doorkeeper (line 5) | module Doorkeeper type Helpers (line 6) | module Helpers type Controller (line 9) | module Controller function included (line 10) | def self.included(base) function authenticate_resource_owner! (line 17) | def authenticate_resource_owner! function current_resource_owner (line 22) | def current_resource_owner function resource_owner_from_credentials (line 30) | def resource_owner_from_credentials function authenticate_admin! (line 35) | def authenticate_admin! function server (line 39) | def server function doorkeeper_token (line 44) | def doorkeeper_token function config_methods (line 50) | def config_methods function get_error_response_from_exception (line 54) | def get_error_response_from_exception(exception) function handle_token_exception (line 68) | def handle_token_exception(exception) function skip_authorization? (line 75) | def skip_authorization? function enforce_content_type (line 82) | def enforce_content_type function x_www_form_urlencoded? (line 88) | def x_www_form_urlencoded? FILE: lib/doorkeeper/models/access_grant_mixin.rb type Doorkeeper (line 3) | module Doorkeeper type AccessGrantMixin (line 4) | module AccessGrantMixin function uses_pkce? (line 19) | def uses_pkce? type ClassMethods (line 23) | module ClassMethods function by_token (line 32) | def by_token(token) function revoke_all_for (line 44) | def revoke_all_for(application_id, resource_owner, clock = Time) function generate_code_challenge (line 95) | def generate_code_challenge(code_verifier) function pkce_supported? (line 99) | def pkce_supported? function secret_strategy (line 109) | def secret_strategy function fallback_secret_strategy (line 119) | def fallback_secret_strategy FILE: lib/doorkeeper/models/access_token_mixin.rb type Doorkeeper (line 3) | module Doorkeeper type AccessTokenMixin (line 4) | module AccessTokenMixin type ClassMethods (line 19) | module ClassMethods function by_token (line 29) | def by_token(token) function by_refresh_token (line 42) | def by_refresh_token(refresh_token) function by_previous_refresh_token (line 57) | def by_previous_refresh_token(previous_refresh_token) function revoke_all_for (line 69) | def revoke_all_for(application_id, resource_owner, clock = Time) function matching_token_for (line 97) | def matching_token_for(application, resource_owner, scopes, custom... function find_access_token_in_batches (line 106) | def find_access_token_in_batches(relation, **args, &block) function find_matching_token (line 132) | def find_matching_token(relation, application, custom_attributes, ... function scopes_match? (line 164) | def scopes_match?(token_scopes, param_scopes, app_scopes) function custom_attributes_match? (line 189) | def custom_attributes_match?(token, custom_attributes) function find_or_create_for (line 219) | def find_or_create_for(application:, resource_owner:, scopes:, **t... function create_for (line 256) | def create_for(application:, resource_owner:, scopes:, **token_att... function authorized_tokens_for (line 282) | def authorized_tokens_for(application_id, resource_owner) function last_authorized_token_for (line 300) | def last_authorized_token_for(application_id, resource_owner) function secret_strategy (line 312) | def secret_strategy function fallback_secret_strategy (line 319) | def fallback_secret_strategy function extract_custom_attributes (line 330) | def extract_custom_attributes(attributes) function token_type (line 340) | def token_type function use_refresh_token? (line 344) | def use_refresh_token? function as_json (line 352) | def as_json(_options = {}) function custom_attributes (line 370) | def custom_attributes function same_credential? (line 381) | def same_credential?(access_token) function same_resource_owner? (line 393) | def same_resource_owner?(access_token) function acceptable? (line 408) | def acceptable?(scopes) function plaintext_refresh_token (line 414) | def plaintext_refresh_token function plaintext_token (line 428) | def plaintext_token function revoke_previous_refresh_token! (line 439) | def revoke_previous_refresh_token! function old_refresh_token (line 459) | def old_refresh_token function generate_refresh_token (line 467) | def generate_refresh_token function generate_token (line 482) | def generate_token function attributes_for_token_generator (line 495) | def attributes_for_token_generator function token_generator (line 513) | def token_generator FILE: lib/doorkeeper/models/application_mixin.rb type Doorkeeper (line 3) | module Doorkeeper type ApplicationMixin (line 4) | module ApplicationMixin type ClassMethods (line 13) | module ClassMethods function by_uid_and_secret (line 26) | def by_uid_and_secret(uid, secret) function by_uid (line 42) | def by_uid(uid) function secret_strategy (line 49) | def secret_strategy function fallback_secret_strategy (line 56) | def fallback_secret_strategy function redirect_uri= (line 67) | def redirect_uri=(uris) function secret_matches? (line 79) | def secret_matches?(input) FILE: lib/doorkeeper/models/concerns/accessible.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Accessible (line 5) | module Accessible function accessible? (line 10) | def accessible? FILE: lib/doorkeeper/models/concerns/expirable.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Expirable (line 5) | module Expirable function expired? (line 10) | def expired? function expires_in_seconds (line 18) | def expires_in_seconds function expires_at (line 31) | def expires_at FILE: lib/doorkeeper/models/concerns/expiration_time_sql_math.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type ExpirationTimeSqlMath (line 5) | module ExpirationTimeSqlMath class ExpirationTimeSqlGenerator (line 16) | class ExpirationTimeSqlGenerator method initialize (line 21) | def initialize(model) method generate_sql (line 25) | def generate_sql class MySqlExpirationTimeSqlGenerator (line 30) | class MySqlExpirationTimeSqlGenerator < ExpirationTimeSqlGenerator method generate_sql (line 31) | def generate_sql class SqlLiteExpirationTimeSqlGenerator (line 36) | class SqlLiteExpirationTimeSqlGenerator < ExpirationTimeSqlGenerator method generate_sql (line 37) | def generate_sql class SqlServerExpirationTimeSqlGenerator (line 42) | class SqlServerExpirationTimeSqlGenerator < ExpirationTimeSqlGener... method generate_sql (line 43) | def generate_sql class OracleExpirationTimeSqlGenerator (line 48) | class OracleExpirationTimeSqlGenerator < ExpirationTimeSqlGenerator method generate_sql (line 49) | def generate_sql class PostgresExpirationTimeSqlGenerator (line 54) | class PostgresExpirationTimeSqlGenerator < ExpirationTimeSqlGenerator method generate_sql (line 55) | def generate_sql type ClassMethods (line 72) | module ClassMethods function supports_expiration_time_math? (line 73) | def supports_expiration_time_math? function expiration_time_sql (line 78) | def expiration_time_sql function expiration_time_sql_expression (line 86) | def expiration_time_sql_expression function adapter_name (line 90) | def adapter_name FILE: lib/doorkeeper/models/concerns/orderable.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Orderable (line 5) | module Orderable type ClassMethods (line 8) | module ClassMethods function ordered_by (line 9) | def ordered_by(attribute, direction = :asc) FILE: lib/doorkeeper/models/concerns/ownership.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Ownership (line 5) | module Ownership function validate_owner? (line 13) | def validate_owner? FILE: lib/doorkeeper/models/concerns/polymorphic_resource_owner.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type PolymorphicResourceOwner (line 5) | module PolymorphicResourceOwner type ForAccessGrant (line 6) | module ForAccessGrant type ForAccessToken (line 18) | module ForAccessToken FILE: lib/doorkeeper/models/concerns/resource_ownerable.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type ResourceOwnerable (line 5) | module ResourceOwnerable type ClassMethods (line 8) | module ClassMethods function by_resource_owner (line 18) | def by_resource_owner(resource_owner) function resource_owner_id_for (line 37) | def resource_owner_id_for(resource_owner) FILE: lib/doorkeeper/models/concerns/reusable.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Reusable (line 5) | module Reusable function reusable? (line 10) | def reusable? FILE: lib/doorkeeper/models/concerns/revocable.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Revocable (line 5) | module Revocable function revoke (line 11) | def revoke(clock = Time) function revoked? (line 26) | def revoked? FILE: lib/doorkeeper/models/concerns/scopes.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Scopes (line 5) | module Scopes function scopes (line 6) | def scopes function scopes= (line 10) | def scopes=(value) function scopes_string (line 18) | def scopes_string function includes_scope? (line 22) | def includes_scope?(*required_scopes) FILE: lib/doorkeeper/models/concerns/secret_storable.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type SecretStorable (line 8) | module SecretStorable type ClassMethods (line 16) | module ClassMethods function find_by_plaintext_token (line 42) | def find_by_plaintext_token(attr, token) function find_by_fallback_token (line 61) | def find_by_fallback_token(attr, plain_secret) function upgrade_fallback_value (line 85) | def upgrade_fallback_value(instance, attr, plain_secret) function secret_strategy (line 93) | def secret_strategy function fallback_secret_strategy (line 100) | def fallback_secret_strategy FILE: lib/doorkeeper/models/concerns/write_to_primary.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 4) | module Models type Concerns (line 5) | module Concerns type WriteToPrimary (line 19) | module WriteToPrimary function with_primary_role (line 29) | def with_primary_role(&block) function should_use_primary_role? (line 43) | def should_use_primary_role? FILE: lib/doorkeeper/oauth.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth FILE: lib/doorkeeper/oauth/authorization/code.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type Authorization (line 5) | module Authorization class Code (line 6) | class Code method initialize (line 9) | def initialize(pre_auth, resource_owner) method issue_token! (line 14) | def issue_token! method oob_redirect (line 22) | def oob_redirect method access_grant? (line 26) | def access_grant? method authorization_code_expires_in (line 32) | def authorization_code_expires_in method access_grant_attributes (line 36) | def access_grant_attributes method custom_attributes (line 53) | def custom_attributes method pkce_attributes (line 59) | def pkce_attributes method pkce_supported? (line 70) | def pkce_supported? FILE: lib/doorkeeper/oauth/authorization/context.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type Authorization (line 5) | module Authorization class Context (line 6) | class Context method initialize (line 9) | def initialize(**attributes) FILE: lib/doorkeeper/oauth/authorization/token.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type Authorization (line 5) | module Authorization class Token (line 6) | class Token method build_context (line 10) | def build_context(pre_auth_or_oauth_client, grant_type, scopes, ... method access_token_expires_in (line 27) | def access_token_expires_in(configuration, context) method refresh_token_enabled? (line 38) | def refresh_token_enabled?(server, context) method initialize (line 47) | def initialize(pre_auth, resource_owner) method issue_token! (line 52) | def issue_token! method application (line 71) | def application method oob_redirect (line 77) | def oob_redirect method access_token? (line 85) | def access_token? method controller (line 91) | def controller FILE: lib/doorkeeper/oauth/authorization/uri_builder.rb type Doorkeeper (line 5) | module Doorkeeper type OAuth (line 6) | module OAuth type Authorization (line 7) | module Authorization class URIBuilder (line 8) | class URIBuilder method uri_with_query (line 10) | def uri_with_query(url, parameters = {}) method uri_with_fragment (line 17) | def uri_with_fragment(url, parameters = {}) method build_query (line 25) | def build_query(parameters = {}) FILE: lib/doorkeeper/oauth/authorization_code_request.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class AuthorizationCodeRequest (line 5) | class AuthorizationCodeRequest < BaseRequest method initialize (line 16) | def initialize(server, grant, client, parameters = {}) method before_successful_response (line 27) | def before_successful_response method resource_owner (line 50) | def resource_owner method pkce_supported? (line 58) | def pkce_supported? method validate_params (line 62) | def validate_params method validate_client (line 75) | def validate_client method validate_grant (line 79) | def validate_grant method validate_redirect_uri (line 85) | def validate_redirect_uri method validate_code_verifier (line 94) | def validate_code_verifier method generate_code_challenge (line 107) | def generate_code_challenge(code_verifier) method custom_token_attributes_with_data (line 111) | def custom_token_attributes_with_data method revoke_previous_tokens (line 119) | def revoke_previous_tokens(application, resource_owner) FILE: lib/doorkeeper/oauth/base_request.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class BaseRequest (line 5) | class BaseRequest method authorize (line 12) | def authorize method scopes (line 25) | def scopes method find_or_create_access_token (line 29) | def find_or_create_access_token(client, resource_owner, scopes, cu... method before_successful_response (line 45) | def before_successful_response method after_successful_response (line 49) | def after_successful_response method build_scopes (line 55) | def build_scopes FILE: lib/doorkeeper/oauth/base_response.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class BaseResponse (line 5) | class BaseResponse method body (line 6) | def body method description (line 10) | def description method headers (line 14) | def headers method redirectable? (line 18) | def redirectable? method redirect_uri (line 22) | def redirect_uri method status (line 26) | def status FILE: lib/doorkeeper/oauth/client.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class Client (line 5) | class Client method initialize (line 10) | def initialize(application) method find (line 14) | def self.find(uid, method = Doorkeeper.config.application_model.me... method authenticate (line 20) | def self.authenticate(credentials, method = Doorkeeper.config.appl... FILE: lib/doorkeeper/oauth/client/credentials.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class Client (line 5) | class Client method from_request (line 8) | def from_request(request, *credentials_methods) method from_params (line 16) | def from_params(request) method from_basic (line 20) | def from_basic(request) FILE: lib/doorkeeper/oauth/client_credentials/creator.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type ClientCredentials (line 5) | module ClientCredentials class Creator (line 6) | class Creator method call (line 7) | def call(client, scopes, attributes = {}) method with_revocation (line 28) | def with_revocation(existing_token:) method lookup_existing_token? (line 42) | def lookup_existing_token? method find_active_existing_token_for (line 47) | def find_active_existing_token_for(client, scopes, attributes) FILE: lib/doorkeeper/oauth/client_credentials/issuer.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type ClientCredentials (line 5) | module ClientCredentials class Issuer (line 6) | class Issuer method initialize (line 9) | def initialize(server, validator) method create (line 14) | def create(client, scopes, attributes = {}, creator = Creator.new) method create_token (line 28) | def create_token(client, scopes, attributes, creator) FILE: lib/doorkeeper/oauth/client_credentials/validator.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type ClientCredentials (line 5) | module ClientCredentials class Validator (line 6) | class Validator method initialize (line 14) | def initialize(server, request) method validate_client (line 24) | def validate_client method validate_client_supports_grant_flow (line 28) | def validate_client_supports_grant_flow method validate_scopes (line 37) | def validate_scopes FILE: lib/doorkeeper/oauth/client_credentials_request.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class ClientCredentialsRequest (line 5) | class ClientCredentialsRequest < BaseRequest method initialize (line 12) | def initialize(server, client, parameters = {}) method access_token (line 21) | def access_token method issuer (line 25) | def issuer method valid? (line 34) | def valid? method custom_token_attributes_with_data (line 38) | def custom_token_attributes_with_data FILE: lib/doorkeeper/oauth/code_request.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class CodeRequest (line 5) | class CodeRequest method initialize (line 8) | def initialize(pre_auth, resource_owner) method authorize (line 13) | def authorize method deny (line 19) | def deny FILE: lib/doorkeeper/oauth/code_response.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class CodeResponse (line 5) | class CodeResponse < BaseResponse method initialize (line 10) | def initialize(pre_auth, auth, options = {}) method redirectable? (line 16) | def redirectable? method issued_token (line 20) | def issued_token method body (line 24) | def body method redirect_uri (line 40) | def redirect_uri FILE: lib/doorkeeper/oauth/error.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth function description (line 6) | def description FILE: lib/doorkeeper/oauth/error_response.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class ErrorResponse (line 5) | class ErrorResponse < BaseResponse method from_request (line 10) | def self.from_request(request, attributes = {}) method error_name_for (line 22) | def self.error_name_for(error) method exception_class_for (line 26) | def self.exception_class_for(error) method initialize (line 36) | def initialize(attributes = {}) method body (line 43) | def body method status (line 51) | def status method redirectable? (line 59) | def redirectable? method redirect_uri (line 63) | def redirect_uri method headers (line 71) | def headers method raise_exception! (line 79) | def raise_exception! method realm (line 85) | def realm method exception_class (line 89) | def exception_class method authenticate_info (line 96) | def authenticate_info method sanitize_error_values (line 107) | def sanitize_error_values(string) FILE: lib/doorkeeper/oauth/forbidden_token_response.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class ForbiddenTokenResponse (line 5) | class ForbiddenTokenResponse < ErrorResponse method from_scopes (line 6) | def self.from_scopes(scopes, attributes = {}) method initialize (line 10) | def initialize(attributes = {}) method status (line 15) | def status method description (line 19) | def description method exception_class (line 26) | def exception_class FILE: lib/doorkeeper/oauth/helpers/scope_checker.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type Helpers (line 5) | module Helpers type ScopeChecker (line 6) | module ScopeChecker class Validator (line 7) | class Validator method initialize (line 10) | def initialize(scope_str, server_scopes, app_scopes, grant_type) method valid? (line 18) | def valid? method valid_scopes (line 27) | def valid_scopes(server_scopes, app_scopes) method permitted_to_grant_type? (line 31) | def permitted_to_grant_type? function valid? (line 39) | def self.valid?(scope_str:, server_scopes:, app_scopes: nil, gra... FILE: lib/doorkeeper/oauth/helpers/unique_token.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type Helpers (line 5) | module Helpers type UniqueToken (line 9) | module UniqueToken function generate (line 10) | def self.generate(options = {}) function default_generator_method (line 24) | def self.default_generator_method FILE: lib/doorkeeper/oauth/helpers/uri_checker.rb type Doorkeeper (line 5) | module Doorkeeper type OAuth (line 6) | module OAuth type Helpers (line 7) | module Helpers type URIChecker (line 8) | module URIChecker function valid? (line 9) | def self.valid?(url) function matches? (line 18) | def self.matches?(url, client_url) function loopback_uri? (line 41) | def self.loopback_uri?(uri) function valid_for_authorization? (line 47) | def self.valid_for_authorization?(url, client_url) function as_uri (line 51) | def self.as_uri(url) function query_matches? (line 55) | def self.query_matches?(query, client_query) function valid_scheme? (line 63) | def self.valid_scheme?(uri) function hypertext_scheme? (line 69) | def self.hypertext_scheme?(uri) function iff_host? (line 73) | def self.iff_host?(uri) function oob_uri? (line 77) | def self.oob_uri?(uri) FILE: lib/doorkeeper/oauth/hooks/context.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth type Hooks (line 5) | module Hooks class Context (line 6) | class Context method initialize (line 9) | def initialize(**attributes) method issued_token (line 15) | def issued_token FILE: lib/doorkeeper/oauth/invalid_request_response.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class InvalidRequestResponse (line 5) | class InvalidRequestResponse < ErrorResponse method from_request (line 8) | def self.from_request(request, attributes = {}) method initialize (line 19) | def initialize(attributes = {}) method status (line 25) | def status method description (line 29) | def description method exception_class (line 38) | def exception_class method redirectable? (line 42) | def redirectable? FILE: lib/doorkeeper/oauth/invalid_token_response.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class InvalidTokenResponse (line 5) | class InvalidTokenResponse < ErrorResponse method from_access_token (line 8) | def self.from_access_token(access_token, attributes = {}) method initialize (line 20) | def initialize(attributes = {}) method status (line 25) | def status method description (line 29) | def description method exception_class (line 39) | def exception_class method errors_mapping (line 45) | def errors_mapping FILE: lib/doorkeeper/oauth/nonstandard.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class NonStandard (line 5) | class NonStandard FILE: lib/doorkeeper/oauth/password_access_token_request.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class PasswordAccessTokenRequest (line 5) | class PasswordAccessTokenRequest < BaseRequest method initialize (line 15) | def initialize(server, client, credentials, resource_owner, parame... method before_successful_response (line 27) | def before_successful_response method validate_scopes (line 32) | def validate_scopes method validate_resource_owner (line 43) | def validate_resource_owner method validate_client (line 62) | def validate_client method validate_client_supports_grant_flow (line 70) | def validate_client_supports_grant_flow FILE: lib/doorkeeper/oauth/pre_authorization.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class PreAuthorization (line 5) | class PreAuthorization method initialize (line 25) | def initialize(server, parameters = {}, resource_owner = nil) method authorizable? (line 39) | def authorizable? method scopes (line 43) | def scopes method scope (line 47) | def scope method error_response (line 51) | def error_response method as_json (line 62) | def as_json(_options = nil) method form_post_response? (line 66) | def form_post_response? method build_scopes (line 74) | def build_scopes method validate_client_id (line 83) | def validate_client_id method validate_client (line 88) | def validate_client method validate_client_supports_grant_flow (line 93) | def validate_client_supports_grant_flow method validate_resource_owner_authorize_for_client (line 97) | def validate_resource_owner_authorize_for_client method validate_redirect_uri (line 102) | def validate_redirect_uri method validate_params (line 111) | def validate_params method validate_response_type (line 121) | def validate_response_type method validate_response_mode (line 130) | def validate_response_mode method validate_scopes (line 139) | def validate_scopes method validate_code_challenge (line 148) | def validate_code_challenge method validate_code_challenge_method (line 157) | def validate_code_challenge_method method response_on_fragment? (line 164) | def response_on_fragment? method grant_type (line 170) | def grant_type method pre_auth_hash (line 174) | def pre_auth_hash FILE: lib/doorkeeper/oauth/refresh_token_request.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class RefreshTokenRequest (line 5) | class RefreshTokenRequest < BaseRequest method initialize (line 17) | def initialize(server, refresh_token, credentials, parameters = {}) method load_client (line 29) | def load_client(credentials) method before_successful_response (line 33) | def before_successful_response method refresh_token_revoked_on_use? (line 53) | def refresh_token_revoked_on_use? method default_scopes (line 57) | def default_scopes method create_access_token (line 61) | def create_access_token method validate_token_presence (line 98) | def validate_token_presence method validate_token (line 104) | def validate_token method validate_client (line 108) | def validate_client method validate_client_match (line 116) | def validate_client_match method validate_scope (line 122) | def validate_scope method custom_token_attributes_with_data (line 133) | def custom_token_attributes_with_data FILE: lib/doorkeeper/oauth/scopes.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class Scopes (line 5) | class Scopes method from_string (line 11) | def self.from_string(string) method from_array (line 18) | def self.from_array(array) method initialize (line 26) | def initialize method exists? (line 30) | def exists?(scope) method add (line 42) | def add(*scopes) method all (line 47) | def all method to_s (line 51) | def to_s method scopes? (line 55) | def scopes?(scopes) method + (line 61) | def +(other) method <=> (line 65) | def <=>(other) method & (line 79) | def &(other) method allowed (line 90) | def allowed(other) method dynamic_scopes_enabled? (line 97) | def dynamic_scopes_enabled? method dynamic_scope_delimiter (line 101) | def dynamic_scope_delimiter method dynamic_scopes_present? (line 107) | def dynamic_scopes_present?(allowed, requested) method dynamic_scope_match? (line 111) | def dynamic_scope_match?(allowed, requested) method to_array (line 123) | def to_array(other) FILE: lib/doorkeeper/oauth/token.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class Token (line 5) | class Token method from_request (line 7) | def from_request(request, *methods) method authenticate (line 15) | def authenticate(request, *methods) method from_access_token_param (line 25) | def from_access_token_param(request) method from_bearer_param (line 29) | def from_bearer_param(request) method from_bearer_authorization (line 33) | def from_bearer_authorization(request) method from_basic_authorization (line 39) | def from_basic_authorization(request) method token_from_basic_header (line 47) | def token_from_basic_header(header, pattern) method decode_basic_credentials_token (line 52) | def decode_basic_credentials_token(encoded_header) method token_from_header (line 56) | def token_from_header(header, pattern) method match? (line 60) | def match?(header, pattern) FILE: lib/doorkeeper/oauth/token_introspection.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class TokenIntrospection (line 8) | class TokenIntrospection method initialize (line 11) | def initialize(server, token) method authorized? (line 16) | def authorized? method error_response (line 21) | def error_response method to_json (line 33) | def to_json(*) method authorize! (line 58) | def authorize! method authorize_using_basic_auth! (line 70) | def authorize_using_basic_auth! method authorize_using_bearer_token! (line 80) | def authorize_using_bearer_token! method authorized_client (line 94) | def authorized_client method authorized_token (line 99) | def authorized_token method success_response (line 104) | def success_response method failure_response (line 130) | def failure_response method active? (line 171) | def active? method valid_token? (line 180) | def valid_token? method valid_authorized_token? (line 184) | def valid_authorized_token? method authorized_token_matches_introspected? (line 191) | def authorized_token_matches_introspected? method token_introspection_allowed? (line 196) | def token_introspection_allowed?(auth_client: nil, auth_token: nil) method customize_response (line 209) | def customize_response(response) FILE: lib/doorkeeper/oauth/token_request.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class TokenRequest (line 5) | class TokenRequest method initialize (line 8) | def initialize(pre_auth, resource_owner) method authorize (line 13) | def authorize method deny (line 19) | def deny FILE: lib/doorkeeper/oauth/token_response.rb type Doorkeeper (line 3) | module Doorkeeper type OAuth (line 4) | module OAuth class TokenResponse (line 5) | class TokenResponse method initialize (line 10) | def initialize(token) method body (line 14) | def body method status (line 25) | def status method headers (line 29) | def headers FILE: lib/doorkeeper/orm/active_record.rb type Doorkeeper (line 3) | module Doorkeeper type Models (line 9) | module Models type Orm (line 21) | module Orm type ActiveRecord (line 22) | module ActiveRecord type Mixins (line 25) | module Mixins function run_hooks (line 31) | def self.run_hooks function initialize_configured_associations (line 35) | def self.initialize_configured_associations FILE: lib/doorkeeper/orm/active_record/access_grant.rb type Doorkeeper (line 5) | module Doorkeeper class AccessGrant (line 6) | class AccessGrant < ::ActiveRecord::Base FILE: lib/doorkeeper/orm/active_record/access_token.rb type Doorkeeper (line 5) | module Doorkeeper class AccessToken (line 6) | class AccessToken < ::ActiveRecord::Base FILE: lib/doorkeeper/orm/active_record/application.rb type Doorkeeper (line 6) | module Doorkeeper class Application (line 7) | class Application < ::ActiveRecord::Base FILE: lib/doorkeeper/orm/active_record/mixins/access_grant.rb type Doorkeeper::Orm::ActiveRecord::Mixins (line 3) | module Doorkeeper::Orm::ActiveRecord::Mixins type AccessGrant (line 4) | module AccessGrant function plaintext_token (line 33) | def plaintext_token function generate_token (line 47) | def generate_token type ClassMethods (line 53) | module ClassMethods function compute_doorkeeper_table_name (line 56) | def compute_doorkeeper_table_name FILE: lib/doorkeeper/orm/active_record/mixins/access_token.rb type Doorkeeper::Orm::ActiveRecord::Mixins (line 3) | module Doorkeeper::Orm::ActiveRecord::Mixins type AccessToken (line 4) | module AccessToken type ClassMethods (line 29) | module ClassMethods function active_for (line 39) | def active_for(resource_owner) function refresh_token_revoked_on_use? (line 65) | def refresh_token_revoked_on_use? function not_expired (line 70) | def not_expired function compute_doorkeeper_table_name (line 87) | def compute_doorkeeper_table_name FILE: lib/doorkeeper/orm/active_record/mixins/application.rb type Doorkeeper::Orm::ActiveRecord::Mixins (line 3) | module Doorkeeper::Orm::ActiveRecord::Mixins type Application (line 4) | module Application function renew_secret (line 48) | def renew_secret function plaintext_secret (line 59) | def plaintext_secret function as_json (line 75) | def as_json(options = {}) function authorized_for_resource_owner? (line 90) | def authorized_for_resource_owner?(resource_owner) function read_attribute_for_serialization (line 99) | def read_attribute_for_serialization(key) function secret_generator (line 107) | def secret_generator function generate_uid (line 118) | def generate_uid function generate_secret (line 122) | def generate_secret function scopes_match_configured (line 128) | def scopes_match_configured function enforce_scopes? (line 137) | def enforce_scopes? function secret_required? (line 141) | def secret_required? function extract_serializable_attributes (line 154) | def extract_serializable_attributes(options = {}) function client_serializable_attributes (line 175) | def client_serializable_attributes type ClassMethods (line 182) | module ClassMethods function authorized_for (line 192) | def authorized_for(resource_owner) function revoke_tokens_and_grants_for (line 203) | def revoke_tokens_and_grants_for(id, resource_owner) function compute_doorkeeper_table_name (line 210) | def compute_doorkeeper_table_name FILE: lib/doorkeeper/orm/active_record/redirect_uri_validator.rb type Doorkeeper (line 5) | module Doorkeeper class RedirectUriValidator (line 8) | class RedirectUriValidator < ActiveModel::EachValidator method validate_each (line 9) | def validate_each(record, attribute, value) method oob_redirect_uri? (line 33) | def oob_redirect_uri?(uri) method forbidden_uri? (line 37) | def forbidden_uri?(uri) method unspecified_scheme? (line 41) | def unspecified_scheme?(uri) method unspecified_host? (line 47) | def unspecified_host?(uri) method relative_uri? (line 51) | def relative_uri?(uri) method invalid_ssl_uri? (line 55) | def invalid_ssl_uri?(uri) FILE: lib/doorkeeper/orm/active_record/stale_records_cleaner.rb type Doorkeeper (line 3) | module Doorkeeper type Orm (line 4) | module Orm type ActiveRecord (line 5) | module ActiveRecord class StaleRecordsCleaner (line 9) | class StaleRecordsCleaner method initialize (line 10) | def initialize(base_scope) method clean_revoked (line 15) | def clean_revoked method clean_expired (line 25) | def clean_expired(ttl) FILE: lib/doorkeeper/rails/helpers.rb type Doorkeeper (line 3) | module Doorkeeper type Rails (line 4) | module Rails type Helpers (line 5) | module Helpers function doorkeeper_authorize! (line 6) | def doorkeeper_authorize!(*scopes) function doorkeeper_unauthorized_render_options (line 12) | def doorkeeper_unauthorized_render_options(**); end function doorkeeper_forbidden_render_options (line 14) | def doorkeeper_forbidden_render_options(**); end function valid_doorkeeper_token? (line 16) | def valid_doorkeeper_token? function doorkeeper_render_error (line 22) | def doorkeeper_render_error function doorkeeper_render_error_with (line 30) | def doorkeeper_render_error_with(error) function doorkeeper_error (line 44) | def doorkeeper_error function doorkeeper_render_options (line 52) | def doorkeeper_render_options(error) function doorkeeper_status_for_error (line 60) | def doorkeeper_status_for_error(error, respond_not_found_when_forb... function doorkeeper_invalid_token_response? (line 68) | def doorkeeper_invalid_token_response? function doorkeeper_token (line 72) | def doorkeeper_token FILE: lib/doorkeeper/rails/routes.rb type Doorkeeper (line 8) | module Doorkeeper type Rails (line 9) | module Rails class Routes (line 10) | class Routes # :nodoc: type Helper (line 11) | module Helper function use_doorkeeper (line 12) | def use_doorkeeper(options = {}, &block) method install! (line 24) | def self.install! method initialize (line 30) | def initialize(routes, mapper = Mapper.new, &block) method generate_routes! (line 34) | def generate_routes!(options) method authorization_routes (line 48) | def authorization_routes(mapping) method token_routes (line 61) | def token_routes(mapping) method revoke_routes (line 70) | def revoke_routes(mapping) method introspect_routes (line 74) | def introspect_routes(mapping) method token_info_routes (line 78) | def token_info_routes(mapping) method application_routes (line 87) | def application_routes(mapping) method authorized_applications_routes (line 94) | def authorized_applications_routes(mapping) method native_authorization_code_route (line 100) | def native_authorization_code_route method introspection_routes? (line 104) | def introspection_routes? FILE: lib/doorkeeper/rails/routes/abstract_router.rb type Doorkeeper (line 3) | module Doorkeeper type Rails (line 4) | module Rails type AbstractRouter (line 10) | module AbstractRouter function initialize (line 15) | def initialize(routes, mapper = Mapper.new, &block) function generate_routes! (line 20) | def generate_routes!(**_options) function map_route (line 26) | def map_route(name, method) FILE: lib/doorkeeper/rails/routes/mapper.rb type Doorkeeper (line 3) | module Doorkeeper type Rails (line 4) | module Rails class Routes (line 5) | class Routes # :nodoc: class Mapper (line 6) | class Mapper method initialize (line 7) | def initialize(mapping = Mapping.new) method map (line 11) | def map(&block) method controllers (line 16) | def controllers(controller_names = {}) method skip_controllers (line 20) | def skip_controllers(*controller_names) method as (line 24) | def as(alias_names = {}) FILE: lib/doorkeeper/rails/routes/mapping.rb type Doorkeeper (line 3) | module Doorkeeper type Rails (line 4) | module Rails class Routes (line 5) | class Routes # :nodoc: class Mapping (line 6) | class Mapping method initialize (line 9) | def initialize method [] (line 27) | def [](routes) method skipped? (line 34) | def skipped?(controller) FILE: lib/doorkeeper/rails/routes/registry.rb type Doorkeeper (line 3) | module Doorkeeper type Rails (line 4) | module Rails class Routes (line 5) | class Routes type Registry (line 10) | module Registry function registered_routes (line 20) | def registered_routes function register_routes (line 31) | def register_routes(routes) FILE: lib/doorkeeper/rake.rb type Doorkeeper (line 3) | module Doorkeeper type Rake (line 4) | module Rake function load_tasks (line 6) | def load_tasks FILE: lib/doorkeeper/request.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request function authorization_strategy (line 6) | def authorization_strategy(response_type) function token_strategy (line 20) | def token_strategy(grant_type) function authorization_flows (line 43) | def authorization_flows function token_flows (line 47) | def token_flows function available (line 53) | def available function build_fallback_strategy_class (line 57) | def build_fallback_strategy_class(grant_or_request_type) FILE: lib/doorkeeper/request/authorization_code.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request class AuthorizationCode (line 5) | class AuthorizationCode < Strategy method request (line 8) | def request method grant (line 19) | def grant FILE: lib/doorkeeper/request/client_credentials.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request class ClientCredentials (line 5) | class ClientCredentials < Strategy method request (line 8) | def request FILE: lib/doorkeeper/request/code.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request class Code (line 5) | class Code < Strategy method pre_auth (line 8) | def pre_auth method request (line 12) | def request FILE: lib/doorkeeper/request/password.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request class Password (line 5) | class Password < Strategy method request (line 8) | def request FILE: lib/doorkeeper/request/refresh_token.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request class RefreshToken (line 5) | class RefreshToken < Strategy method refresh_token (line 8) | def refresh_token method request (line 12) | def request FILE: lib/doorkeeper/request/strategy.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request class Strategy (line 5) | class Strategy method initialize (line 10) | def initialize(server) method request (line 14) | def request FILE: lib/doorkeeper/request/token.rb type Doorkeeper (line 3) | module Doorkeeper type Request (line 4) | module Request class Token (line 5) | class Token < Strategy method pre_auth (line 8) | def pre_auth method request (line 12) | def request FILE: lib/doorkeeper/revocable_tokens/revocable_access_token.rb type Doorkeeper (line 3) | module Doorkeeper type RevocableTokens (line 4) | module RevocableTokens class RevocableAccessToken (line 5) | class RevocableAccessToken method initialize (line 8) | def initialize(token) method revocable? (line 12) | def revocable? method revoke (line 16) | def revoke FILE: lib/doorkeeper/revocable_tokens/revocable_refresh_token.rb type Doorkeeper (line 3) | module Doorkeeper type RevocableTokens (line 4) | module RevocableTokens class RevocableRefreshToken (line 5) | class RevocableRefreshToken method initialize (line 8) | def initialize(token) method revocable? (line 12) | def revocable? method revoke (line 16) | def revoke FILE: lib/doorkeeper/secret_storing/base.rb type Doorkeeper (line 3) | module Doorkeeper type SecretStoring (line 4) | module SecretStoring class Base (line 7) | class Base method transform_secret (line 12) | def self.transform_secret(_plain_secret) method store_secret (line 22) | def self.store_secret(resource, attribute, plain_secret) method restore_secret (line 34) | def self.restore_secret(_resource, _attribute) method allows_restoring_secrets? (line 42) | def self.allows_restoring_secrets? method validate_for (line 48) | def self.validate_for(model) method secret_matches? (line 58) | def self.secret_matches?(input, stored) FILE: lib/doorkeeper/secret_storing/bcrypt.rb type Doorkeeper (line 3) | module Doorkeeper type SecretStoring (line 4) | module SecretStoring class BCrypt (line 9) | class BCrypt < Base method transform_secret (line 13) | def self.transform_secret(plain_secret) method secret_matches? (line 20) | def self.secret_matches?(input, stored) method allows_restoring_secrets? (line 30) | def self.allows_restoring_secrets? method validate_for (line 36) | def self.validate_for(model) method bcrypt_present? (line 52) | def self.bcrypt_present? FILE: lib/doorkeeper/secret_storing/plain.rb type Doorkeeper (line 3) | module Doorkeeper type SecretStoring (line 4) | module SecretStoring class Plain (line 9) | class Plain < Base method transform_secret (line 13) | def self.transform_secret(plain_secret) method restore_secret (line 22) | def self.restore_secret(resource, attribute) method allows_restoring_secrets? (line 28) | def self.allows_restoring_secrets? FILE: lib/doorkeeper/secret_storing/sha256_hash.rb type Doorkeeper (line 3) | module Doorkeeper type SecretStoring (line 4) | module SecretStoring class Sha256Hash (line 9) | class Sha256Hash < Base method transform_secret (line 13) | def self.transform_secret(plain_secret) method allows_restoring_secrets? (line 21) | def self.allows_restoring_secrets? FILE: lib/doorkeeper/server.rb type Doorkeeper (line 3) | module Doorkeeper class Server (line 4) | class Server method initialize (line 7) | def initialize(context) method authorization_request (line 11) | def authorization_request(strategy) method token_request (line 16) | def token_request(strategy) method parameters (line 22) | def parameters method client (line 26) | def client method current_resource_owner (line 30) | def current_resource_owner method resource_owner (line 35) | def resource_owner method credentials (line 39) | def credentials FILE: lib/doorkeeper/stale_records_cleaner.rb type Doorkeeper (line 3) | module Doorkeeper class StaleRecordsCleaner (line 4) | class StaleRecordsCleaner method for (line 7) | def self.for(base_scope) method new (line 16) | def self.new(base_scope) method configured_orm (line 20) | def self.configured_orm FILE: lib/doorkeeper/validations.rb type Doorkeeper (line 3) | module Doorkeeper type Validations (line 4) | module Validations function validate (line 9) | def validate function valid? (line 18) | def valid? type ClassMethods (line 23) | module ClassMethods function validate (line 24) | def validate(attribute, options = {}) function validations (line 28) | def validations FILE: lib/doorkeeper/version.rb type Doorkeeper (line 3) | module Doorkeeper type VERSION (line 4) | module VERSION FILE: lib/generators/doorkeeper/application_owner_generator.rb type Doorkeeper (line 6) | module Doorkeeper class ApplicationOwnerGenerator (line 10) | class ApplicationOwnerGenerator < ::Rails::Generators::Base method application_owner (line 15) | def application_owner method next_migration_number (line 23) | def self.next_migration_number(dirname) method migration_version (line 29) | def migration_version FILE: lib/generators/doorkeeper/confidential_applications_generator.rb type Doorkeeper (line 6) | module Doorkeeper class ConfidentialApplicationsGenerator (line 10) | class ConfidentialApplicationsGenerator < ::Rails::Generators::Base method confidential_applications (line 15) | def confidential_applications method next_migration_number (line 23) | def self.next_migration_number(dirname) method migration_version (line 29) | def migration_version FILE: lib/generators/doorkeeper/enable_polymorphic_resource_owner_generator.rb type Doorkeeper (line 6) | module Doorkeeper class EnablePolymorphicResourceOwnerGenerator (line 11) | class EnablePolymorphicResourceOwnerGenerator < ::Rails::Generators::Base method enable_polymorphic_resource_owner (line 16) | def enable_polymorphic_resource_owner method next_migration_number (line 29) | def self.next_migration_number(dirname) method migration_version (line 35) | def migration_version FILE: lib/generators/doorkeeper/install_generator.rb type Doorkeeper (line 6) | module Doorkeeper class InstallGenerator (line 9) | class InstallGenerator < ::Rails::Generators::Base method install (line 14) | def install FILE: lib/generators/doorkeeper/migration_generator.rb type Doorkeeper (line 6) | module Doorkeeper class MigrationGenerator (line 9) | class MigrationGenerator < ::Rails::Generators::Base method install (line 14) | def install method next_migration_number (line 22) | def self.next_migration_number(dirname) method migration_version (line 28) | def migration_version FILE: lib/generators/doorkeeper/pkce_generator.rb type Doorkeeper (line 6) | module Doorkeeper class PkceGenerator (line 10) | class PkceGenerator < ::Rails::Generators::Base method pkce (line 15) | def pkce method next_migration_number (line 23) | def self.next_migration_number(dirname) method migration_version (line 29) | def migration_version FILE: lib/generators/doorkeeper/previous_refresh_token_generator.rb type Doorkeeper (line 6) | module Doorkeeper class PreviousRefreshTokenGenerator (line 10) | class PreviousRefreshTokenGenerator < ::Rails::Generators::Base method next_migration_number (line 15) | def self.next_migration_number(path) method previous_refresh_token (line 19) | def previous_refresh_token method migration_version (line 30) | def migration_version method no_previous_refresh_token_column? (line 34) | def no_previous_refresh_token_column? FILE: lib/generators/doorkeeper/remove_applications_secret_not_null_constraint_generator.rb type Doorkeeper (line 6) | module Doorkeeper class RemoveApplicationsSecretNotNullConstraintGenerator (line 10) | class RemoveApplicationsSecretNotNullConstraintGenerator < ::Rails::Ge... method remove_applications_secret_not_null_constraint (line 15) | def remove_applications_secret_not_null_constraint method next_migration_number (line 23) | def self.next_migration_number(dirname) method migration_version (line 29) | def migration_version FILE: lib/generators/doorkeeper/views_generator.rb type Doorkeeper (line 3) | module Doorkeeper type Generators (line 4) | module Generators class ViewsGenerator (line 7) | class ViewsGenerator < ::Rails::Generators::Base method manifest (line 12) | def manifest FILE: spec/controllers/application_controller_spec.rb function index (line 8) | def index FILE: spec/controllers/application_metal_controller_spec.rb function index (line 9) | def index function create (line 13) | def create FILE: spec/controllers/authorizations_controller_spec.rb class ActionDispatch::TestResponse (line 10) | class ActionDispatch::TestResponse method query_params (line 11) | def query_params FILE: spec/controllers/protected_resources_controller_spec.rb type ControllerActions (line 5) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) function index (line 26) | def index type ControllerActions (line 157) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 167) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 187) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 197) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 221) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 247) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 269) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 286) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) type ControllerActions (line 305) | module ControllerActions function index (line 6) | def index function show (line 10) | def show function doorkeeper_unauthorized_render_options (line 14) | def doorkeeper_unauthorized_render_options(*); end function doorkeeper_forbidden_render_options (line 16) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_unauthorized_render_options (line 160) | def doorkeeper_unauthorized_render_options(error: nil) function doorkeeper_unauthorized_render_options (line 170) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_unauthorized_render_options (line 190) | def doorkeeper_unauthorized_render_options(**) function doorkeeper_unauthorized_render_options (line 200) | def doorkeeper_unauthorized_render_options(error: nil); end function doorkeeper_forbidden_render_options (line 224) | def doorkeeper_forbidden_render_options(*); end function doorkeeper_forbidden_render_options (line 250) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 271) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 289) | def doorkeeper_forbidden_render_options(*) function doorkeeper_forbidden_render_options (line 308) | def doorkeeper_forbidden_render_options(*) FILE: spec/controllers/tokens_controller_spec.rb function create (line 99) | def create FILE: spec/dummy/app/controllers/application_controller.rb class ApplicationController (line 3) | class ApplicationController < ActionController::Base FILE: spec/dummy/app/controllers/custom_authorizations_controller.rb class CustomAuthorizationsController (line 3) | class CustomAuthorizationsController < ::ApplicationController FILE: spec/dummy/app/controllers/full_protected_resources_controller.rb class FullProtectedResourcesController (line 3) | class FullProtectedResourcesController < ApplicationController method index (line 7) | def index method show (line 11) | def show FILE: spec/dummy/app/controllers/home_controller.rb class HomeController (line 3) | class HomeController < ApplicationController method index (line 4) | def index; end method sign_in (line 6) | def sign_in method callback (line 15) | def callback FILE: spec/dummy/app/controllers/metal_controller.rb class MetalController (line 3) | class MetalController < ActionController::Metal method index (line 10) | def index FILE: spec/dummy/app/controllers/semi_protected_resources_controller.rb class SemiProtectedResourcesController (line 3) | class SemiProtectedResourcesController < ApplicationController method index (line 6) | def index method show (line 10) | def show FILE: spec/dummy/app/helpers/application_helper.rb type ApplicationHelper (line 3) | module ApplicationHelper function current_user (line 4) | def current_user FILE: spec/dummy/app/models/user.rb class ApplicationRecord (line 3) | class ApplicationRecord < ::ActiveRecord::Base class User (line 7) | class User < ApplicationRecord method authenticate! (line 8) | def self.authenticate!(name, password) FILE: spec/dummy/config/application.rb type Dummy (line 30) | module Dummy class Application (line 31) | class Application < Rails::Application FILE: spec/dummy/db/migrate/20111122132257_create_users.rb class CreateUsers (line 3) | class CreateUsers < ActiveRecord::Migration[4.2] method change (line 4) | def change FILE: spec/dummy/db/migrate/20120312140401_add_password_to_users.rb class AddPasswordToUsers (line 3) | class AddPasswordToUsers < ActiveRecord::Migration[4.2] method change (line 4) | def change FILE: spec/dummy/db/migrate/20151223192035_create_doorkeeper_tables.rb class CreateDoorkeeperTables (line 3) | class CreateDoorkeeperTables < ActiveRecord::Migration[4.2] method change (line 4) | def change FILE: spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb class AddOwnerToApplication (line 3) | class AddOwnerToApplication < ActiveRecord::Migration[4.2] method change (line 4) | def change FILE: spec/dummy/db/migrate/20160320211015_add_previous_refresh_token_to_access_tokens.rb class AddPreviousRefreshTokenToAccessTokens (line 3) | class AddPreviousRefreshTokenToAccessTokens < ActiveRecord::Migration[4.2] method change (line 4) | def change FILE: spec/dummy/db/migrate/20170822064514_enable_pkce.rb class EnablePkce (line 3) | class EnablePkce < ActiveRecord::Migration[4.2] method change (line 4) | def change FILE: spec/dummy/db/migrate/20180210183654_add_confidential_to_applications.rb class AddConfidentialToApplications (line 3) | class AddConfidentialToApplications < ActiveRecord::Migration[5.1] method change (line 4) | def change FILE: spec/dummy/db/migrate/20230205064514_add_custom_attributes.rb class AddCustomAttributes (line 3) | class AddCustomAttributes < ActiveRecord::Migration[4.2] method change (line 4) | def change FILE: spec/grape/grape_integration_spec.rb type GrapeApp (line 9) | module GrapeApp class API (line 10) | class API < Grape::API function app (line 66) | def app function json_body (line 70) | def json_body FILE: spec/lib/config_spec.rb class ApplicationWithOwner (line 397) | class ApplicationWithOwner < ActiveRecord::Base class ApplicationWithOwner (line 427) | class ApplicationWithOwner < ActiveRecord::Base class FakeCustomModel (line 656) | class FakeCustomModel < ::ActiveRecord::Base FILE: spec/lib/doorkeeper/orm/active_record_spec.rb function name (line 65) | def self.name function name (line 96) | def self.name function name (line 123) | def self.name FILE: spec/lib/models/concerns/write_to_primary_spec.rb function create_record (line 10) | def self.create_record FILE: spec/lib/models/secret_storable_spec.rb function find_by (line 10) | def self.find_by(*) function update_column (line 14) | def update_column(*) function token (line 18) | def token FILE: spec/lib/oauth/client/credentials_spec.rb class Doorkeeper::OAuth::Client (line 5) | class Doorkeeper::OAuth::Client FILE: spec/lib/oauth/helpers/unique_token_spec.rb type Doorkeeper::OAuth::Helpers (line 5) | module Doorkeeper::OAuth::Helpers FILE: spec/lib/oauth/token_spec.rb type Doorkeeper (line 5) | module Doorkeeper class AccessToken (line 7) | class AccessToken FILE: spec/lib/option_spec.rb class Extension (line 6) | class Extension method configure (line 7) | def self.configure(&block) method configuration (line 11) | def self.configuration class Config (line 15) | class Config class Builder (line 16) | class Builder < Doorkeeper::Config::AbstractBuilder method enforce_something (line 17) | def enforce_something method enforce_something? (line 22) | def enforce_something? method builder_class (line 30) | def self.builder_class FILE: spec/lib/request/strategy_spec.rb function request (line 33) | def request FILE: spec/models/doorkeeper/access_token_spec.rb type CustomGeneratorArgs (line 16) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) type CustomGeneratorArgs (line 110) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) type CustomGeneratorArgs (line 136) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) type CustomGeneratorArgs (line 156) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) type CustomGeneratorArgs (line 177) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) type CustomGeneratorArgs (line 193) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) type CustomGeneratorArgs (line 210) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) type NoGenerate (line 227) | module NoGenerate type CustomGeneratorArgs (line 246) | module CustomGeneratorArgs function generate (line 17) | def self.generate; end function generate (line 111) | def self.generate(opts = {}) function generate (line 137) | def self.generate(opts = {}) function generate (line 157) | def self.generate(opts = {}) function generate (line 178) | def self.generate(opts = {}) function generate (line 194) | def self.generate(opts = {}) function generate (line 211) | def self.generate(opts = {}) function generate (line 247) | def self.generate(_opts = {}) FILE: spec/models/doorkeeper/application_spec.rb type CustomGeneratorArgs (line 92) | module CustomGeneratorArgs function generate (line 93) | def self.generate class CustomApp (line 529) | class CustomApp < ::ActiveRecord::Base FILE: spec/requests/flows/authorization_code_spec.rb function authorize (line 67) | def authorize(redirect_url) FILE: spec/requests/flows/client_credentials_spec.rb function authorization (line 229) | def authorization(username, password) FILE: spec/requests/flows/refresh_token_spec.rb function last_token (line 276) | def last_token FILE: spec/support/doorkeeper_rspec.rb type Doorkeeper (line 3) | module Doorkeeper class RSpec (line 4) | class RSpec method print_configuration_info (line 7) | def self.print_configuration_info method detect_orm (line 17) | def self.detect_orm FILE: spec/support/helpers/access_token_request_helper.rb type AccessTokenRequestHelper (line 3) | module AccessTokenRequestHelper function client_is_authorized (line 4) | def client_is_authorized(client, resource_owner, access_token_attribut... FILE: spec/support/helpers/authorization_request_helper.rb type AuthorizationRequestHelper (line 3) | module AuthorizationRequestHelper function resource_owner_is_authenticated (line 4) | def resource_owner_is_authenticated(resource_owner = nil) function resource_owner_is_not_authenticated (line 9) | def resource_owner_is_not_authenticated function default_scopes_exist (line 13) | def default_scopes_exist(*scopes) function optional_scopes_exist (line 17) | def optional_scopes_exist(*scopes) function client_should_be_authorized (line 21) | def client_should_be_authorized(client) function client_should_not_be_authorized (line 25) | def client_should_not_be_authorized(client) function i_should_be_on_client_callback (line 29) | def i_should_be_on_client_callback(client) function allowing_forgery_protection (line 33) | def allowing_forgery_protection(&_block) FILE: spec/support/helpers/config_helper.rb type ConfigHelper (line 3) | module ConfigHelper function config_is_set (line 4) | def config_is_set(setting, value = nil, &block) FILE: spec/support/helpers/model_helper.rb type ModelHelper (line 3) | module ModelHelper function client_exists (line 4) | def client_exists(client_attributes = {}) function create_resource_owner (line 8) | def create_resource_owner function authorization_code_exists (line 12) | def authorization_code_exists(options = {}) function access_token_exists (line 16) | def access_token_exists(options = {}) function access_grant_should_exist_for (line 20) | def access_grant_should_exist_for(client, resource_owner) function access_token_should_exist_for (line 29) | def access_token_should_exist_for(client, resource_owner) function access_grant_should_not_exist (line 38) | def access_grant_should_not_exist function access_token_should_not_exist (line 42) | def access_token_should_not_exist function access_grant_should_have_scopes (line 46) | def access_grant_should_have_scopes(*args) function access_token_should_have_scopes (line 51) | def access_token_should_have_scopes(*args) function uniqueness_error (line 56) | def uniqueness_error FILE: spec/support/helpers/request_spec_helper.rb type RequestSpecHelper (line 3) | module RequestSpecHelper function i_am_logged_in (line 4) | def i_am_logged_in function i_should_see (line 8) | def i_should_see(content) function i_should_not_see (line 12) | def i_should_not_see(content) function i_should_be_on (line 16) | def i_should_be_on(path) function url_should_have_param (line 20) | def url_should_have_param(param, value) function url_should_not_have_param (line 24) | def url_should_not_have_param(param) function current_params (line 28) | def current_params function current_uri (line 32) | def current_uri function request_response (line 36) | def request_response function json_response (line 40) | def json_response function should_have_status (line 44) | def should_have_status(status) function with_access_token_header (line 48) | def with_access_token_header(token) function with_header (line 52) | def with_header(header, value) function basic_auth_header_for_client (line 56) | def basic_auth_header_for_client(client) function sign_in (line 60) | def sign_in function create_access_token (line 65) | def create_access_token(authorization_code, client, code_verifier = nil) function i_should_see_translated_error_message (line 69) | def i_should_see_translated_error_message(key) function i_should_not_see_translated_error_message (line 73) | def i_should_not_see_translated_error_message(key) function translated_error_message (line 77) | def translated_error_message(key) function i_should_see_translated_invalid_request_error_message (line 81) | def i_should_see_translated_invalid_request_error_message(key, value) function translated_invalid_request_error_message (line 85) | def translated_invalid_request_error_message(key, value) function response_status_should_be (line 89) | def response_status_should_be(status) FILE: spec/support/helpers/url_helper.rb type UrlHelper (line 3) | module UrlHelper function token_endpoint_url (line 4) | def token_endpoint_url(options = {}) function password_token_endpoint_url (line 17) | def password_token_endpoint_url(options = {}) function authorization_endpoint_url (line 30) | def authorization_endpoint_url(options = {}) function refresh_token_endpoint_url (line 44) | def refresh_token_endpoint_url(options = {}) function revocation_token_endpoint_url (line 54) | def revocation_token_endpoint_url function build_query (line 58) | def build_query(hash) FILE: spec/support/render_with_matcher.rb type RenderWithMatcher (line 7) | module RenderWithMatcher function included (line 8) | def self.included(base)