We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11c2d9f commit f4774d0Copy full SHA for f4774d0
lib/Github/Client.php
@@ -69,6 +69,36 @@
69
*/
70
class Client
71
{
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
85
86
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
97
98
99
100
+ const AUTH_JWT = 'jwt';
101
102
/**
103
* @var string
104
0 commit comments