@alicloud/mpserverless-sdk
Advanced tools
Comparing version 2.0.0-alpha.2 to 2.0.0-alpha.3
@@ -5,3 +5,5 @@ import { Basement as Base, BasementOptions } from '@ant-basement/core'; | ||
interface UserService extends AuthService { | ||
authorize(options: AuthorizeOptions): Promise<void>; | ||
authorize(options: AuthorizeOptions): Promise<{ | ||
success: boolean; | ||
}>; | ||
} | ||
@@ -8,0 +10,0 @@ export declare class MPServerless extends Base { |
@@ -114,3 +114,3 @@ import * as tslib_1 from "tslib"; | ||
_this.user.authorize = function (options) { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
var hasToken; | ||
var hasToken, token; | ||
return tslib_1.__generator(this, function (_a) { | ||
@@ -125,4 +125,11 @@ switch (_a.label) { | ||
case 1: | ||
_a.sent(); | ||
_a.label = 2; | ||
token = _a.sent(); | ||
if (token) { | ||
return [2, { | ||
success: true, | ||
}]; | ||
} | ||
return [2, { | ||
success: false, | ||
}]; | ||
case 2: return [2]; | ||
@@ -155,2 +162,2 @@ } | ||
export { MPServerless }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXBzZXJ2ZXJsZXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL21wc2VydmVybGVzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNMLFFBQVEsSUFBSSxJQUFJLEVBQ2hCLG9CQUFvQixFQUVwQixNQUFNLEVBSU4sbUJBQW1CLEVBQ25CLFNBQVMsRUFDVCxTQUFTLEVBQ1QsU0FBUyxFQUNULHVCQUF1QixHQUN4QixNQUFNLG9CQUFvQixDQUFDO0FBQzVCLE9BQU8sRUFDTCxTQUFTLEVBQUUsV0FBVyxFQUFFLFdBQVcsRUFBRSxlQUFlLEdBQ3JELE1BQU0sd0JBQXdCLENBQUM7QUFDaEMsT0FBTyxFQUFFLHdCQUF3QixFQUFvQixNQUFNLGFBQWEs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ksQ0FBQyxTQUFTLEdBQUcsVUFBTyxPQUF5Qjs7Ozs7d0JBQzlDLFFBQVEsR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFDLFFBQVEsRUFBRSxDQUFDOzZCQUN2QyxDQUFDLFFBQVEsRUFBVCxjQUFTO3dCQUNHLFdBQU0sSUFBSSxDQUFDLFNBQVMsQ0FBQyxTQUFTLENBQUM7Z0NBQzNDLFlBQVksRUFBRSxPQUFPLENBQUMsWUFBWTs2QkFDbkMsQ0FBQyxFQUFBOzt3QkFGSSxLQUFLLEdBQUcsU0FFWjt3QkFDRixJQUFJLEtBQUssRUFBRTs0QkFDVCxXQUFPO29DQUNMLE9BQU8sRUFBRSxJQUFJO2lDQUNkLEVBQUM7eUJBQ0g7d0JBQ0QsV0FBTztnQ0FDTCxPQUFPLEVBQUUsS0FBSzs2QkFDZixFQUFBOzs7O2FBRUosQ0FBQzs7SUFDSixDQUFDO0lBTUQsc0JBQVcsaUNBQU87YUFBbEI7WUFDRSxPQUFPLE9BQU8sQ0FBQztRQUNqQixDQUFDOzs7T0FBQTtJQUtELHNCQUFjLDRCQUFFO2FBQWhCO1lBQ0UsT0FBTyxLQUFLLENBQUM7UUFDZixDQUFDOzs7T0FBQTtJQUVTLHNDQUFlLEdBQXpCLFVBQTBCLE9BQXdCO1FBQ2hELGlCQUFNLGVBQWUsWUFBQyxPQUFPLENBQUMsQ0FBQztRQUMvQixJQUFJLENBQUMsU0FBUyxDQUFDLFlBQVksQ0FBQyxPQUFPLENBQUMsWUFBWSxDQUFDLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNuRSxDQUFDO0lBQ0gsbUJBQUM7QUFBRCxDQUFDLEFBdkRELENBQWtDLElBQUksR0F1RHJDIn0= |
@@ -5,3 +5,5 @@ import { Basement as Base, BasementOptions } from '@ant-basement/core'; | ||
interface UserService extends AuthService { | ||
authorize(options: AuthorizeOptions): Promise<void>; | ||
authorize(options: AuthorizeOptions): Promise<{ | ||
success: boolean; | ||
}>; | ||
} | ||
@@ -8,0 +10,0 @@ export declare class MPServerless extends Base { |
@@ -91,5 +91,13 @@ (function (factory) { | ||
if (!hasToken) { | ||
await this.transport.authorize({ | ||
const token = await this.transport.authorize({ | ||
authProvider: options.authProvider, | ||
}); | ||
if (token) { | ||
return { | ||
success: true, | ||
}; | ||
} | ||
return { | ||
success: false, | ||
}; | ||
} | ||
@@ -111,2 +119,2 @@ }; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXBzZXJ2ZXJsZXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL21wc2VydmVybGVzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7SUFBQSw2Q0FhNEI7SUFDNUIscURBRWdDO0lBQ2hDLDJDQUF5RTtJQUN6RSw2REFBNkI7SUFDN0IsbUNBQWtEO0lBRWxELE1BQU0sc0JBQXVCLFNBQVEsc0JBQVc7UUFNdkMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxPQUEwQjtZQUNoRCxhQUFNLENBQUMsT0FBTyxDQUFDLFFBQVEsSUFBSSxPQUFPLE9BQU8sQ0FBQyxRQUFRLEtBQUssUUFBUSxFQUFFLDBCQUEwQixDQUFDLENBQUM7WUFFN0YsTUFBTSxZQUFZLEdBQUcsT0FBTyxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1lBQy9ELE1BQU0sU0FBUyxHQUFHLFlBQVksQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRyxFQUFFLENBQUM7WUFDaEQsYUFBTSxDQUFDLDJCQUFvQixDQUFDLFFBQVEsQ0FBQyxTQUFTLENBQUMsV0FBVyxFQUFFLENBQUMsRUFBRSxTQUFTLFNBQVMsT0FBTyxDQUF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QVEsRUFBRTtvQkFDYixNQUFNLEtBQUssR0FBRyxNQUFNLElBQUksQ0FBQyxTQUFTLENBQUMsU0FBUyxDQUFDO3dCQUMzQyxZQUFZLEVBQUUsT0FBTyxDQUFDLFlBQVk7cUJBQ25DLENBQUMsQ0FBQztvQkFDSCxJQUFJLEtBQUssRUFBRTt3QkFDVCxPQUFPOzRCQUNMLE9BQU8sRUFBRSxJQUFJO3lCQUNkLENBQUM7cUJBQ0g7b0JBQ0QsT0FBTzt3QkFDTCxPQUFPLEVBQUUsS0FBSztxQkFDZixDQUFBO2lCQUNGO1lBQ0gsQ0FBQyxDQUFDO1FBQ0osQ0FBQztRQU1ELElBQVcsT0FBTztZQUNoQixPQUFPLE9BQU8sQ0FBQztRQUNqQixDQUFDO1FBS0QsSUFBYyxFQUFFO1lBQ2QsT0FBTyxLQUFLLENBQUM7UUFDZixDQUFDO1FBRVMsZUFBZSxDQUFDLE9BQXdCO1lBQ2hELEtBQUssQ0FBQyxlQUFlLENBQUMsT0FBTyxDQUFDLENBQUM7WUFDL0IsSUFBSSxDQUFDLFNBQVMsQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLFlBQVksQ0FBQyxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7UUFDbkUsQ0FBQztLQUNGO0lBdkRELG9DQXVEQyJ9 |
{ | ||
"name": "@alicloud/mpserverless-sdk", | ||
"author": "zack-lin <linzegia@gmail.com>", | ||
"version": "2.0.0-alpha.2", | ||
"version": "2.0.0-alpha.3", | ||
"description": "JavaScript SDK for Alicloud MPServerless", | ||
@@ -6,0 +6,0 @@ "main": "dist/umd/index.js", |
Sorry, the diff of this file is too big to display
673005
10271