Recieved a email few days ago that the Authentication Method I was using would be deprecated soon:

I was using $client->authenticate("my@email.com", "my_password", \Github\Client::AUTH_HTTP_PASSWORD);
I went ahead and created a Personal Access Token, changed the code and ended up with this:
$client->authenticate("my_PAT", "", \Github\Client::AUTH_HTTP_TOKEN);
Is this going to use the right endpoint, and not the one that is gonna be deprecated?
It seems to be working fine, but just wanna be sure.
Recieved a email few days ago that the Authentication Method I was using would be deprecated soon:

I was using
$client->authenticate("my@email.com", "my_password", \Github\Client::AUTH_HTTP_PASSWORD);I went ahead and created a Personal Access Token, changed the code and ended up with this:
$client->authenticate("my_PAT", "", \Github\Client::AUTH_HTTP_TOKEN);Is this going to use the right endpoint, and not the one that is gonna be deprecated?
It seems to be working fine, but just wanna be sure.