public function refresh()
    {
        $tokenURL = $this->credentials['loginURL'] . '/services/oauth2/token';
        $authToken = $this->getAuthToken($tokenURL);

        $this->tokenRepo->put($authToken);
    }
public function refresh()
    {
        $tokenURL = $this->credentials['loginURL'] . '/services/oauth2/token';
        $authToken = $this->getAuthToken($tokenURL);

        $this->tokenRepo->put($authToken);
    }
public function refresh ( ) { $ tokenURL = $ this -> credentials [ 'loginURL' ] . '/services/oauth2/token' ; $ authToken = $ this -> getAuthToken ( $ tokenURL ) ; $ this -> tokenRepo -> put ( $ authToken ) ; }
Refresh authentication token by re-authenticating.

@return mixed $response
Refresh authentication token by re - authenticating .