You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @deprecated GitHub will remove this endpoint on 13th November 2020. No replacement will be offered. The "web application flow" should be used instead.
18
27
*/
19
28
publicfunctionall()
20
29
{
@@ -27,6 +36,8 @@ public function all()
27
36
* @param string $clientId
28
37
*
29
38
* @return array
39
+
*
40
+
* @deprecated GitHub will remove this endpoint on 13th November 2020. No replacement will be offered. The "web application flow" should be used instead.
30
41
*/
31
42
publicfunctionshow($clientId)
32
43
{
@@ -36,10 +47,12 @@ public function show($clientId)
36
47
/**
37
48
* Create an authorization.
38
49
*
39
-
* @param array $params
40
-
* @param null $OTPCode
50
+
* @param array $params
51
+
* @param string|null $OTPCode
41
52
*
42
53
* @return array
54
+
*
55
+
* @deprecated GitHub will remove this endpoint on 13th November 2020. No replacement will be offered. The "web application flow" should be used instead.
@@ -55,6 +68,8 @@ public function create(array $params, $OTPCode = null)
55
68
* @param array $params
56
69
*
57
70
* @return array
71
+
*
72
+
* @deprecated GitHub will remove this endpoint on 13th November 2020. No replacement will be offered. The "web application flow" should be used instead.
58
73
*/
59
74
publicfunctionupdate($clientId, array$params)
60
75
{
@@ -67,6 +82,8 @@ public function update($clientId, array $params)
67
82
* @param string $clientId
68
83
*
69
84
* @return array
85
+
*
86
+
* @deprecated GitHub will remove this endpoint on 13th November 2020. No replacement will be offered. The "web application flow" should be used instead.
70
87
*/
71
88
publicfunctionremove($clientId)
72
89
{
@@ -80,30 +97,66 @@ public function remove($clientId)
80
97
* @param string $token
81
98
*
82
99
* @return array
100
+
*
101
+
* @deprecated GitHub will remove this endpoint on 1st July 2020. Use self::checkToken() instead.
0 commit comments