@parra/parra-js-sdk 0.2.60 → 0.2.61
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/dist/ParraAPI.d.ts +1 -1
- package/dist/ParraAPI.js +1 -1
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -524,7 +524,7 @@ declare class ParraAPI {
|
|
|
524
524
|
createIdentityForUserById: (user_id: string, body: CreateIdentityRequestBody) => Promise<IdentityResponse>;
|
|
525
525
|
listIdentitiesForUserById: (user_id: string) => Promise<Array<IdentityResponse>>;
|
|
526
526
|
getUserByProviderAndProviderUserId: (provider: string, provider_user_id: string) => Promise<UserResponse>;
|
|
527
|
-
|
|
527
|
+
checkAuthorization: (body?: CheckAuthorizationRequestBody | undefined) => Promise<CheckAuthorization>;
|
|
528
528
|
getUserInfo: () => Promise<UserInfoResponse>;
|
|
529
529
|
getParraAuthToken: () => Promise<AuthToken>;
|
|
530
530
|
}
|
package/dist/ParraAPI.js
CHANGED
|
@@ -301,7 +301,7 @@ var ParraAPI = /** @class */ (function () {
|
|
|
301
301
|
method: "get",
|
|
302
302
|
});
|
|
303
303
|
};
|
|
304
|
-
this.
|
|
304
|
+
this.checkAuthorization = function (body) {
|
|
305
305
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/authorization/check"), {
|
|
306
306
|
method: "post",
|
|
307
307
|
body: JSON.stringify(body),
|