PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | vendor_prefixed/league/oauth2-client/src/Provider/GenericProvider.php +12 -1 18.5 → trunk View file →
@@ -66,8 +66,12 @@
66 66 * @var string
67 67 */
68 68 private $responseResourceOwnerId = 'id';
69 69 /**
70 + * @var string|null
71 + */
72 + private $pkceMethod = null;
73 + /**
70 74 * @param array $options
71 75 * @param array $collaborators
72 76 */
73 77 public function __construct(array $options = [], array $collaborators = [])
@@ -88,9 +92,9 @@
88 92 * @return array
89 93 */
90 94 protected function getConfigurableOptions()
91 95 {
92 - return \array_merge($this->getRequiredOptions(), ['accessTokenMethod', 'accessTokenResourceOwnerId', 'scopeSeparator', 'responseError', 'responseCode', 'responseResourceOwnerId', 'scopes']);
96 + return \array_merge($this->getRequiredOptions(), ['accessTokenMethod', 'accessTokenResourceOwnerId', 'scopeSeparator', 'responseError', 'responseCode', 'responseResourceOwnerId', 'scopes', 'pkceMethod']);
93 97 }
94 98 /**
95 99 * Returns all options that are required.
96 100 *
@@ -161,8 +165,15 @@
161 165 */
162 166 protected function getScopeSeparator()
163 167 {
164 168 return $this->scopeSeparator ?: parent::getScopeSeparator();
169 + }
170 + /**
171 + * @inheritdoc
172 + */
173 + protected function getPkceMethod()
174 + {
175 + return $this->pkceMethod ?: parent::getPkceMethod();
165 176 }
166 177 /**
167 178 * @inheritdoc
168 179 */