-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
As far as I can see, there is no possibility of using the oauthV2Access method for token refresh.
Can you add it?
// JoliCode\Slack\Api\Endpoint\OauthV2Access
protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver
{
$optionsResolver = parent::getQueryOptionsResolver();
$optionsResolver->setDefined(['client_id', 'client_secret', 'code', 'redirect_uri', 'grant_type', 'refresh_token']);
$optionsResolver->setDefaults([]);
$optionsResolver->addAllowedTypes('client_id', ['string']);
$optionsResolver->addAllowedTypes('client_secret', ['string']);
$optionsResolver->addAllowedTypes('code', ['string']);
$optionsResolver->addAllowedTypes('redirect_uri', ['string']);
$optionsResolver->addAllowedTypes('grant_type', ['string']);
$optionsResolver->addAllowedTypes('refresh_token', ['string']);
return $optionsResolver;
}
Metadata
Metadata
Assignees
Labels
No labels