module Rack::OAuth2::Server::Extension::PKCE::AuthorizationRequest
Public Class Methods
included(klass)
click to toggle source
# File lib/rack/oauth2/server/extension/pkce.rb, line 7 def self.included(klass) klass.send :attr_optional, :code_challenge, :code_challenge_method end
new(env)
click to toggle source
Calls superclass method
# File lib/rack/oauth2/server/extension/pkce.rb, line 11 def initialize(env) super @code_challenge = params['code_challenge'] @code_challenge_method = params['code_challenge_method'] end