File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ export interface RESTOAuth2AuthorizationQuery {
40
40
prompt ?: 'consent' | 'none' ;
41
41
}
42
42
43
+ /**
44
+ * https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-token-revocation-example
45
+ */
46
+ export interface RESTPostOAuth2TokenRevocationQuery {
47
+ token : string ;
48
+ token_type_hint ?: 'access_token' | 'refresh_token' ;
49
+ }
50
+
43
51
/**
44
52
* https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example
45
53
*/
Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ export interface RESTOAuth2AuthorizationQuery {
40
40
prompt ?: 'consent' | 'none' ;
41
41
}
42
42
43
+ /**
44
+ * https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-token-revocation-example
45
+ */
46
+ export interface RESTPostOAuth2TokenRevocationQuery {
47
+ token : string ;
48
+ token_type_hint ?: 'access_token' | 'refresh_token' ;
49
+ }
50
+
43
51
/**
44
52
* https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example
45
53
*/
Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ export interface RESTOAuth2AuthorizationQuery {
40
40
prompt ?: 'consent' | 'none' ;
41
41
}
42
42
43
+ /**
44
+ * https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-token-revocation-example
45
+ */
46
+ export interface RESTPostOAuth2TokenRevocationQuery {
47
+ token : string ;
48
+ token_type_hint ?: 'access_token' | 'refresh_token' ;
49
+ }
50
+
43
51
/**
44
52
* https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example
45
53
*/
Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ export interface RESTOAuth2AuthorizationQuery {
40
40
prompt ?: 'consent' | 'none' ;
41
41
}
42
42
43
+ /**
44
+ * https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-token-revocation-example
45
+ */
46
+ export interface RESTPostOAuth2TokenRevocationQuery {
47
+ token : string ;
48
+ token_type_hint ?: 'access_token' | 'refresh_token' ;
49
+ }
50
+
43
51
/**
44
52
* https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example
45
53
*/
You can’t perform that action at this time.
0 commit comments