Skip to content

Deprecation Notice - Authentication #837

@andre-paulo98

Description

@andre-paulo98

Recieved a email few days ago that the Authentication Method I was using would be deprecated soon:
image
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions