@volo/abp.ng.openiddictpro 10.4.0-rc.2 → 10.4.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/fesm2022/volo-abp.ng.openiddictpro-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs +14 -14
- package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.openiddictpro.mjs +256 -40
- package/fesm2022/volo-abp.ng.openiddictpro.mjs.map +1 -1
- package/package.json +5 -5
- package/types/volo-abp.ng.openiddictpro-proxy.d.ts +43 -43
- package/types/volo-abp.ng.openiddictpro.d.ts +34 -8
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.openiddictpro",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~10.4.
|
|
7
|
-
"@abp/ng.permission-management": "~10.4.
|
|
8
|
-
"@abp/ng.theme.shared": "~10.4.
|
|
9
|
-
"@volo/abp.commercial.ng.ui": "
|
|
6
|
+
"@abp/ng.components": "~10.4.1",
|
|
7
|
+
"@abp/ng.permission-management": "~10.4.1",
|
|
8
|
+
"@abp/ng.theme.shared": "~10.4.1",
|
|
9
|
+
"@volo/abp.commercial.ng.ui": "~10.4.1",
|
|
10
10
|
"tslib": "^2.0.0"
|
|
11
11
|
},
|
|
12
12
|
"publishConfig": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtensibleObject, ExtensibleEntityDto, PagedAndSortedResultRequestDto, Rest, PagedResultDto
|
|
1
|
+
import { ExtensibleObject, ExtensibleEntityDto, PagedAndSortedResultRequestDto, Rest, PagedResultDto } from '@abp/ng.core';
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
|
|
@@ -8,24 +8,25 @@ interface ApplicationCreateOrUpdateDtoBase extends ExtensibleObject {
|
|
|
8
8
|
displayName: string;
|
|
9
9
|
clientType?: string;
|
|
10
10
|
clientSecret?: string;
|
|
11
|
+
jsonWebKeySet?: string;
|
|
11
12
|
consentType?: string;
|
|
12
|
-
extensionGrantTypes
|
|
13
|
-
postLogoutRedirectUris
|
|
14
|
-
redirectUris
|
|
13
|
+
extensionGrantTypes?: string[];
|
|
14
|
+
postLogoutRedirectUris?: string[];
|
|
15
|
+
redirectUris?: string[];
|
|
15
16
|
frontChannelLogoutUri?: string;
|
|
16
|
-
allowPasswordFlow
|
|
17
|
-
allowClientCredentialsFlow
|
|
18
|
-
allowAuthorizationCodeFlow
|
|
19
|
-
allowRefreshTokenFlow
|
|
20
|
-
allowHybridFlow
|
|
21
|
-
allowImplicitFlow
|
|
22
|
-
allowTokenExchangeFlow
|
|
23
|
-
allowEndSessionEndpoint
|
|
24
|
-
allowDeviceAuthorizationEndpoint
|
|
25
|
-
forcePkce
|
|
26
|
-
allowPushedAuthorizationEndpoint
|
|
27
|
-
forcePushedAuthorization
|
|
28
|
-
scopes
|
|
17
|
+
allowPasswordFlow?: boolean;
|
|
18
|
+
allowClientCredentialsFlow?: boolean;
|
|
19
|
+
allowAuthorizationCodeFlow?: boolean;
|
|
20
|
+
allowRefreshTokenFlow?: boolean;
|
|
21
|
+
allowHybridFlow?: boolean;
|
|
22
|
+
allowImplicitFlow?: boolean;
|
|
23
|
+
allowTokenExchangeFlow?: boolean;
|
|
24
|
+
allowEndSessionEndpoint?: boolean;
|
|
25
|
+
allowDeviceAuthorizationEndpoint?: boolean;
|
|
26
|
+
forcePkce?: boolean;
|
|
27
|
+
allowPushedAuthorizationEndpoint?: boolean;
|
|
28
|
+
forcePushedAuthorization?: boolean;
|
|
29
|
+
scopes?: string[];
|
|
29
30
|
clientUri?: string;
|
|
30
31
|
logoUri?: string;
|
|
31
32
|
}
|
|
@@ -35,36 +36,37 @@ interface ApplicationDto extends ExtensibleEntityDto<string> {
|
|
|
35
36
|
displayName?: string;
|
|
36
37
|
clientType?: string;
|
|
37
38
|
clientSecret?: string;
|
|
39
|
+
jsonWebKeySet?: string;
|
|
38
40
|
consentType?: string;
|
|
39
|
-
extensionGrantTypes
|
|
40
|
-
postLogoutRedirectUris
|
|
41
|
-
redirectUris
|
|
41
|
+
extensionGrantTypes?: string[];
|
|
42
|
+
postLogoutRedirectUris?: string[];
|
|
43
|
+
redirectUris?: string[];
|
|
42
44
|
frontChannelLogoutUri?: string;
|
|
43
|
-
allowPasswordFlow
|
|
44
|
-
allowClientCredentialsFlow
|
|
45
|
-
allowAuthorizationCodeFlow
|
|
46
|
-
allowRefreshTokenFlow
|
|
47
|
-
allowHybridFlow
|
|
48
|
-
allowImplicitFlow
|
|
49
|
-
allowTokenExchangeFlow
|
|
50
|
-
allowEndSessionEndpoint
|
|
51
|
-
allowDeviceAuthorizationEndpoint
|
|
52
|
-
forcePkce
|
|
53
|
-
allowPushedAuthorizationEndpoint
|
|
54
|
-
forcePushedAuthorization
|
|
55
|
-
scopes
|
|
45
|
+
allowPasswordFlow?: boolean;
|
|
46
|
+
allowClientCredentialsFlow?: boolean;
|
|
47
|
+
allowAuthorizationCodeFlow?: boolean;
|
|
48
|
+
allowRefreshTokenFlow?: boolean;
|
|
49
|
+
allowHybridFlow?: boolean;
|
|
50
|
+
allowImplicitFlow?: boolean;
|
|
51
|
+
allowTokenExchangeFlow?: boolean;
|
|
52
|
+
allowEndSessionEndpoint?: boolean;
|
|
53
|
+
allowDeviceAuthorizationEndpoint?: boolean;
|
|
54
|
+
forcePkce?: boolean;
|
|
55
|
+
allowPushedAuthorizationEndpoint?: boolean;
|
|
56
|
+
forcePushedAuthorization?: boolean;
|
|
57
|
+
scopes?: string[];
|
|
56
58
|
clientUri?: string;
|
|
57
59
|
logoUri?: string;
|
|
58
60
|
}
|
|
59
61
|
interface ApplicationTokenLifetimeDto {
|
|
60
|
-
accessTokenLifetime?: number;
|
|
61
|
-
authorizationCodeLifetime?: number;
|
|
62
|
-
deviceCodeLifetime?: number;
|
|
63
|
-
identityTokenLifetime?: number;
|
|
64
|
-
refreshTokenLifetime?: number;
|
|
65
|
-
userCodeLifetime?: number;
|
|
66
|
-
requestTokenLifetime?: number;
|
|
67
|
-
issuedTokenLifetime?: number;
|
|
62
|
+
accessTokenLifetime?: number | null;
|
|
63
|
+
authorizationCodeLifetime?: number | null;
|
|
64
|
+
deviceCodeLifetime?: number | null;
|
|
65
|
+
identityTokenLifetime?: number | null;
|
|
66
|
+
refreshTokenLifetime?: number | null;
|
|
67
|
+
userCodeLifetime?: number | null;
|
|
68
|
+
requestTokenLifetime?: number | null;
|
|
69
|
+
issuedTokenLifetime?: number | null;
|
|
68
70
|
}
|
|
69
71
|
interface CreateApplicationInput extends ApplicationCreateOrUpdateDtoBase {
|
|
70
72
|
}
|
|
@@ -136,7 +138,6 @@ declare class ApplicationService {
|
|
|
136
138
|
getTokenLifetime: (id: string, config?: Partial<Rest.Config>) => rxjs.Observable<ApplicationTokenLifetimeDto>;
|
|
137
139
|
setTokenLifetime: (id: string, input: ApplicationTokenLifetimeDto, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
138
140
|
update: (id: string, input: UpdateApplicationInput, config?: Partial<Rest.Config>) => rxjs.Observable<ApplicationDto>;
|
|
139
|
-
constructor(restService: RestService);
|
|
140
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
|
|
141
142
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationService>;
|
|
142
143
|
}
|
|
@@ -150,7 +151,6 @@ declare class ScopeService {
|
|
|
150
151
|
getAllScopes: (config?: Partial<Rest.Config>) => rxjs.Observable<ScopeDto[]>;
|
|
151
152
|
getList: (input: GetScopeListInput, config?: Partial<Rest.Config>) => rxjs.Observable<PagedResultDto<ScopeDto>>;
|
|
152
153
|
update: (id: string, input: UpdateScopeInput, config?: Partial<Rest.Config>) => rxjs.Observable<ScopeDto>;
|
|
153
|
-
constructor(restService: RestService);
|
|
154
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScopeService, never>;
|
|
155
155
|
static ɵprov: i0.ɵɵInjectableDeclaration<ScopeService>;
|
|
156
156
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, Injector, DestroyRef, OnChanges, SimpleChanges, ModuleWithProviders, NgModuleFactory, InjectionToken } from '@angular/core';
|
|
2
|
+
import { OnInit, Signal, Injector, DestroyRef, OnChanges, SimpleChanges, ModuleWithProviders, NgModuleFactory, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _abp_ng_components_extensible from '@abp/ng.components/extensible';
|
|
4
4
|
import { EntityActionContributorCallback, ToolbarActionContributorCallback, EntityPropContributorCallback, CreateFormPropContributorCallback, EditFormPropContributorCallback, EntityAction, EntityProp, FormProp, ToolbarAction } from '@abp/ng.components/extensible';
|
|
5
5
|
import * as _volo_abp_ng_openiddictpro_proxy from '@volo/abp.ng.openiddictpro/proxy';
|
|
@@ -16,7 +16,7 @@ import * as i6 from '@ngx-validate/core';
|
|
|
16
16
|
import * as i7 from '@abp/ng.components/page';
|
|
17
17
|
import * as i8 from '@abp/ng.permission-management';
|
|
18
18
|
import * as _angular_forms from '@angular/forms';
|
|
19
|
-
import { UntypedFormGroup, ValidatorFn } from '@angular/forms';
|
|
19
|
+
import { FormControl, UntypedFormGroup, ValidatorFn } from '@angular/forms';
|
|
20
20
|
import * as rxjs from 'rxjs';
|
|
21
21
|
import { Subscription, Observable } from 'rxjs';
|
|
22
22
|
|
|
@@ -70,6 +70,20 @@ declare class TokenLifetimeModalComponent implements OnInit {
|
|
|
70
70
|
static ɵcmp: i0.ɵɵComponentDeclaration<TokenLifetimeModalComponent, "abp-token-lifetime-modal", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "saved": "saved"; }, never, never, true, never>;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
declare class ApplicationClientAuthMethodFieldComponent {
|
|
74
|
+
readonly prop: _abp_ng_components_extensible.FormProp<any>;
|
|
75
|
+
private readonly formDirective;
|
|
76
|
+
readonly clientAuthMethodControl: FormControl<string | null>;
|
|
77
|
+
readonly clientSecretControl: FormControl<string | null>;
|
|
78
|
+
readonly jsonWebKeySetControl: FormControl<string | null>;
|
|
79
|
+
readonly secretValue: string;
|
|
80
|
+
readonly jwksValue: string;
|
|
81
|
+
readonly authMethod: Signal<string>;
|
|
82
|
+
constructor();
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationClientAuthMethodFieldComponent, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationClientAuthMethodFieldComponent, "abp-application-client-auth-method-field", never, {}, {}, never, never, true, never>;
|
|
85
|
+
}
|
|
86
|
+
|
|
73
87
|
declare class ApplicationsService {
|
|
74
88
|
#private;
|
|
75
89
|
private state;
|
|
@@ -190,7 +204,7 @@ declare class OpeniddictproModule {
|
|
|
190
204
|
*/
|
|
191
205
|
static forLazy(options?: OpenIddictProConfigOptions): NgModuleFactory<OpeniddictproModule>;
|
|
192
206
|
static ɵfac: i0.ɵɵFactoryDeclaration<OpeniddictproModule, never>;
|
|
193
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OpeniddictproModule, never, [typeof OpeniddictproRoutingModule, typeof i2.CoreModule, typeof i3.CommercialUiModule, typeof i4.ThemeSharedModule, typeof i5.NgbDropdownModule, typeof i6.NgxValidateCoreModule, typeof i7.PageModule, typeof i3.AdvancedEntityFiltersModule, typeof i8.PermissionManagementModule, typeof _abp_ng_components_extensible.ExtensibleFormComponent, typeof TokenLifetimeModalComponent, typeof _abp_ng_components_extensible.ExtensibleTableComponent, typeof ApplicationsComponent, typeof ApplicationFormModalComponent, typeof ScopesComponent, typeof ScopeFormModalComponent], [typeof ApplicationsComponent, typeof ApplicationFormModalComponent, typeof ScopesComponent, typeof ScopeFormModalComponent]>;
|
|
207
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OpeniddictproModule, never, [typeof OpeniddictproRoutingModule, typeof i2.CoreModule, typeof i3.CommercialUiModule, typeof i4.ThemeSharedModule, typeof i5.NgbDropdownModule, typeof i6.NgxValidateCoreModule, typeof i7.PageModule, typeof i3.AdvancedEntityFiltersModule, typeof i8.PermissionManagementModule, typeof _abp_ng_components_extensible.ExtensibleFormComponent, typeof TokenLifetimeModalComponent, typeof _abp_ng_components_extensible.ExtensibleTableComponent, typeof ApplicationClientAuthMethodFieldComponent, typeof ApplicationsComponent, typeof ApplicationFormModalComponent, typeof ScopesComponent, typeof ScopeFormModalComponent], [typeof ApplicationsComponent, typeof ApplicationFormModalComponent, typeof ScopesComponent, typeof ScopeFormModalComponent]>;
|
|
194
208
|
static ɵinj: i0.ɵɵInjectorDeclaration<OpeniddictproModule>;
|
|
195
209
|
}
|
|
196
210
|
|
|
@@ -202,8 +216,12 @@ declare const DEFAULT_APPLICATIONS_ENTITY_ACTIONS: EntityAction<_volo_abp_ng_ope
|
|
|
202
216
|
|
|
203
217
|
declare const DEFAULT_APPLICATIONS_ENTITY_PROPS: EntityProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[];
|
|
204
218
|
|
|
205
|
-
|
|
206
|
-
|
|
219
|
+
type ApplicationFormRecord = Applications.Dtos.ApplicationDto & {
|
|
220
|
+
/** Not sent to the API; cleared in save. */
|
|
221
|
+
clientAuthMethod?: string;
|
|
222
|
+
};
|
|
223
|
+
declare const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS: FormProp<ApplicationFormRecord>[];
|
|
224
|
+
declare const DEFAULT_APPLICATIONS_FORM_PROPS: FormProp<ApplicationFormRecord>[];
|
|
207
225
|
|
|
208
226
|
declare const DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS: ToolbarAction<_volo_abp_ng_openiddictpro_proxy.ApplicationDto[]>[];
|
|
209
227
|
|
|
@@ -215,6 +233,10 @@ declare const defaultApplicationTypes: {
|
|
|
215
233
|
public: string;
|
|
216
234
|
confidential: string;
|
|
217
235
|
};
|
|
236
|
+
declare const defaultClientAuthenticationMethods: {
|
|
237
|
+
secret: string;
|
|
238
|
+
jwks: string;
|
|
239
|
+
};
|
|
218
240
|
declare const defaultApplicationTypesList: {
|
|
219
241
|
key: string;
|
|
220
242
|
value: string;
|
|
@@ -259,11 +281,15 @@ declare const DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS: {
|
|
|
259
281
|
"OpenIddictPro.Scopes": _abp_ng_components_extensible.EntityProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[];
|
|
260
282
|
};
|
|
261
283
|
declare const DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS: {
|
|
262
|
-
"OpenIddictPro.Applications": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto
|
|
284
|
+
"OpenIddictPro.Applications": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto & {
|
|
285
|
+
clientAuthMethod?: string;
|
|
286
|
+
}>[];
|
|
263
287
|
"OpenIddictPro.Scopes": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[];
|
|
264
288
|
};
|
|
265
289
|
declare const DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS: {
|
|
266
|
-
"OpenIddictPro.Applications": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto
|
|
290
|
+
"OpenIddictPro.Applications": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto & {
|
|
291
|
+
clientAuthMethod?: string;
|
|
292
|
+
}>[];
|
|
267
293
|
"OpenIddictPro.Scopes": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[];
|
|
268
294
|
};
|
|
269
295
|
declare const OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS: InjectionToken<Partial<{
|
|
@@ -287,4 +313,4 @@ declare function hashSetParser(stringOrArray: string | Array<string>): string |
|
|
|
287
313
|
|
|
288
314
|
declare function UrisValidator(): ValidatorFn;
|
|
289
315
|
|
|
290
|
-
export { ApplicationFormModalComponent, ApplicationsComponent, ApplicationsService, DEFAULT_APPLICATIONS_CREATE_FORM_PROPS, DEFAULT_APPLICATIONS_ENTITY_ACTIONS, DEFAULT_APPLICATIONS_ENTITY_PROPS, DEFAULT_APPLICATIONS_FORM_PROPS, DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, DEFAULT_SCOPES_ENTITY_PROPS, DEFAULT_SCOPES_FORM_PROPS, DEFAULT_SCOPES_TOOLBAR_ACTIONS, DEFAULT_SCOPE_CREATE_FORM_PROPS, DEFAULT_SCOPE_ENTITY_ACTIONS, DefaultApplicationsConsentType, OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, OpenIddictProExtensionsGuard, OpeniddictproModule, ScopeFormModalComponent, ScopesComponent, ScopesService, TokenLifetimeModalComponent, UrisValidator, allowFlow, createRoutes, defaultApplicationTypes, defaultApplicationTypesList, defaultApplicationsTypeList, defaultUriPattern, eOpenIddictProComponents, hashSetParser };
|
|
316
|
+
export { ApplicationClientAuthMethodFieldComponent, ApplicationFormModalComponent, ApplicationsComponent, ApplicationsService, DEFAULT_APPLICATIONS_CREATE_FORM_PROPS, DEFAULT_APPLICATIONS_ENTITY_ACTIONS, DEFAULT_APPLICATIONS_ENTITY_PROPS, DEFAULT_APPLICATIONS_FORM_PROPS, DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, DEFAULT_SCOPES_ENTITY_PROPS, DEFAULT_SCOPES_FORM_PROPS, DEFAULT_SCOPES_TOOLBAR_ACTIONS, DEFAULT_SCOPE_CREATE_FORM_PROPS, DEFAULT_SCOPE_ENTITY_ACTIONS, DefaultApplicationsConsentType, OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, OpenIddictProExtensionsGuard, OpeniddictproModule, ScopeFormModalComponent, ScopesComponent, ScopesService, TokenLifetimeModalComponent, UrisValidator, allowFlow, createRoutes, defaultApplicationTypes, defaultApplicationTypesList, defaultApplicationsTypeList, defaultClientAuthenticationMethods, defaultUriPattern, eOpenIddictProComponents, hashSetParser };
|