We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce436b3 + c08fd0f commit 03ce323Copy full SHA for 03ce323
src/OAuth2ServerServiceProvider.php
@@ -117,6 +117,9 @@ public function registerAuthorizer()
117
if (array_key_exists('refresh_token_ttl', $grantParams)) {
118
$grant->setRefreshTokenTTL($grantParams['refresh_token_ttl']);
119
}
120
+ if (array_key_exists('rotate_refresh_tokens', $grantParams)) {
121
+ $grant->setRefreshTokenRotation($grantParams['rotate_refresh_tokens']);
122
+ }
123
$issuer->addGrantType($grant);
124
125
0 commit comments