Module: Doorkeeper::AccessGrantMixin
- Extended by:
- ActiveSupport::Concern
- Includes:
- Models::Accessible, Models::Expirable, Models::Orderable, Models::ResourceOwnerable, Models::Revocable, Models::Scopes, Models::SecretStorable, OAuth::Helpers
- Defined in:
- lib/doorkeeper/models/access_grant_mixin.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#uses_pkce? ⇒ Boolean
Never uses PKCE if PKCE migrations were not generated.
Methods included from Models::Scopes
#includes_scope?, #scopes, #scopes=, #scopes_string
Methods included from Models::Accessible
Methods included from Models::Revocable
Methods included from Models::Expirable
#expired?, #expires_at, #expires_in_seconds
Instance Method Details
#uses_pkce? ⇒ Boolean
Never uses PKCE if PKCE migrations were not generated
17 18 19 |
# File 'lib/doorkeeper/models/access_grant_mixin.rb', line 17 def uses_pkce? self.class.pkce_supported? && code_challenge.present? end |