public function Auth0::setRefreshToken in Auth0 Single Sign On 8.2
Sets and persists the refresh token.
Parameters
string $refreshToken - refresh token returned from the code exchange.:
Return value
1 call to Auth0::setRefreshToken()
- Auth0::exchange in vendor/
auth0/ auth0-php/ src/ Auth0.php - Exchange authorization code for access, ID, and refresh tokens
File
- vendor/
auth0/ auth0-php/ src/ Auth0.php, line 696
Class
- Auth0
- Class Auth0 Provides access to Auth0 authentication functionality.
Namespace
Auth0\SDKCode
public function setRefreshToken($refreshToken) {
if (in_array('refresh_token', $this->persistantMap)) {
$this->store
->set('refresh_token', $refreshToken);
}
$this->refreshToken = $refreshToken;
return $this;
}