File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 11## Authorizations API
22[ Back to the navigation] ( README.md )
33
4- Creating, deleting and listing authorizations. Wraps [ GitHub Authorizations API] ( http://developer.github.com/v3/oauth / ) .
4+ Creating, deleting and listing authorizations. Wraps [ GitHub Authorizations API] ( http://developer.github.com/v3/oauth_authorizations / ) .
55
66#### List all authorizations.
77
@@ -50,3 +50,21 @@ $authorization = $github->api('authorizations')->remove(1234);
5050``` php
5151$authorization = $github->api('authorizations')->check(1234, 'token');
5252```
53+
54+ #### Reset an authorization
55+
56+ ``` php
57+ $authorization = $github->api('authorizations')->reset(1234, 'token');
58+ ```
59+
60+ #### Revoke an authorization
61+
62+ ``` php
63+ $authorization = $github->api('authorizations')->revoke(1234, 'token');
64+ ```
65+
66+ #### Revoke all authorizations
67+
68+ ``` php
69+ $authorization = $github->api('authorizations')->revokeAll(1234);
70+ ```
You can’t perform that action at this time.
0 commit comments