module Doorkeeper::AccessGrantMixin

Public Instance Methods

uses_pkce?() click to toggle source

Never uses PKCE if PKCE migrations were not generated

# File lib/doorkeeper/models/access_grant_mixin.rb, line 17
def uses_pkce?
  self.class.pkce_supported? && code_challenge.present?
end