Exception: Doorkeeper::Errors::InvalidCodeChallengeMethod

Inherits:
BaseResponseError show all
Defined in:
lib/doorkeeper/errors.rb

Instance Attribute Summary

Attributes inherited from BaseResponseError

#response

Class Method Summary collapse

Methods inherited from BaseResponseError

#initialize, name_for_response

Methods inherited from DoorkeeperError

#type

Constructor Details

This class inherits a constructor from Doorkeeper::Errors::BaseResponseError

Class Method Details

.translate_optionsObject



53
54
55
56
57
58
59
# File 'lib/doorkeeper/errors.rb', line 53

def self.translate_options
  challenge_methods = Doorkeeper.config.pkce_code_challenge_methods_supported
  {
    challenge_methods: challenge_methods.join(", "),
    count: challenge_methods.length
  }
end