withCodeChallengeMethod adds code_challenge_method parameter
(method string)
| 473 | |
| 474 | // withCodeChallengeMethod adds code_challenge_method parameter |
| 475 | func withCodeChallengeMethod(method string) urlOption { |
| 476 | return func(v *url.Values) { |
| 477 | v.Set("code_challenge_method", method) |
| 478 | } |
| 479 | } |
| 480 | |
| 481 | // DeviceOAuthClient represents the device OAuth core |
| 482 | type DeviceOAuthClient struct { |