lucid-extension-sdk 0.0.183 → 0.0.184
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/editorclient.d.ts +2 -2
- package/editorclient.js +2 -2
- package/package.json +1 -1
package/editorclient.d.ts
CHANGED
|
@@ -139,10 +139,10 @@ export declare class EditorClient {
|
|
|
139
139
|
oauthXhr(providerName: string, request: OAuthXHRRequest): Promise<XHRResponse>;
|
|
140
140
|
triggerAuthFlow(providerName: string): TriggerAuthFlowResult;
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
142
|
+
* Returns an OAuth token for the given provider, prompting the user to grant access if necessary
|
|
143
143
|
*
|
|
144
144
|
* @param providerName Name of the OAuth provider
|
|
145
|
-
* @returns An oauth token or undefined if
|
|
145
|
+
* @returns An oauth token, or undefined if a valid token cannot be obtained
|
|
146
146
|
*/
|
|
147
147
|
getOAuthToken(providerName: string): Promise<string | undefined>;
|
|
148
148
|
/**
|
package/editorclient.js
CHANGED
|
@@ -207,10 +207,10 @@ class EditorClient {
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
|
-
*
|
|
210
|
+
* Returns an OAuth token for the given provider, prompting the user to grant access if necessary
|
|
211
211
|
*
|
|
212
212
|
* @param providerName Name of the OAuth provider
|
|
213
|
-
* @returns An oauth token or undefined if
|
|
213
|
+
* @returns An oauth token, or undefined if a valid token cannot be obtained
|
|
214
214
|
*/
|
|
215
215
|
async getOAuthToken(providerName) {
|
|
216
216
|
return await this.sendCommand("got" /* CommandName.GetOAuthToken */, { 'p': providerName });
|