File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
extensions/authorize-uri/src Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ class RingCentral implements RingCentralInterface {
231231 await this . restapi ( null )
232232 . oauth ( )
233233 . revoke ( )
234- . post ( { token : temp , client_id : this . rest . clientId } as any ) ; // todo: spec doesn't allow client_id
234+ . post ( { token : temp , client_id : this . rest . clientId } ) ;
235235 this . token = undefined ;
236236 }
237237
Original file line number Diff line number Diff line change 11import type RingCentral from "@rc-ex/core" ;
22import SdkExtension from "@rc-ex/core/SdkExtension" ;
3- // import type AuthorizeRequest from "@rc-ex/core/definitions/AuthorizeRequest";
3+ import type AuthorizeRequest from "@rc-ex/core/definitions/AuthorizeRequest" ;
44import type { QueryDataMap } from "urijs" ;
55import URI from "urijs" ;
66
77export interface AuthorizeUriOptions {
88 baseUri ?: string ;
99}
1010
11- // todo: remove this type when spec updated
12- type AuthorizeRequest = {
13- response_type ?: string ;
14- client_id ?: string ;
15- code_challenge ?: string ;
16- code_challenge_method ?: string ;
17- redirect_uri ?: string ;
18- state ?: string ;
19- ui_options ?: string ;
20- } ;
21-
2211function isNode ( ) {
2312 return typeof process !== "undefined" &&
2413 process . versions ?. node != null &&
You can’t perform that action at this time.
0 commit comments