File tree 1 file changed +4
-7
lines changed 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,7 @@ export type Route = OctokitTypes.Route;
14
14
15
15
/** GitHub App server-to-server token
16
16
* @see https://docs.github.com/en/developers/apps/authenticating-with-github-apps#authenticating-as-an-installation */
17
- export type ActionToken = `ghs_${string } `;
18
- /** GitHub App server-to-server token
19
- * @see https://docs.github.com/en/developers/apps/authenticating-with-github-apps#authenticating-as-an-installation */
20
- export type InstallallationToken = `ghs_${string } `;
17
+ export type ServerToServerToken = `ghs_${string } `;
21
18
export type InstallallationTokenV1 = `v1.${string } `;
22
19
/** Your app can make API requests on behalf of a user. API requests made by an
23
20
* app on behalf of a user will be attributed to that user. For example, if your
@@ -35,7 +32,8 @@ export type InstallationUserToServerToken = `ghu_${string}`;
35
32
* @see https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app
36
33
*/
37
34
export type JWT = `${string } .${string } .${string } `;
38
- /** This access token allows you to make requests to the API on a behalf of a user.
35
+ /** This access token allows you to make requests to the API on a behalf of a
36
+ * user.
39
37
*
40
38
* @see https://docs.github.com/en/developers/apps/authorizing-oauth-apps
41
39
*/
@@ -50,8 +48,7 @@ export type OAuthToken = `gho_${string}`;
50
48
export type PersonalAccessToken = `ghp_${string } `;
51
49
52
50
export type Token =
53
- | ActionToken
54
- | InstallallationToken
51
+ | ServerToServerToken
55
52
| InstallallationTokenV1
56
53
| InstallationUserToServerToken
57
54
| JWT
You can’t perform that action at this time.
0 commit comments