public function useLegacyToken(string $clientId, string $apiKey): void
    {
        $this->auth = new LegacyCredentials($clientId, $apiKey);
    }
public function useLegacyToken(string $clientId, string $apiKey): void
    {
        $this->auth = new LegacyCredentials($clientId, $apiKey);
    }
public function useLegacyToken ( string $ clientId , string $ apiKey ) : void { $ this -> auth = new LegacyCredentials ( $ clientId , $ apiKey ) ; }
The Legacy Token auth scheme is provided as a developer convenience
while transitioning from v1 to v2 of the API. On June 6, 2019, we will
sunset v1 of the API. At that time, this method will no longer function
and we will remove it from the SDK.

@deprecated

@param string $clientId
@param string $apiKey
The Legacy Token auth scheme is provided as a developer convenience while transitioning from v1 to v2 of the API . On June 6 2019 we will sunset v1 of the API . At that time this method will no longer function and we will remove it from the SDK .