@volo/abp.ng.openiddictpro 8.0.0-rc.3 → 8.0.1
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/esm2022/config/openiddictpro-config.module.mjs +4 -4
- package/esm2022/lib/components/application-form-modal/application-form-modal.component.mjs +11 -11
- package/esm2022/lib/components/applications/applications.component.mjs +37 -33
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/scope-form-modal/scope-form-modal.component.mjs +3 -3
- package/esm2022/lib/components/scopes/scopes.component.mjs +3 -3
- package/esm2022/lib/components/token-lifetime-modal/token-lifetime-modal.component.mjs +69 -0
- package/esm2022/lib/defaults/default-applications-entity-actions.mjs +9 -1
- package/esm2022/lib/defaults/default-applications-entity-props.mjs +10 -4
- package/esm2022/lib/defaults/default-applications-form-props.mjs +18 -5
- package/esm2022/lib/defaults/default-applications-types.mjs +11 -1
- package/esm2022/lib/guards/extensions.guard.mjs +3 -3
- package/esm2022/lib/models/applications-service-state.mjs +1 -1
- package/esm2022/lib/openiddictpro-routing.module.mjs +4 -4
- package/esm2022/lib/openiddictpro.module.mjs +18 -7
- package/esm2022/lib/services/applications.service.mjs +15 -4
- package/esm2022/proxy/lib/proxy/application.service.mjs +13 -4
- package/esm2022/proxy/lib/proxy/applications/dtos/models.mjs +1 -1
- package/esm2022/proxy/lib/proxy/scope.service.mjs +3 -3
- package/fesm2022/volo-abp.ng.openiddictpro-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs +15 -6
- package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.openiddictpro.mjs +206 -90
- package/fesm2022/volo-abp.ng.openiddictpro.mjs.map +1 -1
- package/lib/components/application-form-modal/application-form-modal.component.d.ts +3 -3
- package/lib/components/applications/applications.component.d.ts +7 -8
- package/lib/components/index.d.ts +1 -0
- package/lib/components/token-lifetime-modal/token-lifetime-modal.component.d.ts +22 -0
- package/lib/defaults/default-applications-types.d.ts +4 -0
- package/lib/models/applications-service-state.d.ts +1 -0
- package/lib/openiddictpro.module.d.ts +3 -1
- package/lib/services/applications.service.d.ts +4 -1
- package/package.json +5 -5
- package/proxy/lib/proxy/application.service.d.ts +3 -1
- package/proxy/lib/proxy/applications/dtos/models.d.ts +12 -2
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export declare class ApplicationsService {
|
|
2
|
+
#private;
|
|
2
3
|
private state;
|
|
3
|
-
isModalVisible
|
|
4
|
+
isModalVisible: import("@angular/core").Signal<boolean>;
|
|
5
|
+
isTokenLifetimeModalVisible: import("@angular/core").Signal<boolean>;
|
|
4
6
|
openModal(): void;
|
|
5
7
|
setModalState(value: boolean): void;
|
|
8
|
+
setTokenLifetimeModalState(value: boolean): void;
|
|
6
9
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.openiddictpro",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~8.0.
|
|
7
|
-
"@abp/ng.permission-management": "~8.0.
|
|
8
|
-
"@abp/ng.theme.shared": "~8.0.
|
|
9
|
-
"@volo/abp.commercial.ng.ui": "~8.0.
|
|
6
|
+
"@abp/ng.components": "~8.0.1",
|
|
7
|
+
"@abp/ng.permission-management": "~8.0.1",
|
|
8
|
+
"@abp/ng.theme.shared": "~8.0.1",
|
|
9
|
+
"@volo/abp.commercial.ng.ui": "~8.0.1",
|
|
10
10
|
"tslib": "^2.0.0"
|
|
11
11
|
},
|
|
12
12
|
"publishConfig": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApplicationDto, CreateApplicationInput, GetApplicationListInput, UpdateApplicationInput } from './applications/dtos/models';
|
|
1
|
+
import type { ApplicationDto, ApplicationTokenLifetimeDto, CreateApplicationInput, GetApplicationListInput, UpdateApplicationInput } from './applications/dtos/models';
|
|
2
2
|
import { RestService, Rest } from '@abp/ng.core';
|
|
3
3
|
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -9,6 +9,8 @@ export declare class ApplicationService {
|
|
|
9
9
|
delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
|
|
10
10
|
get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationDto>;
|
|
11
11
|
getList: (input: GetApplicationListInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<ApplicationDto>>;
|
|
12
|
+
getTokenLifetime: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationTokenLifetimeDto>;
|
|
13
|
+
setTokenLifetime: (id: string, input: ApplicationTokenLifetimeDto, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
|
|
12
14
|
update: (id: string, input: UpdateApplicationInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationDto>;
|
|
13
15
|
constructor(restService: RestService);
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ExtensibleEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
2
|
export interface ApplicationCreateOrUpdateDtoBase extends ExtensibleObject {
|
|
3
|
+
applicationType: string;
|
|
3
4
|
clientId: string;
|
|
4
5
|
displayName: string;
|
|
5
|
-
|
|
6
|
+
clientType?: string;
|
|
6
7
|
clientSecret?: string;
|
|
7
8
|
consentType?: string;
|
|
8
9
|
extensionGrantTypes: string[];
|
|
@@ -21,9 +22,10 @@ export interface ApplicationCreateOrUpdateDtoBase extends ExtensibleObject {
|
|
|
21
22
|
logoUri?: string;
|
|
22
23
|
}
|
|
23
24
|
export interface ApplicationDto extends ExtensibleEntityDto<string> {
|
|
25
|
+
applicationType?: string;
|
|
24
26
|
clientId?: string;
|
|
25
27
|
displayName?: string;
|
|
26
|
-
|
|
28
|
+
clientType?: string;
|
|
27
29
|
clientSecret?: string;
|
|
28
30
|
consentType?: string;
|
|
29
31
|
extensionGrantTypes: string[];
|
|
@@ -41,6 +43,14 @@ export interface ApplicationDto extends ExtensibleEntityDto<string> {
|
|
|
41
43
|
clientUri?: string;
|
|
42
44
|
logoUri?: string;
|
|
43
45
|
}
|
|
46
|
+
export interface ApplicationTokenLifetimeDto {
|
|
47
|
+
accessTokenLifetime?: number;
|
|
48
|
+
authorizationCodeLifetime?: number;
|
|
49
|
+
deviceCodeLifetime?: number;
|
|
50
|
+
identityTokenLifetime?: number;
|
|
51
|
+
refreshTokenLifetime?: number;
|
|
52
|
+
userCodeLifetime?: number;
|
|
53
|
+
}
|
|
44
54
|
export interface CreateApplicationInput extends ApplicationCreateOrUpdateDtoBase {
|
|
45
55
|
}
|
|
46
56
|
export interface GetApplicationListInput extends PagedAndSortedResultRequestDto {
|