Method: Google::Auth::UserAuthorizer#code_verifier=

Defined in:
lib/googleauth/user_authorizer.rb

#code_verifier=(new_code_verifier) ⇒ Object

The code verifier for PKCE for OAuth 2.0. When set, the authorization URI will contain the Code Challenge and Code Challenge Method querystring parameters, and the token URI will contain the Code Verifier parameter.

Parameters:

  • new_code_erifier (String|nil)


270
271
272
# File 'lib/googleauth/user_authorizer.rb', line 270

def code_verifier= new_code_verifier
  @code_verifier = new_code_verifier
end