Skip to content

Commit f4774d0

Browse files
committed
refs #955: revert the Client::AUTH_* deletion (BC)
1 parent 11c2d9f commit f4774d0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

lib/Github/Client.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,36 @@
6969
*/
7070
class Client
7171
{
72+
/**
73+
* Authenticate using a client_id/client_secret combination.
74+
*
75+
* @var string
76+
*
77+
* @deprecated Use the AuthMethod const
78+
*/
79+
const AUTH_CLIENT_ID = 'client_id_header';
80+
81+
/**
82+
* Authenticate using a GitHub access token.
83+
*
84+
* @var string
85+
*
86+
* @deprecated Use the AuthMethod const
87+
*/
88+
const AUTH_ACCESS_TOKEN = 'access_token_header';
89+
90+
/**
91+
* Constant for authentication method.
92+
*
93+
* Indicates JSON Web Token authentication required for GitHub apps access
94+
* to the API.
95+
*
96+
* @var string
97+
*
98+
* @deprecated Use the AuthMethod const
99+
*/
100+
const AUTH_JWT = 'jwt';
101+
72102
/**
73103
* @var string
74104
*/

0 commit comments

Comments
 (0)