mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[jsforce] Added missing types that prevented refreshing token in sandbox (#43224)
* Added missing type overload * Added missing types to PartialOAuth2Options * Revert "Added missing types to PartialOAuth2Options" This reverts commit 7e02bfa4fa53fbe3940284cd571bb7248a912885. * Added missing types that prevented refreshing token in sandbox
This commit is contained in:
parent
531228c3fd
commit
0295ce3ab0
4
types/jsforce/connection.d.ts
vendored
4
types/jsforce/connection.d.ts
vendored
@ -24,12 +24,14 @@ export interface RestApiOptions {
|
||||
}
|
||||
|
||||
// These are pulled out because according to http://jsforce.github.io/jsforce/doc/connection.js.html#line49
|
||||
// the oauth options can either be in the `oauth2` proeprty OR spread across the main connection
|
||||
// the oauth options can either be in the `oauth2` property OR spread across the main connection
|
||||
export interface PartialOAuth2Options {
|
||||
clientId?: string;
|
||||
clientSecret?: string;
|
||||
loginUrl?: string;
|
||||
redirectUri?: string;
|
||||
tokenServiceUrl?: string;
|
||||
authzServiceUrl?: string;
|
||||
}
|
||||
|
||||
export interface RequestInfo {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user