Skip to content

Commit 518bf12

Browse files
bkotrysjoshcanhelp
authored andcommitted
chore: update renewTokens jsdoc
1 parent a8ec2ea commit 518bf12

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Auth0.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -594,12 +594,9 @@ public function exchange()
594594
/**
595595
* Renews the access token and ID token using an existing refresh token.
596596
* Scope "offline_access" must be declared in order to obtain refresh token for later token renewal.
597+
*
597598
* @param array $options Options for the token endpoint request.
598-
* - options.grant_type Grant type to use; required.
599-
* - options.client_id Application Client ID; required.
600-
* - options.client_secret Application Client Secret; required if token endpoint requires authentication.
601-
* - options.scope Access token scope requested.
602-
* - options.audience API audience identifier for access token.
599+
* - options.scope Access token scope requested; optional.
603600
*
604601
* @throws CoreException If the Auth0 object does not have access token and refresh token
605602
* @throws ApiException If the Auth0 API did not renew access and ID token properly

0 commit comments

Comments
 (0)