@volo/abp.ng.openiddictpro 10.4.0 → 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
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { signal, computed, inject, Injector, DestroyRef, output, input, Component, InjectionToken, NgModule, Injectable } from '@angular/core';
|
|
2
|
+
import { signal, computed, inject, Injector, DestroyRef, output, input, Component, ChangeDetectionStrategy, InjectionToken, NgModule, Injectable } from '@angular/core';
|
|
3
3
|
import { InternalStore, LocalizationService, SubscriptionService, LocalizationPipe, ListService, ReplaceableTemplateDirective, ReplaceableRouteContainerComponent, authGuard, permissionGuard, RouterOutletComponent, LazyModuleFactory, CoreModule } from '@abp/ng.core';
|
|
4
4
|
import * as i1$1 from '@angular/router';
|
|
5
5
|
import { RouterModule } from '@angular/router';
|
|
6
6
|
import { of, skip, finalize, filter, switchMap, map as map$1, tap } from 'rxjs';
|
|
7
7
|
import { ToasterService, ModalCloseDirective, ModalComponent, ButtonComponent, ConfirmationService, Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
8
8
|
import { PageComponent, PageModule } from '@abp/ng.components/page';
|
|
9
|
-
import { FormPropData, generateFormFromProps, ExtensibleFormComponent, ExtensibleTableComponent, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, FormProp, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps } from '@abp/ng.components/extensible';
|
|
9
|
+
import { FormPropData, generateFormFromProps, ExtensibleFormComponent, ExtensibleTableComponent, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, EXTENSIONS_FORM_PROP, FormProp, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps } from '@abp/ng.components/extensible';
|
|
10
10
|
import { PermissionManagementComponent, PermissionManagementModule } from '@abp/ng.permission-management';
|
|
11
11
|
import { AdvancedEntityFiltersComponent, SHOW_ENTITY_HISTORY, CommercialUiModule, AdvancedEntityFiltersModule } from '@volo/abp.commercial.ng.ui';
|
|
12
12
|
import { ApplicationService, ScopeService } from '@volo/abp.ng.openiddictpro/proxy';
|
|
13
13
|
import * as i1 from '@angular/forms';
|
|
14
|
-
import { FormsModule, ReactiveFormsModule, FormBuilder, Validators } from '@angular/forms';
|
|
15
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
14
|
+
import { FormsModule, ReactiveFormsModule, FormBuilder, Validators, FormGroupDirective } from '@angular/forms';
|
|
15
|
+
import { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';
|
|
16
16
|
import * as i2 from '@ngx-validate/core';
|
|
17
17
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
18
18
|
import { AsyncPipe } from '@angular/common';
|
|
19
|
-
import { map, tap as tap$1, mapTo } from 'rxjs/operators';
|
|
19
|
+
import { startWith, map, tap as tap$1, mapTo } from 'rxjs/operators';
|
|
20
20
|
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
21
21
|
|
|
22
22
|
class ApplicationsService {
|
|
@@ -56,6 +56,10 @@ const defaultApplicationTypes = {
|
|
|
56
56
|
public: 'public',
|
|
57
57
|
confidential: 'confidential',
|
|
58
58
|
};
|
|
59
|
+
const defaultClientAuthenticationMethods = {
|
|
60
|
+
secret: 'secret',
|
|
61
|
+
jwks: 'jwks',
|
|
62
|
+
};
|
|
59
63
|
const defaultApplicationTypesList = [
|
|
60
64
|
{
|
|
61
65
|
key: 'Web',
|
|
@@ -124,6 +128,9 @@ class ApplicationFormModalComponent {
|
|
|
124
128
|
redirectUris: hashSetParser(selectedValue.redirectUris),
|
|
125
129
|
postLogoutRedirectUris: hashSetParser(selectedValue.postLogoutRedirectUris),
|
|
126
130
|
extensionGrantTypes: hashSetParser(selectedValue.extensionGrantTypes),
|
|
131
|
+
clientAuthMethod: selectedValue.jsonWebKeySet?.trim()
|
|
132
|
+
? defaultClientAuthenticationMethods.jwks
|
|
133
|
+
: defaultClientAuthenticationMethods.secret,
|
|
127
134
|
}
|
|
128
135
|
: { clientType: null };
|
|
129
136
|
const data = new FormPropData(this.injector, selected);
|
|
@@ -150,12 +157,24 @@ class ApplicationFormModalComponent {
|
|
|
150
157
|
const parseTextAreaValue = value => {
|
|
151
158
|
return Array.isArray(value) ? value : hashSetParser(value);
|
|
152
159
|
};
|
|
160
|
+
const raw = this.form.getRawValue();
|
|
161
|
+
const { clientAuthMethod, ...payload } = raw;
|
|
153
162
|
const formValue = {
|
|
154
|
-
...
|
|
163
|
+
...payload,
|
|
155
164
|
redirectUris: parseTextAreaValue(this.form.value.redirectUris),
|
|
156
165
|
postLogoutRedirectUris: parseTextAreaValue(this.form.value.postLogoutRedirectUris),
|
|
157
166
|
extensionGrantTypes: parseTextAreaValue(this.form.value.extensionGrantTypes),
|
|
158
167
|
};
|
|
168
|
+
if (formValue.clientType === defaultApplicationTypes.public) {
|
|
169
|
+
formValue.clientSecret = null;
|
|
170
|
+
formValue.jsonWebKeySet = null;
|
|
171
|
+
}
|
|
172
|
+
else if (clientAuthMethod === defaultClientAuthenticationMethods.jwks) {
|
|
173
|
+
formValue.clientSecret = null;
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
formValue.jsonWebKeySet = null;
|
|
177
|
+
}
|
|
159
178
|
if (isEditMode) {
|
|
160
179
|
sub = this.service.update(id, formValue);
|
|
161
180
|
}
|
|
@@ -176,8 +195,19 @@ class ApplicationFormModalComponent {
|
|
|
176
195
|
this.form.patchValue({
|
|
177
196
|
allowEndSessionEndpoint: false,
|
|
178
197
|
allowClientCredentialsFlow: false,
|
|
198
|
+
clientSecret: '',
|
|
199
|
+
jsonWebKeySet: '',
|
|
200
|
+
clientAuthMethod: defaultClientAuthenticationMethods.secret,
|
|
179
201
|
});
|
|
180
202
|
}
|
|
203
|
+
else if (value === defaultApplicationTypes.confidential) {
|
|
204
|
+
const auth = this.form.get('clientAuthMethod')?.value;
|
|
205
|
+
if (!auth) {
|
|
206
|
+
this.form.patchValue({
|
|
207
|
+
clientAuthMethod: defaultClientAuthenticationMethods.secret,
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
}
|
|
181
211
|
});
|
|
182
212
|
}
|
|
183
213
|
togglePushAuthorizationState() {
|
|
@@ -207,10 +237,10 @@ class ApplicationFormModalComponent {
|
|
|
207
237
|
return this.localizationService.instant(displayName);
|
|
208
238
|
}
|
|
209
239
|
}
|
|
210
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
211
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ApplicationFormModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
241
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: ApplicationFormModalComponent, isStandalone: true, selector: "abp-application-form-modal", inputs: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { saved: "saved" }, ngImport: i0, template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event)\" [options]=\"options\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (selected()?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewApplication') | abpLocalization\r\n }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"row\">\r\n <abp-extensible-form class=\"row gap-x2\" [selectedRecord]=\"selected()\" />\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"applicationForm\">\r\n {{ 'AbpOpenIddict::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
212
242
|
}
|
|
213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
|
|
214
244
|
type: Component,
|
|
215
245
|
args: [{ selector: 'abp-application-form-modal', imports: [
|
|
216
246
|
FormsModule,
|
|
@@ -296,10 +326,10 @@ class TokenLifetimeModalComponent {
|
|
|
296
326
|
}
|
|
297
327
|
this.#service.setTokenLifetimeModalState(false);
|
|
298
328
|
}
|
|
299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
300
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: TokenLifetimeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
330
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: TokenLifetimeModalComponent, isStandalone: true, selector: "abp-token-lifetime-modal", inputs: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { saved: "saved" }, ngImport: i0, template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event)\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpOpenIddict::TokenLifetime' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <medium>\r\n <p class=\"mb-3\">\r\n {{ 'AbpOpenIddict::TokenLifetimeHit' | abpLocalization }}\r\n </p>\r\n </medium>\r\n\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"accessTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::AccessTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"accessTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"accessTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"authorizationCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::AuthorizationCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"authorizationCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"authorizationCodeLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"deviceCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::DeviceCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"deviceCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"deviceCodeLifetime\"\r\n />\r\n </div>\r\n\r\n <div class=\"form-group mb-3\">\r\n <label for=\"identityTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::IdentityTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"identityTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"identityTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"refreshTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::RefreshTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"refreshTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"refreshTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"userCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::UserCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"userCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"userCodeLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"requestTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::RequestTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"requestTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"requestTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"issuedTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::IssuedTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"issuedTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"issuedTokenLifetime\"\r\n />\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n buttonType=\"submit\"\r\n [disabled]=\"loading()\"\r\n formName=\"applicationForm\"\r\n >{{ 'AbpOpenIddict::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
301
331
|
}
|
|
302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: TokenLifetimeModalComponent, decorators: [{
|
|
303
333
|
type: Component,
|
|
304
334
|
args: [{ selector: 'abp-token-lifetime-modal', imports: [
|
|
305
335
|
FormsModule,
|
|
@@ -368,8 +398,8 @@ class ApplicationsComponent {
|
|
|
368
398
|
this.selected.set(record);
|
|
369
399
|
this.service.setTokenLifetimeModalState(true);
|
|
370
400
|
}
|
|
371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
372
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
401
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ApplicationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
402
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ApplicationsComponent, isStandalone: true, selector: "abp-applications", providers: [
|
|
373
403
|
ListService,
|
|
374
404
|
{
|
|
375
405
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -377,7 +407,7 @@ class ApplicationsComponent {
|
|
|
377
407
|
},
|
|
378
408
|
], ngImport: i0, template: "<abp-page [title]=\"'AbpOpenIddict::Applications' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n <abp-advanced-entity-filters localizationSourceName=\"AbpOpenIddict\" [list]=\"list\" />\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table [data]=\"data.items\" [recordsTotal]=\"data.totalCount\" [list]=\"list\" />\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n@if (service.isModalVisible()) {\r\n <abp-application-form-modal [selected]=\"selected()\" (saved)=\"onSaved()\" />\r\n}\r\n\r\n@if (service.isTokenLifetimeModalVisible()) {\r\n <abp-token-lifetime-modal [selected]=\"selected()\" />\r\n}\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'C' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visiblePermissions, twoWay: true },\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent',\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n providerName=\"C\"\r\n [providerKey]=\"providerKey\"\r\n/>\r\n", dependencies: [{ kind: "directive", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight", "rowDetailTemplate", "rowDetailHeight"], outputs: ["tableActivate", "selectionChange", "loadMore", "rowDetailToggle"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "component", type: TokenLifetimeModalComponent, selector: "abp-token-lifetime-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
379
409
|
}
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ApplicationsComponent, decorators: [{
|
|
381
411
|
type: Component,
|
|
382
412
|
args: [{ selector: 'abp-applications', providers: [
|
|
383
413
|
ListService,
|
|
@@ -442,10 +472,10 @@ class ScopeFormModalComponent {
|
|
|
442
472
|
const data = new FormPropData(this.injector, selected);
|
|
443
473
|
this.form = generateFormFromProps(data);
|
|
444
474
|
}
|
|
445
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
446
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ScopeFormModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
476
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: ScopeFormModalComponent, isStandalone: true, selector: "abp-scope-form-modal", inputs: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { saved: "saved" }, usesOnChanges: true, ngImport: i0, template: "<abp-modal [visible]=\"isModalVisible$ | async\" (visibleChange)=\"visibleChange($event)\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected()?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewScope') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form\r\n [formGroup]=\"form\"\r\n id=\"scopeForm\"\r\n [blueprints]=\"blueprints\"\r\n (ngSubmit)=\"save()\"\r\n validateOnSubmit\r\n >\r\n <abp-extensible-form [selectedRecord]=\"selected()\" />\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"scopeForm\"\r\n >{{ 'AbpOpenIddict::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
447
477
|
}
|
|
448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
|
|
449
479
|
type: Component,
|
|
450
480
|
args: [{ selector: 'abp-scope-form-modal', imports: [
|
|
451
481
|
FormsModule,
|
|
@@ -503,8 +533,8 @@ class ScopesComponent {
|
|
|
503
533
|
onSaved() {
|
|
504
534
|
this.list.get();
|
|
505
535
|
}
|
|
506
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
507
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
536
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ScopesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
537
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.15", type: ScopesComponent, isStandalone: true, selector: "abp-scopes", providers: [
|
|
508
538
|
ListService,
|
|
509
539
|
{
|
|
510
540
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -512,7 +542,7 @@ class ScopesComponent {
|
|
|
512
542
|
},
|
|
513
543
|
], ngImport: i0, template: "<abp-page [title]=\"'AbpOpenIddict::Scopes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n <abp-advanced-entity-filters localizationSourceName=\"AbpOpenIddict\" [list]=\"list\" />\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table [data]=\"data.items\" [recordsTotal]=\"data.totalCount\" [list]=\"list\" />\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-scope-form-modal [selected]=\"selected\" (saved)=\"onSaved()\" />\r\n", dependencies: [{ kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight", "rowDetailTemplate", "rowDetailHeight"], outputs: ["tableActivate", "selectionChange", "loadMore", "rowDetailToggle"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: ScopeFormModalComponent, selector: "abp-scope-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "component", type: AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
514
544
|
}
|
|
515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ScopesComponent, decorators: [{
|
|
516
546
|
type: Component,
|
|
517
547
|
args: [{ selector: 'abp-scopes', providers: [
|
|
518
548
|
ListService,
|
|
@@ -637,6 +667,168 @@ function isEmptyInputValue(value) {
|
|
|
637
667
|
return (value == null || ((typeof value === 'string' || Array.isArray(value)) && value.length === 0));
|
|
638
668
|
}
|
|
639
669
|
|
|
670
|
+
class ApplicationClientAuthMethodFieldComponent {
|
|
671
|
+
constructor() {
|
|
672
|
+
this.prop = inject(EXTENSIONS_FORM_PROP);
|
|
673
|
+
this.formDirective = inject(FormGroupDirective);
|
|
674
|
+
this.secretValue = defaultClientAuthenticationMethods.secret;
|
|
675
|
+
this.jwksValue = defaultClientAuthenticationMethods.jwks;
|
|
676
|
+
const authCtrl = this.formDirective.control.get('clientAuthMethod');
|
|
677
|
+
const secretCtrl = this.formDirective.control.get('clientSecret');
|
|
678
|
+
const jwksCtrl = this.formDirective.control.get('jsonWebKeySet');
|
|
679
|
+
if (!authCtrl || !secretCtrl || !jwksCtrl) {
|
|
680
|
+
throw new Error('OpenIddict application form: missing clientAuthMethod / clientSecret / jsonWebKeySet controls');
|
|
681
|
+
}
|
|
682
|
+
this.clientAuthMethodControl = authCtrl;
|
|
683
|
+
this.clientSecretControl = secretCtrl;
|
|
684
|
+
this.jsonWebKeySetControl = jwksCtrl;
|
|
685
|
+
this.authMethod = toSignal(this.clientAuthMethodControl.valueChanges.pipe(startWith(this.clientAuthMethodControl.value), map((v) => v ?? defaultClientAuthenticationMethods.secret)), { initialValue: defaultClientAuthenticationMethods.secret });
|
|
686
|
+
}
|
|
687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ApplicationClientAuthMethodFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
688
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ApplicationClientAuthMethodFieldComponent, isStandalone: true, selector: "abp-application-client-auth-method-field", ngImport: i0, template: `
|
|
689
|
+
<div [id]="prop.id + '-radios'" class="mb-1 form-group" validationTarget>
|
|
690
|
+
@if (prop.displayName) {
|
|
691
|
+
<label class="form-label d-block">{{ prop.displayName | abpLocalization }}</label>
|
|
692
|
+
}
|
|
693
|
+
<div class="form-check mb-1">
|
|
694
|
+
<input
|
|
695
|
+
class="form-check-input"
|
|
696
|
+
type="radio"
|
|
697
|
+
[id]="prop.id + '-secret'"
|
|
698
|
+
[name]="prop.id + '-clientAuthMethod'"
|
|
699
|
+
[value]="secretValue"
|
|
700
|
+
[formControl]="clientAuthMethodControl"
|
|
701
|
+
/>
|
|
702
|
+
<label class="form-check-label" [for]="prop.id + '-secret'">
|
|
703
|
+
{{ 'AbpOpenIddict::ClientSecretMethod' | abpLocalization }}
|
|
704
|
+
</label>
|
|
705
|
+
</div>
|
|
706
|
+
<div class="form-check mb-1">
|
|
707
|
+
<input
|
|
708
|
+
class="form-check-input"
|
|
709
|
+
type="radio"
|
|
710
|
+
[id]="prop.id + '-jwks'"
|
|
711
|
+
[name]="prop.id + '-clientAuthMethod'"
|
|
712
|
+
[value]="jwksValue"
|
|
713
|
+
[formControl]="clientAuthMethodControl"
|
|
714
|
+
/>
|
|
715
|
+
<label class="form-check-label" [for]="prop.id + '-jwks'">
|
|
716
|
+
{{ 'AbpOpenIddict::PrivateKeyJwtMethod' | abpLocalization }}
|
|
717
|
+
</label>
|
|
718
|
+
</div>
|
|
719
|
+
</div>
|
|
720
|
+
|
|
721
|
+
@if (authMethod() !== jwksValue) {
|
|
722
|
+
<div class="mb-1 form-group" validationTarget>
|
|
723
|
+
<label class="form-label" for="application-client-secret">{{
|
|
724
|
+
'AbpOpenIddict::ClientSecret' | abpLocalization
|
|
725
|
+
}}</label>
|
|
726
|
+
<input
|
|
727
|
+
id="application-client-secret"
|
|
728
|
+
class="form-control"
|
|
729
|
+
type="text"
|
|
730
|
+
autocomplete="off"
|
|
731
|
+
[formControl]="clientSecretControl"
|
|
732
|
+
/>
|
|
733
|
+
<small class="text-muted d-block mt-1">{{
|
|
734
|
+
'AbpOpenIddict::ClientSecretHelpText' | abpLocalization
|
|
735
|
+
}}</small>
|
|
736
|
+
</div>
|
|
737
|
+
} @else {
|
|
738
|
+
<div class="mb-1 form-group" validationTarget>
|
|
739
|
+
<label class="form-label" for="application-json-web-key-set">{{
|
|
740
|
+
'AbpOpenIddict::JsonWebKeySet' | abpLocalization
|
|
741
|
+
}}</label>
|
|
742
|
+
<textarea
|
|
743
|
+
id="application-json-web-key-set"
|
|
744
|
+
class="form-control font-monospace"
|
|
745
|
+
rows="10"
|
|
746
|
+
[formControl]="jsonWebKeySetControl"
|
|
747
|
+
spellcheck="false"
|
|
748
|
+
></textarea>
|
|
749
|
+
<small class="text-muted d-block mt-1">{{
|
|
750
|
+
'AbpOpenIddict::JsonWebKeySetHelpText' | abpLocalization
|
|
751
|
+
}}</small>
|
|
752
|
+
</div>
|
|
753
|
+
}
|
|
754
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationTargetDirective, selector: "[validationTarget]", exportAs: ["validationTarget"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
755
|
+
}
|
|
756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ApplicationClientAuthMethodFieldComponent, decorators: [{
|
|
757
|
+
type: Component,
|
|
758
|
+
args: [{
|
|
759
|
+
selector: 'abp-application-client-auth-method-field',
|
|
760
|
+
imports: [ReactiveFormsModule, LocalizationPipe, NgxValidateCoreModule],
|
|
761
|
+
template: `
|
|
762
|
+
<div [id]="prop.id + '-radios'" class="mb-1 form-group" validationTarget>
|
|
763
|
+
@if (prop.displayName) {
|
|
764
|
+
<label class="form-label d-block">{{ prop.displayName | abpLocalization }}</label>
|
|
765
|
+
}
|
|
766
|
+
<div class="form-check mb-1">
|
|
767
|
+
<input
|
|
768
|
+
class="form-check-input"
|
|
769
|
+
type="radio"
|
|
770
|
+
[id]="prop.id + '-secret'"
|
|
771
|
+
[name]="prop.id + '-clientAuthMethod'"
|
|
772
|
+
[value]="secretValue"
|
|
773
|
+
[formControl]="clientAuthMethodControl"
|
|
774
|
+
/>
|
|
775
|
+
<label class="form-check-label" [for]="prop.id + '-secret'">
|
|
776
|
+
{{ 'AbpOpenIddict::ClientSecretMethod' | abpLocalization }}
|
|
777
|
+
</label>
|
|
778
|
+
</div>
|
|
779
|
+
<div class="form-check mb-1">
|
|
780
|
+
<input
|
|
781
|
+
class="form-check-input"
|
|
782
|
+
type="radio"
|
|
783
|
+
[id]="prop.id + '-jwks'"
|
|
784
|
+
[name]="prop.id + '-clientAuthMethod'"
|
|
785
|
+
[value]="jwksValue"
|
|
786
|
+
[formControl]="clientAuthMethodControl"
|
|
787
|
+
/>
|
|
788
|
+
<label class="form-check-label" [for]="prop.id + '-jwks'">
|
|
789
|
+
{{ 'AbpOpenIddict::PrivateKeyJwtMethod' | abpLocalization }}
|
|
790
|
+
</label>
|
|
791
|
+
</div>
|
|
792
|
+
</div>
|
|
793
|
+
|
|
794
|
+
@if (authMethod() !== jwksValue) {
|
|
795
|
+
<div class="mb-1 form-group" validationTarget>
|
|
796
|
+
<label class="form-label" for="application-client-secret">{{
|
|
797
|
+
'AbpOpenIddict::ClientSecret' | abpLocalization
|
|
798
|
+
}}</label>
|
|
799
|
+
<input
|
|
800
|
+
id="application-client-secret"
|
|
801
|
+
class="form-control"
|
|
802
|
+
type="text"
|
|
803
|
+
autocomplete="off"
|
|
804
|
+
[formControl]="clientSecretControl"
|
|
805
|
+
/>
|
|
806
|
+
<small class="text-muted d-block mt-1">{{
|
|
807
|
+
'AbpOpenIddict::ClientSecretHelpText' | abpLocalization
|
|
808
|
+
}}</small>
|
|
809
|
+
</div>
|
|
810
|
+
} @else {
|
|
811
|
+
<div class="mb-1 form-group" validationTarget>
|
|
812
|
+
<label class="form-label" for="application-json-web-key-set">{{
|
|
813
|
+
'AbpOpenIddict::JsonWebKeySet' | abpLocalization
|
|
814
|
+
}}</label>
|
|
815
|
+
<textarea
|
|
816
|
+
id="application-json-web-key-set"
|
|
817
|
+
class="form-control font-monospace"
|
|
818
|
+
rows="10"
|
|
819
|
+
[formControl]="jsonWebKeySetControl"
|
|
820
|
+
spellcheck="false"
|
|
821
|
+
></textarea>
|
|
822
|
+
<small class="text-muted d-block mt-1">{{
|
|
823
|
+
'AbpOpenIddict::JsonWebKeySetHelpText' | abpLocalization
|
|
824
|
+
}}</small>
|
|
825
|
+
</div>
|
|
826
|
+
}
|
|
827
|
+
`,
|
|
828
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
829
|
+
}]
|
|
830
|
+
}], ctorParameters: () => [] });
|
|
831
|
+
|
|
640
832
|
const allowFlow = ({ allowImplicitFlow, allowAuthorizationCodeFlow, allowHybridFlow, }) => {
|
|
641
833
|
return allowAuthorizationCodeFlow || allowImplicitFlow || allowHybridFlow;
|
|
642
834
|
};
|
|
@@ -650,11 +842,10 @@ const groupRight = {
|
|
|
650
842
|
className: 'col col-md-6',
|
|
651
843
|
};
|
|
652
844
|
const className = 'mb-1 form-group';
|
|
653
|
-
// @ts-ignore
|
|
654
845
|
const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
655
846
|
{
|
|
656
847
|
type: "string" /* ePropType.String */,
|
|
657
|
-
options:
|
|
848
|
+
options: () => of(defaultApplicationTypesList),
|
|
658
849
|
name: 'applicationType',
|
|
659
850
|
displayName: 'AbpOpenIddict::ApplicationType',
|
|
660
851
|
id: 'applicationType',
|
|
@@ -714,9 +905,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
714
905
|
},
|
|
715
906
|
{
|
|
716
907
|
type: "string" /* ePropType.String */,
|
|
717
|
-
name: '
|
|
718
|
-
displayName: 'AbpOpenIddict::
|
|
719
|
-
id: '
|
|
908
|
+
name: 'clientAuthMethod',
|
|
909
|
+
displayName: 'AbpOpenIddict::ClientAuthenticationMethod',
|
|
910
|
+
id: 'clientAuthMethod',
|
|
911
|
+
defaultValue: defaultClientAuthenticationMethods.secret,
|
|
912
|
+
template: ApplicationClientAuthMethodFieldComponent,
|
|
720
913
|
visible: data => {
|
|
721
914
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
722
915
|
return formValue.clientType === defaultApplicationTypes.confidential;
|
|
@@ -724,6 +917,26 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
724
917
|
group: groupLeft,
|
|
725
918
|
className: className,
|
|
726
919
|
},
|
|
920
|
+
{
|
|
921
|
+
type: "string" /* ePropType.String */,
|
|
922
|
+
name: 'clientSecret',
|
|
923
|
+
displayName: 'AbpOpenIddict::ClientSecret',
|
|
924
|
+
id: 'clientSecret',
|
|
925
|
+
/** Rendered inside ApplicationClientAuthMethodFieldComponent (OnPush-safe). */
|
|
926
|
+
visible: () => false,
|
|
927
|
+
group: groupLeft,
|
|
928
|
+
className: className,
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
type: "text" /* ePropType.Text */,
|
|
932
|
+
name: 'jsonWebKeySet',
|
|
933
|
+
displayName: 'AbpOpenIddict::JsonWebKeySet',
|
|
934
|
+
id: 'jsonWebKeySet',
|
|
935
|
+
/** Rendered inside ApplicationClientAuthMethodFieldComponent; help text is in the template. */
|
|
936
|
+
visible: () => false,
|
|
937
|
+
group: groupLeft,
|
|
938
|
+
className: className,
|
|
939
|
+
},
|
|
727
940
|
{
|
|
728
941
|
type: "boolean" /* ePropType.Boolean */,
|
|
729
942
|
defaultValue: false,
|
|
@@ -1106,11 +1319,11 @@ const routes = [
|
|
|
1106
1319
|
},
|
|
1107
1320
|
];
|
|
1108
1321
|
class OpeniddictproRoutingModule {
|
|
1109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1110
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
1111
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
1322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1323
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
|
|
1324
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
1112
1325
|
}
|
|
1113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
|
|
1114
1327
|
type: NgModule,
|
|
1115
1328
|
args: [{
|
|
1116
1329
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -1160,8 +1373,8 @@ class OpeniddictproModule {
|
|
|
1160
1373
|
static forLazy(options = {}) {
|
|
1161
1374
|
return new LazyModuleFactory(OpeniddictproModule.forChild(options));
|
|
1162
1375
|
}
|
|
1163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1164
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
1376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1377
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
|
|
1165
1378
|
CoreModule,
|
|
1166
1379
|
CommercialUiModule,
|
|
1167
1380
|
ThemeSharedModule,
|
|
@@ -1172,14 +1385,15 @@ class OpeniddictproModule {
|
|
|
1172
1385
|
PermissionManagementModule,
|
|
1173
1386
|
ExtensibleFormComponent,
|
|
1174
1387
|
TokenLifetimeModalComponent,
|
|
1175
|
-
ExtensibleTableComponent,
|
|
1388
|
+
ExtensibleTableComponent,
|
|
1389
|
+
ApplicationClientAuthMethodFieldComponent, ApplicationsComponent,
|
|
1176
1390
|
ApplicationFormModalComponent,
|
|
1177
1391
|
ScopesComponent,
|
|
1178
1392
|
ScopeFormModalComponent], exports: [ApplicationsComponent,
|
|
1179
1393
|
ApplicationFormModalComponent,
|
|
1180
1394
|
ScopesComponent,
|
|
1181
1395
|
ScopeFormModalComponent] }); }
|
|
1182
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
1396
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
|
|
1183
1397
|
CoreModule,
|
|
1184
1398
|
CommercialUiModule,
|
|
1185
1399
|
ThemeSharedModule,
|
|
@@ -1190,9 +1404,10 @@ class OpeniddictproModule {
|
|
|
1190
1404
|
PermissionManagementModule,
|
|
1191
1405
|
ExtensibleFormComponent,
|
|
1192
1406
|
TokenLifetimeModalComponent,
|
|
1193
|
-
ExtensibleTableComponent,
|
|
1407
|
+
ExtensibleTableComponent,
|
|
1408
|
+
ApplicationClientAuthMethodFieldComponent, components] }); }
|
|
1194
1409
|
}
|
|
1195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpeniddictproModule, decorators: [{
|
|
1196
1411
|
type: NgModule,
|
|
1197
1412
|
args: [{
|
|
1198
1413
|
imports: [
|
|
@@ -1208,6 +1423,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
1208
1423
|
ExtensibleFormComponent,
|
|
1209
1424
|
TokenLifetimeModalComponent,
|
|
1210
1425
|
ExtensibleTableComponent,
|
|
1426
|
+
ApplicationClientAuthMethodFieldComponent,
|
|
1211
1427
|
...components,
|
|
1212
1428
|
],
|
|
1213
1429
|
exports: [...components],
|
|
@@ -1305,10 +1521,10 @@ class OpenIddictProExtensionsGuard {
|
|
|
1305
1521
|
mergeWithDefaultProps(extensions.editFormProps, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
|
|
1306
1522
|
}), mapTo(true));
|
|
1307
1523
|
}
|
|
1308
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1309
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1525
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpenIddictProExtensionsGuard }); }
|
|
1310
1526
|
}
|
|
1311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
|
|
1312
1528
|
type: Injectable
|
|
1313
1529
|
}] });
|
|
1314
1530
|
|
|
@@ -1316,5 +1532,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
1316
1532
|
* Generated bundle index. Do not edit.
|
|
1317
1533
|
*/
|
|
1318
1534
|
|
|
1319
|
-
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, hashSetParser };
|
|
1535
|
+
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, hashSetParser };
|
|
1320
1536
|
//# sourceMappingURL=volo-abp.ng.openiddictpro.mjs.map
|