@volo/abp.ng.identity 5.0.0 → 5.1.2
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/config/package.json +5 -5
- package/esm2020/config/components/identity-settings.component.mjs +94 -0
- package/esm2020/config/components/index.mjs +3 -0
- package/esm2020/config/components/my-link-users-modal.component.mjs +136 -0
- package/esm2020/config/enums/index.mjs +4 -0
- package/esm2020/config/enums/policy-names.mjs +2 -0
- package/esm2020/config/enums/route-names.mjs +2 -0
- package/esm2020/config/enums/setting-tab-names.mjs +2 -0
- package/esm2020/config/handlers/link-login.handler.mjs +70 -0
- package/esm2020/config/identity-config.module.mjs +37 -0
- package/esm2020/config/models/identity-settings.mjs +2 -0
- package/esm2020/config/models/index.mjs +2 -0
- package/esm2020/config/providers/index.mjs +3 -0
- package/esm2020/config/providers/route.provider.mjs +56 -0
- package/esm2020/config/providers/setting-tab.provider.mjs +24 -0
- package/esm2020/config/public-api.mjs +8 -0
- package/esm2020/config/services/identity-config.service.mjs +32 -0
- package/esm2020/config/services/identity-link-login.service.mjs +40 -0
- package/esm2020/config/services/index.mjs +3 -0
- package/esm2020/config/utils/factories.mjs +14 -0
- package/esm2020/config/volo-abp.ng.identity-config.mjs +5 -0
- package/esm2020/lib/components/claim-modal/claim-modal.component.mjs +92 -0
- package/esm2020/lib/components/claims/claims.component.mjs +114 -0
- package/esm2020/lib/components/index.mjs +12 -0
- package/esm2020/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +77 -0
- package/esm2020/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +110 -0
- package/esm2020/lib/components/organization-units/organization-members/organization-members.component.mjs +50 -0
- package/esm2020/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +78 -0
- package/esm2020/lib/components/organization-units/organization-roles/organization-roles.component.mjs +50 -0
- package/esm2020/lib/components/organization-units/organization-units.component.mjs +147 -0
- package/esm2020/lib/components/roles/roles.component.mjs +125 -0
- package/esm2020/lib/components/security-logs/security-logs.component.mjs +52 -0
- package/esm2020/lib/components/users/users.component.mjs +247 -0
- package/esm2020/lib/defaults/default-claims-entity-actions.mjs +22 -0
- package/esm2020/lib/defaults/default-claims-entity-props.mjs +49 -0
- package/esm2020/lib/defaults/default-claims-form-props.mjs +52 -0
- package/esm2020/lib/defaults/default-claims-toolbar-actions.mjs +14 -0
- package/esm2020/lib/defaults/default-organization-members-entity-actions.mjs +14 -0
- package/esm2020/lib/defaults/default-organization-members-entity-props.mjs +23 -0
- package/esm2020/lib/defaults/default-organization-roles-entity-actions.mjs +14 -0
- package/esm2020/lib/defaults/default-organization-roles-entity-props.mjs +10 -0
- package/esm2020/lib/defaults/default-organization-units-form-props.mjs +13 -0
- package/esm2020/lib/defaults/default-organization-units-toolbar-actions.mjs +3 -0
- package/esm2020/lib/defaults/default-roles-entity-actions.mjs +48 -0
- package/esm2020/lib/defaults/default-roles-entity-props.mjs +24 -0
- package/esm2020/lib/defaults/default-roles-form-props.mjs +28 -0
- package/esm2020/lib/defaults/default-roles-toolbar-actions.mjs +14 -0
- package/esm2020/lib/defaults/default-security-logs-entity-actions.mjs +3 -0
- package/esm2020/lib/defaults/default-security-logs-entity-props.mjs +131 -0
- package/esm2020/lib/defaults/default-security-logs-toolbar-actions.mjs +3 -0
- package/esm2020/lib/defaults/default-users-entity-actions.mjs +104 -0
- package/esm2020/lib/defaults/default-users-entity-props.mjs +116 -0
- package/esm2020/lib/defaults/default-users-form-props.mjs +64 -0
- package/esm2020/lib/defaults/default-users-toolbar-actions.mjs +14 -0
- package/esm2020/lib/enums/components.mjs +2 -0
- package/esm2020/lib/enums/index.mjs +3 -0
- package/esm2020/lib/enums/two-factor-behaviour.mjs +9 -0
- package/esm2020/lib/guards/extensions.guard.mjs +38 -0
- package/esm2020/lib/guards/index.mjs +2 -0
- package/esm2020/lib/identity-routing.module.mjs +89 -0
- package/esm2020/lib/identity.module.mjs +155 -0
- package/esm2020/lib/models/config-options.mjs +2 -0
- package/esm2020/lib/models/identity.mjs +2 -0
- package/esm2020/lib/models/index.mjs +3 -0
- package/esm2020/lib/tokens/extensions.token.mjs +63 -0
- package/esm2020/lib/tokens/index.mjs +2 -0
- package/esm2020/proxy/lib/index.mjs +3 -0
- package/esm2020/proxy/lib/proxy/identity/identity-claim-type.service.mjs +42 -0
- package/esm2020/proxy/lib/proxy/identity/identity-claim-value-type.enum.mjs +10 -0
- package/esm2020/proxy/lib/proxy/identity/identity-role.service.mjs +59 -0
- package/esm2020/proxy/lib/proxy/identity/identity-security-log.service.mjs +37 -0
- package/esm2020/proxy/lib/proxy/identity/identity-settings.service.mjs +28 -0
- package/esm2020/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +37 -0
- package/esm2020/proxy/lib/proxy/identity/identity-user.service.mjs +113 -0
- package/esm2020/proxy/lib/proxy/identity/index.mjs +10 -0
- package/esm2020/proxy/lib/proxy/identity/models.mjs +2 -0
- package/esm2020/proxy/lib/proxy/identity/organization-unit.service.mjs +90 -0
- package/esm2020/proxy/lib/proxy/users/index.mjs +2 -0
- package/esm2020/proxy/lib/proxy/users/models.mjs +2 -0
- package/esm2020/proxy/public-api.mjs +2 -0
- package/esm2020/proxy/volo-abp.ng.identity-proxy.mjs +5 -0
- package/esm2020/public-api.mjs +7 -0
- package/esm2020/volo-abp.ng.identity.mjs +5 -0
- package/fesm2015/{volo-abp.ng.identity-config.js → volo-abp.ng.identity-config.mjs} +24 -32
- package/fesm2015/volo-abp.ng.identity-config.mjs.map +1 -0
- package/fesm2015/{volo-abp.ng.identity-proxy.js → volo-abp.ng.identity-proxy.mjs} +24 -24
- package/fesm2015/volo-abp.ng.identity-proxy.mjs.map +1 -0
- package/fesm2015/{volo-abp.ng.identity.js → volo-abp.ng.identity.mjs} +133 -104
- package/fesm2015/volo-abp.ng.identity.mjs.map +1 -0
- package/fesm2020/volo-abp.ng.identity-config.mjs +466 -0
- package/fesm2020/volo-abp.ng.identity-config.mjs.map +1 -0
- package/fesm2020/volo-abp.ng.identity-proxy.mjs +398 -0
- package/fesm2020/volo-abp.ng.identity-proxy.mjs.map +1 -0
- package/fesm2020/volo-abp.ng.identity.mjs +2045 -0
- package/fesm2020/volo-abp.ng.identity.mjs.map +1 -0
- package/package.json +42 -13
- package/proxy/package.json +5 -5
- package/proxy/src/lib/proxy/README.md +17 -0
- package/bundles/volo-abp.ng.identity-config.umd.js +0 -1
- package/bundles/volo-abp.ng.identity-proxy.umd.js +0 -1
- package/bundles/volo-abp.ng.identity.umd.js +0 -16
- package/esm2015/config/components/identity-settings.component.js +0 -1
- package/esm2015/config/components/index.js +0 -1
- package/esm2015/config/components/my-link-users-modal.component.js +0 -1
- package/esm2015/config/enums/index.js +0 -1
- package/esm2015/config/enums/policy-names.js +0 -1
- package/esm2015/config/enums/route-names.js +0 -1
- package/esm2015/config/enums/setting-tab-names.js +0 -1
- package/esm2015/config/handlers/link-login.handler.js +0 -1
- package/esm2015/config/identity-config.module.js +0 -1
- package/esm2015/config/models/identity-settings.js +0 -1
- package/esm2015/config/models/index.js +0 -1
- package/esm2015/config/providers/index.js +0 -1
- package/esm2015/config/providers/route.provider.js +0 -1
- package/esm2015/config/providers/setting-tab.provider.js +0 -1
- package/esm2015/config/public-api.js +0 -1
- package/esm2015/config/services/identity-config.service.js +0 -1
- package/esm2015/config/services/identity-link-login.service.js +0 -1
- package/esm2015/config/services/index.js +0 -1
- package/esm2015/config/utils/factories.js +0 -1
- package/esm2015/config/volo-abp.ng.identity-config.js +0 -1
- package/esm2015/lib/components/claim-modal/claim-modal.component.js +0 -1
- package/esm2015/lib/components/claims/claims.component.js +0 -1
- package/esm2015/lib/components/index.js +0 -1
- package/esm2015/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.js +0 -1
- package/esm2015/lib/components/organization-units/organization-members/organization-members-modal-body.component.js +0 -1
- package/esm2015/lib/components/organization-units/organization-members/organization-members.component.js +0 -1
- package/esm2015/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.js +0 -1
- package/esm2015/lib/components/organization-units/organization-roles/organization-roles.component.js +0 -1
- package/esm2015/lib/components/organization-units/organization-units.component.js +0 -1
- package/esm2015/lib/components/roles/roles.component.js +0 -1
- package/esm2015/lib/components/security-logs/security-logs.component.js +0 -1
- package/esm2015/lib/components/users/users.component.js +0 -1
- package/esm2015/lib/defaults/default-claims-entity-actions.js +0 -1
- package/esm2015/lib/defaults/default-claims-entity-props.js +0 -1
- package/esm2015/lib/defaults/default-claims-form-props.js +0 -1
- package/esm2015/lib/defaults/default-claims-toolbar-actions.js +0 -1
- package/esm2015/lib/defaults/default-organization-members-entity-actions.js +0 -1
- package/esm2015/lib/defaults/default-organization-members-entity-props.js +0 -1
- package/esm2015/lib/defaults/default-organization-roles-entity-actions.js +0 -1
- package/esm2015/lib/defaults/default-organization-roles-entity-props.js +0 -1
- package/esm2015/lib/defaults/default-organization-units-form-props.js +0 -1
- package/esm2015/lib/defaults/default-organization-units-toolbar-actions.js +0 -1
- package/esm2015/lib/defaults/default-roles-entity-actions.js +0 -1
- package/esm2015/lib/defaults/default-roles-entity-props.js +0 -1
- package/esm2015/lib/defaults/default-roles-form-props.js +0 -1
- package/esm2015/lib/defaults/default-roles-toolbar-actions.js +0 -1
- package/esm2015/lib/defaults/default-security-logs-entity-actions.js +0 -1
- package/esm2015/lib/defaults/default-security-logs-entity-props.js +0 -1
- package/esm2015/lib/defaults/default-security-logs-toolbar-actions.js +0 -1
- package/esm2015/lib/defaults/default-users-entity-actions.js +0 -1
- package/esm2015/lib/defaults/default-users-entity-props.js +0 -1
- package/esm2015/lib/defaults/default-users-form-props.js +0 -1
- package/esm2015/lib/defaults/default-users-toolbar-actions.js +0 -1
- package/esm2015/lib/enums/components.js +0 -1
- package/esm2015/lib/enums/index.js +0 -1
- package/esm2015/lib/enums/two-factor-behaviour.js +0 -1
- package/esm2015/lib/guards/extensions.guard.js +0 -1
- package/esm2015/lib/guards/index.js +0 -1
- package/esm2015/lib/identity-routing.module.js +0 -1
- package/esm2015/lib/identity.module.js +0 -1
- package/esm2015/lib/models/config-options.js +0 -1
- package/esm2015/lib/models/identity.js +0 -1
- package/esm2015/lib/models/index.js +0 -1
- package/esm2015/lib/tokens/extensions.token.js +0 -1
- package/esm2015/lib/tokens/index.js +0 -1
- package/esm2015/proxy/lib/index.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/identity-claim-type.service.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/identity-claim-value-type.enum.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/identity-role.service.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/identity-security-log.service.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/identity-settings.service.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/identity-user-lookup.service.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/identity-user.service.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/index.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/models.js +0 -1
- package/esm2015/proxy/lib/proxy/identity/organization-unit.service.js +0 -1
- package/esm2015/proxy/lib/proxy/users/index.js +0 -1
- package/esm2015/proxy/lib/proxy/users/models.js +0 -1
- package/esm2015/proxy/public-api.js +0 -1
- package/esm2015/proxy/volo-abp.ng.identity-proxy.js +0 -1
- package/esm2015/public-api.js +0 -1
- package/esm2015/volo-abp.ng.identity.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.identity-config.mjs","sources":["../../../../packages/identity/config/src/services/identity-config.service.ts","../../../../packages/identity/config/src/components/identity-settings.component.ts","../../../../packages/identity/config/src/components/identity-settings.component.html","../../../../packages/identity/config/src/services/identity-link-login.service.ts","../../../../packages/identity/config/src/handlers/link-login.handler.ts","../../../../packages/identity/config/src/components/my-link-users-modal.component.ts","../../../../packages/identity/config/src/components/my-link-users-modal.component.html","../../../../packages/identity/config/src/providers/route.provider.ts","../../../../packages/identity/config/src/providers/setting-tab.provider.ts","../../../../packages/identity/config/src/utils/factories.ts","../../../../packages/identity/config/src/identity-config.module.ts","../../../../packages/identity/config/src/volo-abp.ng.identity-config.ts"],"sourcesContent":["import { RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport type * as IdentitySettings from '../models/identity-settings';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n apiName = 'AbpIdentity';\r\n\r\n constructor(private restService: RestService) {}\r\n\r\n getSettings(): Observable<IdentitySettings.Settings> {\r\n return this.restService.request(\r\n {\r\n method: 'GET',\r\n url: '/api/identity/settings',\r\n },\r\n { apiName: this.apiName },\r\n );\r\n }\r\n\r\n updateSettings(body: IdentitySettings.Settings): Observable<void> {\r\n return this.restService.request(\r\n {\r\n method: 'PUT',\r\n url: `/api/identity/settings`,\r\n body,\r\n },\r\n { apiName: this.apiName },\r\n );\r\n }\r\n}\r\n","import { ConfigStateService, SubscriptionService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { filter, finalize } from 'rxjs/operators';\r\nimport type * as IdentitySettings from '../models/identity-settings';\r\nimport { IdentityConfigService } from '../services/identity-config.service';\r\n\r\nconst { required, max, min } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-identity-settings',\r\n templateUrl: './identity-settings.component.html',\r\n providers: [SubscriptionService],\r\n})\r\nexport class IdentitySettingsComponent {\r\n settings = {} as IdentitySettings.Settings;\r\n loading: boolean;\r\n form: FormGroup;\r\n\r\n get initialized(): boolean {\r\n return JSON.stringify(this.settings) !== '{}';\r\n }\r\n\r\n doNotRequireConfirmedPhoneNumber = () => {\r\n this.form.get('signIn.requireConfirmedPhoneNumber').setValue(false);\r\n };\r\n\r\n enablePhoneNumberConfirmation = () => {\r\n this.form.get('signIn.enablePhoneNumberConfirmation').setValue(true);\r\n };\r\n\r\n constructor(\r\n private identityConfigService: IdentityConfigService,\r\n private toaster: ToasterService,\r\n private fb: FormBuilder,\r\n private subscription: SubscriptionService,\r\n private configState: ConfigStateService,\r\n ) {\r\n identityConfigService.getSettings().subscribe(settings => {\r\n this.settings = settings;\r\n this.buildForm();\r\n this.syncConfirmationOptions();\r\n });\r\n }\r\n\r\n buildForm() {\r\n const passwordSettings: IdentitySettings.Password =\r\n this.settings?.password || ({} as IdentitySettings.Password);\r\n\r\n const password = this.fb.group({\r\n requiredLength: [passwordSettings.requiredLength, [required, max(32), min(2)]],\r\n requiredUniqueChars: [passwordSettings.requiredUniqueChars, [required, max(32), min(1)]],\r\n requireNonAlphanumeric: passwordSettings.requireNonAlphanumeric,\r\n requireLowercase: passwordSettings.requireLowercase,\r\n requireUppercase: passwordSettings.requireUppercase,\r\n requireDigit: passwordSettings.requireDigit,\r\n });\r\n\r\n const lockoutSettings: IdentitySettings.Lockout =\r\n this.settings?.lockout || ({} as IdentitySettings.Lockout);\r\n\r\n const lockout = this.fb.group({\r\n allowedForNewUsers: lockoutSettings.allowedForNewUsers,\r\n lockoutDuration: [lockoutSettings.lockoutDuration, [required]],\r\n maxFailedAccessAttempts: [lockoutSettings.maxFailedAccessAttempts, [required]],\r\n });\r\n\r\n const signInSettings: IdentitySettings.SignIn =\r\n this.settings?.signIn || ({} as IdentitySettings.SignIn);\r\n\r\n const signIn = this.fb.group({\r\n requireConfirmedEmail: signInSettings.requireConfirmedEmail,\r\n enablePhoneNumberConfirmation: signInSettings.enablePhoneNumberConfirmation,\r\n requireConfirmedPhoneNumber: signInSettings.requireConfirmedPhoneNumber,\r\n });\r\n\r\n const userSettings: IdentitySettings.User =\r\n this.settings?.user || ({} as IdentitySettings.User);\r\n\r\n const user = this.fb.group({\r\n isUserNameUpdateEnabled: userSettings.isUserNameUpdateEnabled,\r\n isEmailUpdateEnabled: userSettings.isEmailUpdateEnabled,\r\n });\r\n\r\n this.form = this.fb.group({\r\n password,\r\n lockout,\r\n signIn,\r\n user,\r\n });\r\n }\r\n\r\n syncConfirmationOptions() {\r\n this.subscription.addOne(\r\n this.form.get('signIn.requireConfirmedPhoneNumber').valueChanges.pipe(filter(Boolean)),\r\n this.enablePhoneNumberConfirmation,\r\n );\r\n\r\n this.subscription.addOne(\r\n this.form\r\n .get('signIn.enablePhoneNumberConfirmation')\r\n .valueChanges.pipe(filter(value => !value)),\r\n this.doNotRequireConfirmedPhoneNumber,\r\n );\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.identityConfigService\r\n .updateSettings(this.form.value)\r\n .pipe(\r\n finalize(() => {\r\n this.loading = false;\r\n this.configState.refreshAppState().subscribe();\r\n }),\r\n )\r\n .subscribe(() => this.toaster.success('AbpIdentity::SavedSuccessfully', null));\r\n }\r\n}\r\n","<h2>{{ 'AbpIdentity::Menu:IdentityManagement' | abpLocalization }}</h2>\r\n<hr class=\"my-4\" />\r\n<form\r\n *ngIf=\"form\"\r\n id=\"IdentitySettingsForm\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"submit()\"\r\n validateOnSubmit\r\n>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div formGroupName=\"password\">\r\n <h4>{{ 'AbpIdentity::PasswordSettings' | abpLocalization }}</h4>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredLength\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredLength\"\r\n name=\"Password.RequiredLength\"\r\n class=\"form-control\"\r\n formControlName=\"requiredLength\"\r\n min=\"2\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredLength' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Password_RequiredUniqueChars\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Password_RequiredUniqueChars\"\r\n name=\"Password.RequiredUniqueChars\"\r\n class=\"form-control\"\r\n formControlName=\"requiredUniqueChars\"\r\n min=\"0\"\r\n max=\"32\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequiredUniqueChars' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireNonAlphanumeric\"\r\n name=\"Password.RequireNonAlphanumeric\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireNonAlphanumeric\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireNonAlphanumeric\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireNonAlphanumeric'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireLowercase\"\r\n name=\"Password.RequireLowercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireLowercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireLowercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireLowercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireUppercase\"\r\n name=\"Password.RequireUppercase\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireUppercase\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireUppercase\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireUppercase' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Password_RequireDigit\"\r\n name=\"Password.RequireDigit\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireDigit\"\r\n /><label class=\"form-check-label\" for=\"Password_RequireDigit\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Password.RequireDigit' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"lockout\">\r\n <h4>{{ 'AbpIdentity::LockoutSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"Lockout_AllowedForNewUsers\"\r\n name=\"Lockout.AllowedForNewUsers\"\r\n class=\"form-check-input\"\r\n formControlName=\"allowedForNewUsers\"\r\n /><label class=\"form-check-label\" for=\"Lockout_AllowedForNewUsers\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.AllowedForNewUsers' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_LockoutDuration\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_LockoutDuration\"\r\n name=\"Lockout.LockoutDuration\"\r\n class=\"form-control\"\r\n formControlName=\"lockoutDuration\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.LockoutDuration' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"Lockout_MaxFailedAccessAttempts\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</label\r\n ><input\r\n type=\"number\"\r\n id=\"Lockout_MaxFailedAccessAttempts\"\r\n name=\"Lockout.MaxFailedAccessAttempts\"\r\n class=\"form-control\"\r\n formControlName=\"maxFailedAccessAttempts\"\r\n />\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.Lockout.MaxFailedAccessAttempts'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"signIn\">\r\n <h4>{{ 'AbpIdentity::SignInSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedEmail\"\r\n name=\"SignIn.RequireConfirmedEmail\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedEmail\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedEmail\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedEmail' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_EnablePhoneNumberConfirmation\"\r\n name=\"SignIn.EnablePhoneNumberConfirmation\"\r\n class=\"form-check-input\"\r\n formControlName=\"enablePhoneNumberConfirmation\"\r\n /><label class=\"form-check-label\" for=\"SignIn_EnablePhoneNumberConfirmation\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.EnablePhoneNumberConfirmation'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"SignIn_RequireConfirmedPhoneNumber\"\r\n name=\"SignIn.RequireConfirmedPhoneNumber\"\r\n class=\"form-check-input\"\r\n formControlName=\"requireConfirmedPhoneNumber\"\r\n /><label class=\"form-check-label\" for=\"SignIn_RequireConfirmedPhoneNumber\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.SignIn.RequireConfirmedPhoneNumber'\r\n | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-4\" />\r\n <div formGroupName=\"user\">\r\n <h4>{{ 'AbpIdentity::UserSettings' | abpLocalization }}</h4>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsEmailUpdateEnabled\"\r\n name=\"User.IsEmailUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isEmailUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsEmailUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsEmailUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"User_IsUserNameUpdateEnabled\"\r\n name=\"User.IsUserNameUpdateEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isUserNameUpdateEnabled\"\r\n /><label class=\"form-check-label\" for=\"User_IsUserNameUpdateEnabled\">{{\r\n 'AbpIdentity::DisplayName:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</label>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpIdentity::Description:Abp.Identity.User.IsUserNameUpdateEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n <hr class=\"my-3\" />\r\n <div>\r\n <abp-button\r\n iconClass=\"fa fa-save\"\r\n [loading]=\"loading\"\r\n buttonType=\"submit\"\r\n [disabled]=\"form?.invalid\"\r\n >\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { WebHttpUrlEncodingCodec } from '@abp/ng.core';\r\nimport { OAuthService, TokenResponse } from 'angular-oauth2-oidc';\r\nimport { Public } from '@volo/abp.ng.account/public/proxy';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityLinkLoginService {\r\n constructor(private oAuthService: OAuthService, private http: HttpClient) {}\r\n\r\n linkLogin(input: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo) {\r\n const { tokenEndpoint, clientId, dummyClientSecret, scope } = this.oAuthService;\r\n\r\n let headers = new HttpHeaders();\r\n headers = headers.set('Content-Type', 'application/x-www-form-urlencoded');\r\n\r\n let params = new HttpParams({ encoder: new WebHttpUrlEncodingCodec() })\r\n .set('grant_type', 'LinkLogin')\r\n .set('LinkUserId', input.linkUserId)\r\n .set('access_token', this.oAuthService.getAccessToken())\r\n .set('client_id', clientId)\r\n .set('client_secret', dummyClientSecret)\r\n .set('scope', scope);\r\n\r\n if (input.linkTenantId) {\r\n params = params.set('LinkTenantId', input.linkTenantId);\r\n }\r\n\r\n return this.http.post<TokenResponse>(tokenEndpoint, params, {\r\n headers,\r\n });\r\n }\r\n}\r\n","import { ToasterService } from '@abp/ng.theme.shared';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { Public } from '@volo/abp.ng.account/public/proxy';\r\nimport { from, of, pipe } from 'rxjs';\r\nimport { catchError, filter, switchMap, tap } from 'rxjs/operators';\r\nimport { IdentityLinkLoginService } from '../services/identity-link-login.service';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LinkLoginHandler {\r\n private handleLinkLoginError = (err: HttpErrorResponse) => {\r\n this.toaster.error(err.error?.error);\r\n return of(null);\r\n };\r\n\r\n constructor(\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private identityLinkLoginService: IdentityLinkLoginService,\r\n private toaster: ToasterService,\r\n ) {\r\n this.listenToQueryParams();\r\n }\r\n\r\n private listenToQueryParams() {\r\n this.route.queryParams\r\n .pipe(\r\n filter(params => params.handler === 'linkLogin' && (params.linkUserId || params.token)),\r\n switchMap(\r\n (\r\n params: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo & {\r\n token?: string;\r\n },\r\n ) => {\r\n if (params.token) {\r\n Object.entries(JSON.parse(params.token)).forEach(([key, value]: [string, string]) => {\r\n localStorage.setItem(key, value);\r\n });\r\n }\r\n\r\n return params.linkUserId\r\n ? this.linkLogin(params)\r\n : of(null).pipe(this.pipeToNavigate());\r\n },\r\n ),\r\n )\r\n .subscribe();\r\n }\r\n\r\n linkLogin(input: Public.Web.Areas.Account.Controllers.Models.LinkUserLoginInfo) {\r\n return this.identityLinkLoginService.linkLogin(input).pipe(\r\n catchError(this.handleLinkLoginError),\r\n switchMap(res => {\r\n if (res.tenant_domain) {\r\n const now = new Date().valueOf();\r\n const token = {\r\n access_token: res.access_token,\r\n refresh_token: res.refresh_token,\r\n access_token_stored_at: now,\r\n expires_at: now + res.expires_in * 1000,\r\n };\r\n location.href = `${res.tenant_domain}?handler=linkLogin&token=${JSON.stringify(token)}`;\r\n return of(null);\r\n }\r\n\r\n localStorage.setItem('access_token', res.access_token);\r\n if (res.refresh_token) localStorage.setItem('refresh_token', res.refresh_token);\r\n return of(null).pipe(this.pipeToNavigate());\r\n }),\r\n );\r\n }\r\n\r\n private pipeToNavigate() {\r\n return pipe(\r\n switchMap(() =>\r\n from(\r\n this.router.navigate(['.'], {\r\n relativeTo: this.route,\r\n queryParams: { handler: null, linkUserId: null, linkTenantId: null, token: null },\r\n queryParamsHandling: 'merge',\r\n }),\r\n ),\r\n ),\r\n tap(() => location.reload()),\r\n );\r\n }\r\n}\r\n","import { AuthService, ConfigStateService, EnvironmentService, ListService } from '@abp/ng.core';\r\nimport { Confirmation, ConfirmationService } from '@abp/ng.theme.shared';\r\nimport { Component, Injector, OnInit } from '@angular/core';\r\nimport { IdentityLinkUserService, LinkUserDto } from '@volo/abp.ng.account/public/proxy';\r\nimport { of } from 'rxjs';\r\nimport { LinkLoginHandler } from '../handlers/link-login.handler';\r\n\r\n@Component({\r\n selector: 'abp-my-link-users-modal',\r\n templateUrl: './my-link-users-modal.component.html',\r\n providers: [ListService],\r\n})\r\nexport class MyLinkUsersModalComponent implements OnInit {\r\n private _isModalOpen = true;\r\n get isModalOpen() {\r\n return this._isModalOpen;\r\n }\r\n set isModalOpen(value: boolean) {\r\n if (value && !this._isModalOpen) this.getAllList();\r\n this._isModalOpen = value;\r\n }\r\n\r\n data: LinkUserDto[] = [];\r\n filteredData: LinkUserDto[] = [];\r\n filterText = '';\r\n resultCount = 0;\r\n\r\n get currentUser() {\r\n return this.configState.getAll().currentUser;\r\n }\r\n\r\n get currentTenant() {\r\n return this.configState.getAll().currentTenant;\r\n }\r\n\r\n get pageStartIndex() {\r\n return this.list.page * this.list.maxResultCount;\r\n }\r\n\r\n get pageEndIndex() {\r\n return this.pageStartIndex + this.list.maxResultCount;\r\n }\r\n\r\n readonly list: ListService;\r\n protected linkUserService: IdentityLinkUserService;\r\n protected confirmation: ConfirmationService;\r\n protected configState: ConfigStateService;\r\n protected authService: AuthService;\r\n protected environment: EnvironmentService;\r\n protected linkLoginHandler: LinkLoginHandler;\r\n\r\n constructor(private injector: Injector) {\r\n this.list = injector.get(ListService);\r\n this.list.maxResultCount = 5;\r\n\r\n this.linkUserService = injector.get(IdentityLinkUserService);\r\n this.confirmation = injector.get(ConfirmationService);\r\n this.configState = injector.get(ConfigStateService);\r\n this.authService = injector.get(AuthService);\r\n this.environment = injector.get(EnvironmentService);\r\n this.linkLoginHandler = injector.get(LinkLoginHandler);\r\n }\r\n\r\n private navigateToLogin() {\r\n this.linkUserService.generateLinkToken().subscribe(token => {\r\n if (this.authService.isInternalAuth) {\r\n const { id: linkUserId, userName: linkUserName } = this.currentUser;\r\n const { id: linkTenantId, name: linkTenantName } = this.currentTenant;\r\n\r\n this.authService.logout().subscribe(() => {\r\n this.authService.navigateToLogin({\r\n linkToken: token,\r\n linkUserId,\r\n linkUserName,\r\n ...(linkTenantId && {\r\n linkTenantId,\r\n linkTenantName,\r\n }),\r\n });\r\n this.isModalOpen = false;\r\n });\r\n\r\n return;\r\n }\r\n\r\n const { issuer, redirectUri } = this.environment.getEnvironment().oAuthConfig;\r\n\r\n const returnUrl = `${redirectUri}?handler=linkLogin&linkUserId=${this.currentUser.id}${\r\n this.currentTenant.id ? '&linkTenantId=' + this.currentTenant.id : ''\r\n }`;\r\n\r\n const fullUrl = `${issuer}/Account/Login?LinkUserId=${this.currentUser.id}${\r\n this.currentTenant.id ? '&LinkTenantId=' + this.currentTenant.id : ''\r\n }&LinkToken=${encodeURIComponent(token)}&ReturnUrl=${encodeURIComponent(returnUrl)}`;\r\n\r\n window.open(fullUrl, '_self');\r\n });\r\n }\r\n\r\n filterByText() {\r\n this.filteredData = this.getPageData(this.pageStartIndex, this.pageEndIndex);\r\n }\r\n\r\n getFilteredData() {\r\n const list = this.data.filter(linkUser =>\r\n linkUser.targetUserName.toLowerCase().includes(this.filterText.toLowerCase()),\r\n );\r\n this.resultCount = list.length;\r\n return list;\r\n }\r\n\r\n getPageData(start: number, end: number) {\r\n return this.getFilteredData().slice(start, end);\r\n }\r\n\r\n ngOnInit() {\r\n this.getAllList();\r\n }\r\n\r\n getAllList() {\r\n this.linkUserService.getAllList().subscribe(res => {\r\n this.data = res.items;\r\n this.filteredData = this.getPageData(this.pageStartIndex, this.pageEndIndex);\r\n });\r\n this.list\r\n .hookToQuery(query =>\r\n of({ items: this.getPageData(query.skipCount, query.skipCount + query.maxResultCount) }),\r\n )\r\n .subscribe(res => (this.filteredData = res.items));\r\n }\r\n\r\n createNewLinkUser() {\r\n this.confirmation\r\n .warn('AbpAccount::NewLinkAccountWarning', 'AbpUi::AreYouSure')\r\n .subscribe(res => {\r\n if (res === Confirmation.Status.confirm) {\r\n this.navigateToLogin();\r\n }\r\n });\r\n }\r\n\r\n delete(record: LinkUserDto) {\r\n this.confirmation\r\n .warn('AbpAccount::DeleteLinkAccountConfirmationMessage', 'AbpUi::AreYouSure', {\r\n messageLocalizationParams: [record.targetUserName],\r\n })\r\n .subscribe(res => {\r\n if (res === Confirmation.Status.confirm) {\r\n this.linkUserService\r\n .unlink({ userId: record.targetUserId, tenantId: record.targetTenantId })\r\n .subscribe(() => this.getAllList());\r\n }\r\n });\r\n }\r\n\r\n LoginAsThisAccount(record: LinkUserDto) {\r\n this.linkLoginHandler\r\n .linkLogin({\r\n linkUserId: record.targetUserId,\r\n linkTenantId: record.targetTenantId,\r\n })\r\n .subscribe(() => (this.isModalOpen = false));\r\n }\r\n}\r\n","<abp-modal [(visible)]=\"isModalOpen\" [suppressUnsavedChangesWarning]=\"true\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpAccount::LinkedAccounts' | abpLocalization }}</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <div class=\"text-end mb-3\">\r\n <button\r\n id=\"create-link-user\"\r\n class=\"btn btn-primary\"\r\n type=\"button\"\r\n (click)=\"createNewLinkUser()\"\r\n >\r\n {{ 'AbpAccount::NewLinkAccount' | abpLocalization }}\r\n </button>\r\n\r\n <div class=\"mt-2\">\r\n <label class=\"form-label d-inline-block\">\r\n {{ 'AbpAccount::Search' | abpLocalization }}\r\n <input\r\n type=\"search\"\r\n class=\"form-control form-control-sm d-inline-block w-auto\"\r\n [(ngModel)]=\"filterText\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"filterByText()\"\r\n aria-controls=\"MyLinkUsersTable\"\r\n />\r\n </label>\r\n </div>\r\n <div class=\"mt-2\">\r\n <ngx-datatable [rows]=\"filteredData\" [count]=\"resultCount\" [list]=\"list\" default>\r\n <ngx-datatable-column\r\n [name]=\"'AbpUi::Actions' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div ngbDropdown container=\"body\" class=\"d-inline-block\">\r\n <button\r\n class=\"btn btn-primary btn-sm dropdown-toggle\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n ngbDropdownToggle\r\n >\r\n <i class=\"fa fa-cog me-1\"></i>{{ 'AbpUi::Actions' | abpLocalization }}\r\n </button>\r\n <div ngbDropdownMenu>\r\n <button ngbDropdownItem (click)=\"LoginAsThisAccount(row)\">\r\n {{ 'AbpAccount::LoginAsThisAccount' | abpLocalization }}\r\n </button>\r\n <button *ngIf=\"row.directlyLinked\" ngbDropdownItem (click)=\"delete(row)\">\r\n {{ 'AbpUi::Delete' | abpLocalization }}\r\n </button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::UserName' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <a href=\"javascript:void(0)\" class=\"text-body\" (click)=\"LoginAsThisAccount(row)\">\r\n {{ row.targetTenantName ? row.targetTenantName + '\\\\' : ''\r\n }}{{ row.targetUserName }}\r\n </a>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column [name]=\"'AbpAccount::DirectlyLinked' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <i class=\"fas fa-{{ row.directlyLinked ? 'check' : 'times' }}\"></i>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</abp-modal>\r\n","import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eIdentityPolicyNames } from '../enums/policy-names';\r\nimport { eIdentityRouteNames } from '../enums/route-names';\r\n\r\nexport const IDENTITY_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n path: '/identity',\r\n name: eIdentityRouteNames.IdentityManagement,\r\n parentName: eThemeSharedRouteNames.Administration,\r\n order: 2,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n requiredPolicy: eIdentityPolicyNames.IdentityManagement,\r\n },\r\n {\r\n path: '/identity/organization-units',\r\n name: eIdentityRouteNames.OrganizationUnits,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 1,\r\n requiredPolicy: eIdentityPolicyNames.OrganizationUnits,\r\n },\r\n {\r\n path: '/identity/roles',\r\n name: eIdentityRouteNames.Roles,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 2,\r\n requiredPolicy: eIdentityPolicyNames.Roles,\r\n },\r\n {\r\n path: '/identity/users',\r\n name: eIdentityRouteNames.Users,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 3,\r\n requiredPolicy: eIdentityPolicyNames.Users,\r\n },\r\n {\r\n path: '/identity/claim-types',\r\n name: eIdentityRouteNames.ClaimTypes,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 4,\r\n requiredPolicy: eIdentityPolicyNames.ClaimTypes,\r\n },\r\n {\r\n path: '/identity/security-logs',\r\n name: eIdentityRouteNames.SecurityLogs,\r\n parentName: eIdentityRouteNames.IdentityManagement,\r\n order: 4,\r\n requiredPolicy: eIdentityPolicyNames.SecurityLogs,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { SettingTabsService } from '@abp/ng.setting-management/config';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { IdentitySettingsComponent } from '../components/identity-settings.component';\r\nimport { eIdentitySettingTabNames } from '../enums/setting-tab-names';\r\n\r\nexport const IDENTITY_SETTING_TAB_PROVIDERS = [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: configureSettingTabs,\r\n deps: [SettingTabsService],\r\n multi: true,\r\n },\r\n];\r\n\r\nexport function configureSettingTabs(settingtabs: SettingTabsService) {\r\n return () => {\r\n settingtabs.add([\r\n {\r\n name: eIdentitySettingTabNames.IdentityManagement,\r\n order: 101,\r\n requiredPolicy: 'AbpIdentity.SettingManagement',\r\n component: IdentitySettingsComponent,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { ComponentRef, Injector } from '@angular/core';\r\nimport { ContentProjectionService, PROJECTION_STRATEGY } from '@abp/ng.core';\r\nimport { MyLinkUsersModalComponent } from '../components/my-link-users-modal.component';\r\n\r\nexport function openMyLinkUsersFactory(injector: Injector) {\r\n const contentProjectionService = injector.get(ContentProjectionService);\r\n let componentRef: ComponentRef<MyLinkUsersModalComponent>;\r\n\r\n return () => {\r\n if (componentRef) {\r\n componentRef.instance.isModalOpen = true;\r\n return;\r\n }\r\n\r\n componentRef = contentProjectionService.projectContent(\r\n PROJECTION_STRATEGY.AppendComponentToBody(MyLinkUsersModalComponent),\r\n );\r\n };\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { IdentitySettingsComponent } from './components/identity-settings.component';\r\nimport { MyLinkUsersModalComponent } from './components/my-link-users-modal.component';\r\nimport { IDENTITY_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { IDENTITY_SETTING_TAB_PROVIDERS } from './providers/setting-tab.provider';\r\nimport { OPEN_MY_LINK_USERS_MODAL } from '@volo/abp.commercial.ng.ui/config';\r\nimport { openMyLinkUsersFactory } from './utils/factories';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LinkLoginHandler } from './handlers/link-login.handler';\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule, NgbDropdownModule],\r\n declarations: [IdentitySettingsComponent, MyLinkUsersModalComponent],\r\n exports: [IdentitySettingsComponent, MyLinkUsersModalComponent],\r\n})\r\nexport class IdentityConfigModule {\r\n static forRoot(): ModuleWithProviders<IdentityConfigModule> {\r\n return {\r\n ngModule: IdentityConfigModule,\r\n providers: [\r\n IDENTITY_ROUTE_PROVIDERS,\r\n IDENTITY_SETTING_TAB_PROVIDERS,\r\n { provide: OPEN_MY_LINK_USERS_MODAL, useFactory: openMyLinkUsersFactory, deps: [Injector] },\r\n { provide: APP_INITIALIZER, multi: true, useFactory: noop, deps: [LinkLoginHandler] },\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAQa,qBAAqB;IAGhC,YAAoB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;QAF5C,YAAO,GAAG,aAAa,CAAC;KAEwB;IAEhD,WAAW;QACT,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAC7B;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;SAC9B,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAC1B,CAAC;KACH;IAED,cAAc,CAAC,IAA+B;QAC5C,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAC7B;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;YAC7B,I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from '@abp/ng.core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Injectable } from '@angular/core';
|
|
5
|
+
|
|
6
|
+
class IdentityClaimTypeService {
|
|
7
|
+
constructor(restService) {
|
|
8
|
+
this.restService = restService;
|
|
9
|
+
this.apiName = 'AbpIdentity';
|
|
10
|
+
this.create = (input) => this.restService.request({
|
|
11
|
+
method: 'POST',
|
|
12
|
+
url: '/api/identity/claim-types',
|
|
13
|
+
body: input,
|
|
14
|
+
}, { apiName: this.apiName });
|
|
15
|
+
this.delete = (id) => this.restService.request({
|
|
16
|
+
method: 'DELETE',
|
|
17
|
+
url: `/api/identity/claim-types/${id}`,
|
|
18
|
+
}, { apiName: this.apiName });
|
|
19
|
+
this.get = (id) => this.restService.request({
|
|
20
|
+
method: 'GET',
|
|
21
|
+
url: `/api/identity/claim-types/${id}`,
|
|
22
|
+
}, { apiName: this.apiName });
|
|
23
|
+
this.getList = (input) => this.restService.request({
|
|
24
|
+
method: 'GET',
|
|
25
|
+
url: '/api/identity/claim-types',
|
|
26
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
27
|
+
}, { apiName: this.apiName });
|
|
28
|
+
this.update = (id, input) => this.restService.request({
|
|
29
|
+
method: 'PUT',
|
|
30
|
+
url: `/api/identity/claim-types/${id}`,
|
|
31
|
+
body: input,
|
|
32
|
+
}, { apiName: this.apiName });
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
IdentityClaimTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityClaimTypeService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
IdentityClaimTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityClaimTypeService, providedIn: 'root' });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityClaimTypeService, decorators: [{
|
|
38
|
+
type: Injectable,
|
|
39
|
+
args: [{
|
|
40
|
+
providedIn: 'root',
|
|
41
|
+
}]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
43
|
+
|
|
44
|
+
var IdentityClaimValueType;
|
|
45
|
+
(function (IdentityClaimValueType) {
|
|
46
|
+
IdentityClaimValueType[IdentityClaimValueType["String"] = 0] = "String";
|
|
47
|
+
IdentityClaimValueType[IdentityClaimValueType["Int"] = 1] = "Int";
|
|
48
|
+
IdentityClaimValueType[IdentityClaimValueType["Boolean"] = 2] = "Boolean";
|
|
49
|
+
IdentityClaimValueType[IdentityClaimValueType["DateTime"] = 3] = "DateTime";
|
|
50
|
+
})(IdentityClaimValueType || (IdentityClaimValueType = {}));
|
|
51
|
+
const identityClaimValueTypeOptions = mapEnumToOptions(IdentityClaimValueType);
|
|
52
|
+
|
|
53
|
+
class IdentityRoleService {
|
|
54
|
+
constructor(restService) {
|
|
55
|
+
this.restService = restService;
|
|
56
|
+
this.apiName = 'AbpIdentity';
|
|
57
|
+
this.create = (input) => this.restService.request({
|
|
58
|
+
method: 'POST',
|
|
59
|
+
url: '/api/identity/roles',
|
|
60
|
+
body: input,
|
|
61
|
+
}, { apiName: this.apiName });
|
|
62
|
+
this.delete = (id) => this.restService.request({
|
|
63
|
+
method: 'DELETE',
|
|
64
|
+
url: `/api/identity/roles/${id}`,
|
|
65
|
+
}, { apiName: this.apiName });
|
|
66
|
+
this.get = (id) => this.restService.request({
|
|
67
|
+
method: 'GET',
|
|
68
|
+
url: `/api/identity/roles/${id}`,
|
|
69
|
+
}, { apiName: this.apiName });
|
|
70
|
+
this.getAllClaimTypes = () => this.restService.request({
|
|
71
|
+
method: 'GET',
|
|
72
|
+
url: '/api/identity/roles/all-claim-types',
|
|
73
|
+
}, { apiName: this.apiName });
|
|
74
|
+
this.getAllList = () => this.restService.request({
|
|
75
|
+
method: 'GET',
|
|
76
|
+
url: '/api/identity/roles/all',
|
|
77
|
+
}, { apiName: this.apiName });
|
|
78
|
+
this.getClaims = (id) => this.restService.request({
|
|
79
|
+
method: 'GET',
|
|
80
|
+
url: `/api/identity/roles/${id}/claims`,
|
|
81
|
+
}, { apiName: this.apiName });
|
|
82
|
+
this.getList = (input) => this.restService.request({
|
|
83
|
+
method: 'GET',
|
|
84
|
+
url: '/api/identity/roles',
|
|
85
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
86
|
+
}, { apiName: this.apiName });
|
|
87
|
+
this.update = (id, input) => this.restService.request({
|
|
88
|
+
method: 'PUT',
|
|
89
|
+
url: `/api/identity/roles/${id}`,
|
|
90
|
+
body: input,
|
|
91
|
+
}, { apiName: this.apiName });
|
|
92
|
+
this.updateClaims = (id, input) => this.restService.request({
|
|
93
|
+
method: 'PUT',
|
|
94
|
+
url: `/api/identity/roles/${id}/claims`,
|
|
95
|
+
body: input,
|
|
96
|
+
}, { apiName: this.apiName });
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
IdentityRoleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityRoleService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
100
|
+
IdentityRoleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityRoleService, providedIn: 'root' });
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityRoleService, decorators: [{
|
|
102
|
+
type: Injectable,
|
|
103
|
+
args: [{
|
|
104
|
+
providedIn: 'root',
|
|
105
|
+
}]
|
|
106
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
107
|
+
|
|
108
|
+
class IdentitySecurityLogService {
|
|
109
|
+
constructor(restService) {
|
|
110
|
+
this.restService = restService;
|
|
111
|
+
this.apiName = 'AbpIdentity';
|
|
112
|
+
this.get = (id) => this.restService.request({
|
|
113
|
+
method: 'GET',
|
|
114
|
+
url: `/api/identity/security-logs/${id}`,
|
|
115
|
+
}, { apiName: this.apiName });
|
|
116
|
+
this.getList = (input) => this.restService.request({
|
|
117
|
+
method: 'GET',
|
|
118
|
+
url: '/api/identity/security-logs',
|
|
119
|
+
params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
120
|
+
}, { apiName: this.apiName });
|
|
121
|
+
this.getMy = (id) => this.restService.request({
|
|
122
|
+
method: 'GET',
|
|
123
|
+
url: `/api/identity/security-logs/my/${id}`,
|
|
124
|
+
}, { apiName: this.apiName });
|
|
125
|
+
this.getMyList = (input) => this.restService.request({
|
|
126
|
+
method: 'GET',
|
|
127
|
+
url: '/api/identity/security-logs/my',
|
|
128
|
+
params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
129
|
+
}, { apiName: this.apiName });
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
IdentitySecurityLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySecurityLogService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
133
|
+
IdentitySecurityLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySecurityLogService, providedIn: 'root' });
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySecurityLogService, decorators: [{
|
|
135
|
+
type: Injectable,
|
|
136
|
+
args: [{
|
|
137
|
+
providedIn: 'root',
|
|
138
|
+
}]
|
|
139
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
140
|
+
|
|
141
|
+
class IdentitySettingsService {
|
|
142
|
+
constructor(restService) {
|
|
143
|
+
this.restService = restService;
|
|
144
|
+
this.apiName = 'AbpIdentity';
|
|
145
|
+
this.get = () => this.restService.request({
|
|
146
|
+
method: 'GET',
|
|
147
|
+
url: '/api/identity/settings',
|
|
148
|
+
}, { apiName: this.apiName });
|
|
149
|
+
this.update = (input) => this.restService.request({
|
|
150
|
+
method: 'PUT',
|
|
151
|
+
url: '/api/identity/settings',
|
|
152
|
+
body: input,
|
|
153
|
+
}, { apiName: this.apiName });
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
IdentitySettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySettingsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
157
|
+
IdentitySettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySettingsService, providedIn: 'root' });
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentitySettingsService, decorators: [{
|
|
159
|
+
type: Injectable,
|
|
160
|
+
args: [{
|
|
161
|
+
providedIn: 'root',
|
|
162
|
+
}]
|
|
163
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
164
|
+
|
|
165
|
+
class IdentityUserLookupService {
|
|
166
|
+
constructor(restService) {
|
|
167
|
+
this.restService = restService;
|
|
168
|
+
this.apiName = 'AbpIdentity';
|
|
169
|
+
this.findById = (id) => this.restService.request({
|
|
170
|
+
method: 'GET',
|
|
171
|
+
url: `/api/identity/users/lookup/${id}`,
|
|
172
|
+
}, { apiName: this.apiName });
|
|
173
|
+
this.findByUserName = (userName) => this.restService.request({
|
|
174
|
+
method: 'GET',
|
|
175
|
+
url: `/api/identity/users/lookup/by-username/${userName}`,
|
|
176
|
+
}, { apiName: this.apiName });
|
|
177
|
+
this.getCount = (input) => this.restService.request({
|
|
178
|
+
method: 'GET',
|
|
179
|
+
url: '/api/identity/users/lookup/count',
|
|
180
|
+
params: { filter: input.filter },
|
|
181
|
+
}, { apiName: this.apiName });
|
|
182
|
+
this.search = (input) => this.restService.request({
|
|
183
|
+
method: 'GET',
|
|
184
|
+
url: '/api/identity/users/lookup/search',
|
|
185
|
+
params: { sorting: input.sorting, filter: input.filter, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
186
|
+
}, { apiName: this.apiName });
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
IdentityUserLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserLookupService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
190
|
+
IdentityUserLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserLookupService, providedIn: 'root' });
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserLookupService, decorators: [{
|
|
192
|
+
type: Injectable,
|
|
193
|
+
args: [{
|
|
194
|
+
providedIn: 'root',
|
|
195
|
+
}]
|
|
196
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
197
|
+
|
|
198
|
+
class IdentityUserService {
|
|
199
|
+
constructor(restService) {
|
|
200
|
+
this.restService = restService;
|
|
201
|
+
this.apiName = 'AbpIdentity';
|
|
202
|
+
this.create = (input) => this.restService.request({
|
|
203
|
+
method: 'POST',
|
|
204
|
+
url: '/api/identity/users',
|
|
205
|
+
body: input,
|
|
206
|
+
}, { apiName: this.apiName });
|
|
207
|
+
this.delete = (id) => this.restService.request({
|
|
208
|
+
method: 'DELETE',
|
|
209
|
+
url: `/api/identity/users/${id}`,
|
|
210
|
+
}, { apiName: this.apiName });
|
|
211
|
+
this.findByEmail = (email) => this.restService.request({
|
|
212
|
+
method: 'GET',
|
|
213
|
+
url: `/api/identity/users/by-email/${email}`,
|
|
214
|
+
}, { apiName: this.apiName });
|
|
215
|
+
this.findByUsername = (username) => this.restService.request({
|
|
216
|
+
method: 'GET',
|
|
217
|
+
url: `/api/identity/users/by-username/${username}`,
|
|
218
|
+
}, { apiName: this.apiName });
|
|
219
|
+
this.get = (id) => this.restService.request({
|
|
220
|
+
method: 'GET',
|
|
221
|
+
url: `/api/identity/users/${id}`,
|
|
222
|
+
}, { apiName: this.apiName });
|
|
223
|
+
this.getAllClaimTypes = () => this.restService.request({
|
|
224
|
+
method: 'GET',
|
|
225
|
+
url: '/api/identity/users/all-claim-types',
|
|
226
|
+
}, { apiName: this.apiName });
|
|
227
|
+
this.getAssignableRoles = () => this.restService.request({
|
|
228
|
+
method: 'GET',
|
|
229
|
+
url: '/api/identity/users/assignable-roles',
|
|
230
|
+
}, { apiName: this.apiName });
|
|
231
|
+
this.getAvailableOrganizationUnits = () => this.restService.request({
|
|
232
|
+
method: 'GET',
|
|
233
|
+
url: '/api/identity/users/available-organization-units',
|
|
234
|
+
}, { apiName: this.apiName });
|
|
235
|
+
this.getClaims = (id) => this.restService.request({
|
|
236
|
+
method: 'GET',
|
|
237
|
+
url: `/api/identity/users/${id}/claims`,
|
|
238
|
+
}, { apiName: this.apiName });
|
|
239
|
+
this.getList = (input) => this.restService.request({
|
|
240
|
+
method: 'GET',
|
|
241
|
+
url: '/api/identity/users',
|
|
242
|
+
params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, isLockedOut: input.isLockedOut, notActive: input.notActive, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
243
|
+
}, { apiName: this.apiName });
|
|
244
|
+
this.getOrganizationUnitLookup = () => this.restService.request({
|
|
245
|
+
method: 'GET',
|
|
246
|
+
url: '/api/identity/users/lookup/organization-units',
|
|
247
|
+
}, { apiName: this.apiName });
|
|
248
|
+
this.getOrganizationUnits = (id) => this.restService.request({
|
|
249
|
+
method: 'GET',
|
|
250
|
+
url: `/api/identity/users/${id}/organization-units`,
|
|
251
|
+
}, { apiName: this.apiName });
|
|
252
|
+
this.getRoleLookup = () => this.restService.request({
|
|
253
|
+
method: 'GET',
|
|
254
|
+
url: '/api/identity/users/lookup/roles',
|
|
255
|
+
}, { apiName: this.apiName });
|
|
256
|
+
this.getRoles = (id) => this.restService.request({
|
|
257
|
+
method: 'GET',
|
|
258
|
+
url: `/api/identity/users/${id}/roles`,
|
|
259
|
+
}, { apiName: this.apiName });
|
|
260
|
+
this.getTwoFactorEnabled = (id) => this.restService.request({
|
|
261
|
+
method: 'GET',
|
|
262
|
+
url: `/api/identity/users/${id}/two-factor-enabled`,
|
|
263
|
+
}, { apiName: this.apiName });
|
|
264
|
+
this.lock = (id, lockoutEnd) => this.restService.request({
|
|
265
|
+
method: 'PUT',
|
|
266
|
+
url: `/api/identity/users/${id}/lock/${lockoutEnd}`,
|
|
267
|
+
}, { apiName: this.apiName });
|
|
268
|
+
this.setTwoFactorEnabled = (id, enabled) => this.restService.request({
|
|
269
|
+
method: 'PUT',
|
|
270
|
+
url: `/api/identity/users/${id}/two-factor/${enabled}`,
|
|
271
|
+
}, { apiName: this.apiName });
|
|
272
|
+
this.unlock = (id) => this.restService.request({
|
|
273
|
+
method: 'PUT',
|
|
274
|
+
url: `/api/identity/users/${id}/unlock`,
|
|
275
|
+
}, { apiName: this.apiName });
|
|
276
|
+
this.update = (id, input) => this.restService.request({
|
|
277
|
+
method: 'PUT',
|
|
278
|
+
url: `/api/identity/users/${id}`,
|
|
279
|
+
body: input,
|
|
280
|
+
}, { apiName: this.apiName });
|
|
281
|
+
this.updateClaims = (id, input) => this.restService.request({
|
|
282
|
+
method: 'PUT',
|
|
283
|
+
url: `/api/identity/users/${id}/claims`,
|
|
284
|
+
body: input,
|
|
285
|
+
}, { apiName: this.apiName });
|
|
286
|
+
this.updatePassword = (id, input) => this.restService.request({
|
|
287
|
+
method: 'PUT',
|
|
288
|
+
url: `/api/identity/users/${id}/change-password`,
|
|
289
|
+
body: input,
|
|
290
|
+
}, { apiName: this.apiName });
|
|
291
|
+
this.updateRoles = (id, input) => this.restService.request({
|
|
292
|
+
method: 'PUT',
|
|
293
|
+
url: `/api/identity/users/${id}/roles`,
|
|
294
|
+
body: input,
|
|
295
|
+
}, { apiName: this.apiName });
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
299
|
+
IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: IdentityUserService, decorators: [{
|
|
301
|
+
type: Injectable,
|
|
302
|
+
args: [{
|
|
303
|
+
providedIn: 'root',
|
|
304
|
+
}]
|
|
305
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
306
|
+
|
|
307
|
+
class OrganizationUnitService {
|
|
308
|
+
constructor(restService) {
|
|
309
|
+
this.restService = restService;
|
|
310
|
+
this.apiName = 'AbpIdentity';
|
|
311
|
+
this.addMembers = (id, input) => this.restService.request({
|
|
312
|
+
method: 'PUT',
|
|
313
|
+
url: `/api/identity/organization-units/${id}/members`,
|
|
314
|
+
body: input,
|
|
315
|
+
}, { apiName: this.apiName });
|
|
316
|
+
this.addRoles = (id, input) => this.restService.request({
|
|
317
|
+
method: 'PUT',
|
|
318
|
+
url: `/api/identity/organization-units/${id}/roles`,
|
|
319
|
+
body: input,
|
|
320
|
+
}, { apiName: this.apiName });
|
|
321
|
+
this.create = (input) => this.restService.request({
|
|
322
|
+
method: 'POST',
|
|
323
|
+
url: '/api/identity/organization-units',
|
|
324
|
+
body: input,
|
|
325
|
+
}, { apiName: this.apiName });
|
|
326
|
+
this.delete = (id) => this.restService.request({
|
|
327
|
+
method: 'DELETE',
|
|
328
|
+
url: '/api/identity/organization-units',
|
|
329
|
+
params: { id },
|
|
330
|
+
}, { apiName: this.apiName });
|
|
331
|
+
this.get = (id) => this.restService.request({
|
|
332
|
+
method: 'GET',
|
|
333
|
+
url: `/api/identity/organization-units/${id}`,
|
|
334
|
+
}, { apiName: this.apiName });
|
|
335
|
+
this.getAvailableRoles = (input) => this.restService.request({
|
|
336
|
+
method: 'GET',
|
|
337
|
+
url: '/api/identity/organization-units/available-roles',
|
|
338
|
+
params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
339
|
+
}, { apiName: this.apiName });
|
|
340
|
+
this.getAvailableUsers = (input) => this.restService.request({
|
|
341
|
+
method: 'GET',
|
|
342
|
+
url: '/api/identity/organization-units/available-users',
|
|
343
|
+
params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
344
|
+
}, { apiName: this.apiName });
|
|
345
|
+
this.getList = (input) => this.restService.request({
|
|
346
|
+
method: 'GET',
|
|
347
|
+
url: '/api/identity/organization-units',
|
|
348
|
+
params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
349
|
+
}, { apiName: this.apiName });
|
|
350
|
+
this.getListAll = () => this.restService.request({
|
|
351
|
+
method: 'GET',
|
|
352
|
+
url: '/api/identity/organization-units/all',
|
|
353
|
+
}, { apiName: this.apiName });
|
|
354
|
+
this.getMembers = (id, input) => this.restService.request({
|
|
355
|
+
method: 'GET',
|
|
356
|
+
url: `/api/identity/organization-units/${id}/members`,
|
|
357
|
+
params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, isLockedOut: input.isLockedOut, notActive: input.notActive, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
358
|
+
}, { apiName: this.apiName });
|
|
359
|
+
this.getRoles = (id, input) => this.restService.request({
|
|
360
|
+
method: 'GET',
|
|
361
|
+
url: `/api/identity/organization-units/${id}/roles`,
|
|
362
|
+
params: { skipCount: input.skipCount, maxResultCount: input.maxResultCount, sorting: input.sorting },
|
|
363
|
+
}, { apiName: this.apiName });
|
|
364
|
+
this.move = (id, input) => this.restService.request({
|
|
365
|
+
method: 'PUT',
|
|
366
|
+
url: `/api/identity/organization-units/${id}/move`,
|
|
367
|
+
body: input,
|
|
368
|
+
}, { apiName: this.apiName });
|
|
369
|
+
this.removeMember = (id, memberId) => this.restService.request({
|
|
370
|
+
method: 'DELETE',
|
|
371
|
+
url: `/api/identity/organization-units/${id}/members/${memberId}`,
|
|
372
|
+
}, { apiName: this.apiName });
|
|
373
|
+
this.removeRole = (id, roleId) => this.restService.request({
|
|
374
|
+
method: 'DELETE',
|
|
375
|
+
url: `/api/identity/organization-units/${id}/roles/${roleId}`,
|
|
376
|
+
}, { apiName: this.apiName });
|
|
377
|
+
this.update = (id, input) => this.restService.request({
|
|
378
|
+
method: 'PUT',
|
|
379
|
+
url: `/api/identity/organization-units/${id}`,
|
|
380
|
+
body: input,
|
|
381
|
+
}, { apiName: this.apiName });
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
OrganizationUnitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OrganizationUnitService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
385
|
+
OrganizationUnitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OrganizationUnitService, providedIn: 'root' });
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OrganizationUnitService, decorators: [{
|
|
387
|
+
type: Injectable,
|
|
388
|
+
args: [{
|
|
389
|
+
providedIn: 'root',
|
|
390
|
+
}]
|
|
391
|
+
}], ctorParameters: function () { return [{ type: i1.RestService }]; } });
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Generated bundle index. Do not edit.
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
export { IdentityClaimTypeService, IdentityClaimValueType, IdentityRoleService, IdentitySecurityLogService, IdentitySettingsService, IdentityUserLookupService, IdentityUserService, OrganizationUnitService, identityClaimValueTypeOptions };
|
|
398
|
+
//# sourceMappingURL=volo-abp.ng.identity-proxy.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.identity-proxy.mjs","sources":["../../../../packages/identity/proxy/src/lib/proxy/identity/identity-claim-type.service.ts","../../../../packages/identity/proxy/src/lib/proxy/identity/identity-claim-value-type.enum.ts","../../../../packages/identity/proxy/src/lib/proxy/identity/identity-role.service.ts","../../../../packages/identity/proxy/src/lib/proxy/identity/identity-security-log.service.ts","../../../../packages/identity/proxy/src/lib/proxy/identity/identity-settings.service.ts","../../../../packages/identity/proxy/src/lib/proxy/identity/identity-user-lookup.service.ts","../../../../packages/identity/proxy/src/lib/proxy/identity/identity-user.service.ts","../../../../packages/identity/proxy/src/lib/proxy/identity/organization-unit.service.ts","../../../../packages/identity/proxy/src/volo-abp.ng.identity-proxy.ts"],"sourcesContent":["import type { ClaimTypeDto, CreateClaimTypeDto, GetIdentityClaimTypesInput, UpdateClaimTypeDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityClaimTypeService {\r\n apiName = 'AbpIdentity';\r\n\r\n create = (input: CreateClaimTypeDto) =>\r\n this.restService.request<any, ClaimTypeDto>({\r\n method: 'POST',\r\n url: '/api/identity/claim-types',\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n delete = (id: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: `/api/identity/claim-types/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, ClaimTypeDto>({\r\n method: 'GET',\r\n url: `/api/identity/claim-types/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: GetIdentityClaimTypesInput) =>\r\n this.restService.request<any, PagedResultDto<ClaimTypeDto>>({\r\n method: 'GET',\r\n url: '/api/identity/claim-types',\r\n params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n update = (id: string, input: UpdateClaimTypeDto) =>\r\n this.restService.request<any, ClaimTypeDto>({\r\n method: 'PUT',\r\n url: `/api/identity/claim-types/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum IdentityClaimValueType {\r\n String = 0,\r\n Int = 1,\r\n Boolean = 2,\r\n DateTime = 3,\r\n}\r\n\r\nexport const identityClaimValueTypeOptions = mapEnumToOptions(IdentityClaimValueType);\r\n","import type { ClaimTypeDto, GetIdentityRoleListInput, IdentityRoleClaimDto, IdentityRoleCreateDto, IdentityRoleDto, IdentityRoleUpdateDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { ListResultDto, PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityRoleService {\r\n apiName = 'AbpIdentity';\r\n\r\n create = (input: IdentityRoleCreateDto) =>\r\n this.restService.request<any, IdentityRoleDto>({\r\n method: 'POST',\r\n url: '/api/identity/roles',\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n delete = (id: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: `/api/identity/roles/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, IdentityRoleDto>({\r\n method: 'GET',\r\n url: `/api/identity/roles/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAllClaimTypes = () =>\r\n this.restService.request<any, ClaimTypeDto[]>({\r\n method: 'GET',\r\n url: '/api/identity/roles/all-claim-types',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAllList = () =>\r\n this.restService.request<any, ListResultDto<IdentityRoleDto>>({\r\n method: 'GET',\r\n url: '/api/identity/roles/all',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getClaims = (id: string) =>\r\n this.restService.request<any, IdentityRoleClaimDto[]>({\r\n method: 'GET',\r\n url: `/api/identity/roles/${id}/claims`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: GetIdentityRoleListInput) =>\r\n this.restService.request<any, PagedResultDto<IdentityRoleDto>>({\r\n method: 'GET',\r\n url: '/api/identity/roles',\r\n params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n update = (id: string, input: IdentityRoleUpdateDto) =>\r\n this.restService.request<any, IdentityRoleDto>({\r\n method: 'PUT',\r\n url: `/api/identity/roles/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n updateClaims = (id: string, input: IdentityRoleClaimDto[]) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/roles/${id}/claims`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type { GetIdentitySecurityLogListInput, IdentitySecurityLogDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentitySecurityLogService {\r\n apiName = 'AbpIdentity';\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, IdentitySecurityLogDto>({\r\n method: 'GET',\r\n url: `/api/identity/security-logs/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: GetIdentitySecurityLogListInput) =>\r\n this.restService.request<any, PagedResultDto<IdentitySecurityLogDto>>({\r\n method: 'GET',\r\n url: '/api/identity/security-logs',\r\n params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getMy = (id: string) =>\r\n this.restService.request<any, IdentitySecurityLogDto>({\r\n method: 'GET',\r\n url: `/api/identity/security-logs/my/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getMyList = (input: GetIdentitySecurityLogListInput) =>\r\n this.restService.request<any, PagedResultDto<IdentitySecurityLogDto>>({\r\n method: 'GET',\r\n url: '/api/identity/security-logs/my',\r\n params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type { IdentitySettingsDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentitySettingsService {\r\n apiName = 'AbpIdentity';\r\n\r\n get = () =>\r\n this.restService.request<any, IdentitySettingsDto>({\r\n method: 'GET',\r\n url: '/api/identity/settings',\r\n },\r\n { apiName: this.apiName });\r\n\r\n update = (input: IdentitySettingsDto) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: '/api/identity/settings',\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type { UserLookupCountInputDto, UserLookupSearchInputDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { ListResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport type { UserData } from '../users/models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityUserLookupService {\r\n apiName = 'AbpIdentity';\r\n\r\n findById = (id: string) =>\r\n this.restService.request<any, UserData>({\r\n method: 'GET',\r\n url: `/api/identity/users/lookup/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n findByUserName = (userName: string) =>\r\n this.restService.request<any, UserData>({\r\n method: 'GET',\r\n url: `/api/identity/users/lookup/by-username/${userName}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getCount = (input: UserLookupCountInputDto) =>\r\n this.restService.request<any, number>({\r\n method: 'GET',\r\n url: '/api/identity/users/lookup/count',\r\n params: { filter: input.filter },\r\n },\r\n { apiName: this.apiName });\r\n\r\n search = (input: UserLookupSearchInputDto) =>\r\n this.restService.request<any, ListResultDto<UserData>>({\r\n method: 'GET',\r\n url: '/api/identity/users/lookup/search',\r\n params: { sorting: input.sorting, filter: input.filter, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type { ClaimTypeDto, GetIdentityUsersInput, IdentityRoleDto, IdentityRoleLookupDto, IdentityUserClaimDto, IdentityUserCreateDto, IdentityUserDto, IdentityUserUpdateDto, IdentityUserUpdatePasswordInput, IdentityUserUpdateRolesDto, OrganizationUnitDto, OrganizationUnitLookupDto, OrganizationUnitWithDetailsDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { ListResultDto, PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityUserService {\r\n apiName = 'AbpIdentity';\r\n\r\n create = (input: IdentityUserCreateDto) =>\r\n this.restService.request<any, IdentityUserDto>({\r\n method: 'POST',\r\n url: '/api/identity/users',\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n delete = (id: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: `/api/identity/users/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n findByEmail = (email: string) =>\r\n this.restService.request<any, IdentityUserDto>({\r\n method: 'GET',\r\n url: `/api/identity/users/by-email/${email}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n findByUsername = (username: string) =>\r\n this.restService.request<any, IdentityUserDto>({\r\n method: 'GET',\r\n url: `/api/identity/users/by-username/${username}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, IdentityUserDto>({\r\n method: 'GET',\r\n url: `/api/identity/users/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAllClaimTypes = () =>\r\n this.restService.request<any, ClaimTypeDto[]>({\r\n method: 'GET',\r\n url: '/api/identity/users/all-claim-types',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAssignableRoles = () =>\r\n this.restService.request<any, ListResultDto<IdentityRoleDto>>({\r\n method: 'GET',\r\n url: '/api/identity/users/assignable-roles',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAvailableOrganizationUnits = () =>\r\n this.restService.request<any, ListResultDto<OrganizationUnitWithDetailsDto>>({\r\n method: 'GET',\r\n url: '/api/identity/users/available-organization-units',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getClaims = (id: string) =>\r\n this.restService.request<any, IdentityUserClaimDto[]>({\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/claims`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: GetIdentityUsersInput) =>\r\n this.restService.request<any, PagedResultDto<IdentityUserDto>>({\r\n method: 'GET',\r\n url: '/api/identity/users',\r\n params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, isLockedOut: input.isLockedOut, notActive: input.notActive, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getOrganizationUnitLookup = () =>\r\n this.restService.request<any, OrganizationUnitLookupDto[]>({\r\n method: 'GET',\r\n url: '/api/identity/users/lookup/organization-units',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getOrganizationUnits = (id: string) =>\r\n this.restService.request<any, OrganizationUnitDto[]>({\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/organization-units`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getRoleLookup = () =>\r\n this.restService.request<any, IdentityRoleLookupDto[]>({\r\n method: 'GET',\r\n url: '/api/identity/users/lookup/roles',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getRoles = (id: string) =>\r\n this.restService.request<any, ListResultDto<IdentityRoleDto>>({\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/roles`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getTwoFactorEnabled = (id: string) =>\r\n this.restService.request<any, boolean>({\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/two-factor-enabled`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n lock = (id: string, lockoutEnd: string) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/users/${id}/lock/${lockoutEnd}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n setTwoFactorEnabled = (id: string, enabled: boolean) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/users/${id}/two-factor/${enabled}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n unlock = (id: string) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/users/${id}/unlock`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n update = (id: string, input: IdentityUserUpdateDto) =>\r\n this.restService.request<any, IdentityUserDto>({\r\n method: 'PUT',\r\n url: `/api/identity/users/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n updateClaims = (id: string, input: IdentityUserClaimDto[]) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/users/${id}/claims`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n updatePassword = (id: string, input: IdentityUserUpdatePasswordInput) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/users/${id}/change-password`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n updateRoles = (id: string, input: IdentityUserUpdateRolesDto) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/users/${id}/roles`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type { GetAvailableRolesInput, GetAvailableUsersInput, GetIdentityUsersInput, GetOrganizationUnitInput, IdentityRoleDto, IdentityUserDto, OrganizationUnitCreateDto, OrganizationUnitMoveInput, OrganizationUnitRoleInput, OrganizationUnitUpdateDto, OrganizationUnitUserInput, OrganizationUnitWithDetailsDto } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { ListResultDto, PagedAndSortedResultRequestDto, PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class OrganizationUnitService {\r\n apiName = 'AbpIdentity';\r\n\r\n addMembers = (id: string, input: OrganizationUnitUserInput) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/organization-units/${id}/members`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n addRoles = (id: string, input: OrganizationUnitRoleInput) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/organization-units/${id}/roles`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n create = (input: OrganizationUnitCreateDto) =>\r\n this.restService.request<any, OrganizationUnitWithDetailsDto>({\r\n method: 'POST',\r\n url: '/api/identity/organization-units',\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n delete = (id: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: '/api/identity/organization-units',\r\n params: { id },\r\n },\r\n { apiName: this.apiName });\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, OrganizationUnitWithDetailsDto>({\r\n method: 'GET',\r\n url: `/api/identity/organization-units/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAvailableRoles = (input: GetAvailableRolesInput) =>\r\n this.restService.request<any, PagedResultDto<IdentityRoleDto>>({\r\n method: 'GET',\r\n url: '/api/identity/organization-units/available-roles',\r\n params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAvailableUsers = (input: GetAvailableUsersInput) =>\r\n this.restService.request<any, PagedResultDto<IdentityUserDto>>({\r\n method: 'GET',\r\n url: '/api/identity/organization-units/available-users',\r\n params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: GetOrganizationUnitInput) =>\r\n this.restService.request<any, PagedResultDto<OrganizationUnitWithDetailsDto>>({\r\n method: 'GET',\r\n url: '/api/identity/organization-units',\r\n params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getListAll = () =>\r\n this.restService.request<any, ListResultDto<OrganizationUnitWithDetailsDto>>({\r\n method: 'GET',\r\n url: '/api/identity/organization-units/all',\r\n },\r\n { apiName: this.apiName });\r\n\r\n getMembers = (id: string, input: GetIdentityUsersInput) =>\r\n this.restService.request<any, PagedResultDto<IdentityUserDto>>({\r\n method: 'GET',\r\n url: `/api/identity/organization-units/${id}/members`,\r\n params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, isLockedOut: input.isLockedOut, notActive: input.notActive, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getRoles = (id: string, input: PagedAndSortedResultRequestDto) =>\r\n this.restService.request<any, PagedResultDto<IdentityRoleDto>>({\r\n method: 'GET',\r\n url: `/api/identity/organization-units/${id}/roles`,\r\n params: { skipCount: input.skipCount, maxResultCount: input.maxResultCount, sorting: input.sorting },\r\n },\r\n { apiName: this.apiName });\r\n\r\n move = (id: string, input: OrganizationUnitMoveInput) =>\r\n this.restService.request<any, void>({\r\n method: 'PUT',\r\n url: `/api/identity/organization-units/${id}/move`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n removeMember = (id: string, memberId: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: `/api/identity/organization-units/${id}/members/${memberId}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n removeRole = (id: string, roleId: string) =>\r\n this.restService.request<any, void>({\r\n method: 'DELETE',\r\n url: `/api/identity/organization-units/${id}/roles/${roleId}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n update = (id: string, input: OrganizationUnitUpdateDto) =>\r\n this.restService.request<any, OrganizationUnitWithDetailsDto>({\r\n method: 'PUT',\r\n url: `/api/identity/organization-units/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private rest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