@volo/abp.ng.identity 5.3.0-rc.1 → 5.3.0
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/components/identity-setting-tabs/identity-external-login-settings.component.d.ts +20 -0
- package/config/components/identity-setting-tabs/identity-ldap-settings.component.d.ts +17 -0
- package/config/components/identity-setting-tabs/identity-setting.component.d.ts +25 -0
- package/config/components/identity-setting-tabs/index.d.ts +3 -0
- package/config/components/identity-settings.component.d.ts +5 -18
- package/config/components/index.d.ts +1 -0
- package/config/identity-config.module.d.ts +9 -5
- package/esm2020/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +58 -0
- package/esm2020/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +39 -0
- package/esm2020/config/components/identity-setting-tabs/identity-setting.component.mjs +95 -0
- package/esm2020/config/components/identity-setting-tabs/index.mjs +4 -0
- package/esm2020/config/components/identity-settings.component.mjs +19 -85
- package/esm2020/config/components/index.mjs +2 -1
- package/esm2020/config/identity-config.module.mjs +27 -8
- package/esm2020/lib/components/claims/claims.component.mjs +1 -1
- package/esm2020/lib/components/external-login/external-login.component.mjs +85 -0
- package/esm2020/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +32 -0
- package/esm2020/lib/components/index.mjs +3 -1
- package/esm2020/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +5 -5
- package/esm2020/lib/components/organization-units/organization-units.component.mjs +1 -1
- package/esm2020/lib/components/roles/roles.component.mjs +1 -1
- package/esm2020/lib/components/security-logs/security-logs.component.mjs +11 -10
- package/esm2020/lib/components/users/users.component.mjs +1 -1
- package/esm2020/lib/defaults/default-users-entity-props.mjs +2 -2
- package/esm2020/lib/defaults/default-users-toolbar-actions.mjs +13 -2
- package/esm2020/lib/identity.module.mjs +13 -3
- package/esm2020/lib/tokens/extensions.token.mjs +3 -3
- package/esm2020/proxy/lib/proxy/identity/identity-settings.service.mjs +19 -1
- package/esm2020/proxy/lib/proxy/identity/identity-user.service.mjs +10 -1
- package/esm2020/proxy/lib/proxy/identity/models.mjs +1 -1
- package/fesm2015/volo-abp.ng.identity-config.mjs +138 -29
- package/fesm2015/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.identity-proxy.mjs +27 -0
- package/fesm2015/volo-abp.ng.identity-proxy.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.identity.mjs +402 -284
- package/fesm2015/volo-abp.ng.identity.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity-config.mjs +140 -31
- package/fesm2020/volo-abp.ng.identity-config.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity-proxy.mjs +27 -0
- package/fesm2020/volo-abp.ng.identity-proxy.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.identity.mjs +399 -283
- package/fesm2020/volo-abp.ng.identity.mjs.map +1 -1
- package/lib/components/external-login/external-login.component.d.ts +32 -0
- package/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.d.ts +14 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/security-logs/security-logs.component.d.ts +3 -1
- package/lib/defaults/default-users-toolbar-actions.d.ts +3 -1
- package/lib/identity.module.d.ts +13 -11
- package/lib/tokens/extensions.token.d.ts +1 -1
- package/package.json +7 -7
- package/proxy/lib/proxy/identity/identity-settings.service.d.ts +5 -1
- package/proxy/lib/proxy/identity/identity-user.service.d.ts +3 -1
- package/proxy/lib/proxy/identity/models.d.ts +30 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ExternalLoginProviderDto, IdentityUserService } from '@volo/abp.ng.identity/proxy';
|
|
4
|
+
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
5
|
+
import { Confirmation } from '@abp/ng.theme.shared/lib/models/confirmation';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ExternalLoginComponent implements OnChanges {
|
|
8
|
+
protected injector: Injector;
|
|
9
|
+
fb: FormBuilder;
|
|
10
|
+
protected service: IdentityUserService;
|
|
11
|
+
confirmationService: ConfirmationService;
|
|
12
|
+
form: FormGroup;
|
|
13
|
+
selected: ExternalLoginProviderDto;
|
|
14
|
+
modalBusy: boolean;
|
|
15
|
+
externalLoginProviders: ExternalLoginProviderDto[];
|
|
16
|
+
selectedExternalLoginProvider: string;
|
|
17
|
+
password: string;
|
|
18
|
+
userNameOrEmailAddress: string;
|
|
19
|
+
dataSave: EventEmitter<void>;
|
|
20
|
+
protected _visible: any;
|
|
21
|
+
options: Confirmation.Options;
|
|
22
|
+
get visible(): boolean;
|
|
23
|
+
set visible(value: boolean);
|
|
24
|
+
visibleChange: EventEmitter<boolean>;
|
|
25
|
+
constructor(injector: Injector, fb: FormBuilder, service: IdentityUserService, confirmationService: ConfirmationService);
|
|
26
|
+
ngOnChanges(): void;
|
|
27
|
+
buildForm(): void;
|
|
28
|
+
getExternalLoginProviders(): void;
|
|
29
|
+
save(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalLoginComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalLoginComponent, "abp-external-login", never, { "visible": "visible"; }, { "dataSave": "dataSave"; "visibleChange": "visibleChange"; }, never, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActionData } from '@abp/ng.theme.shared/extensions';
|
|
2
|
+
import { UsersComponent } from '../../users/users.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UserDropdownMenuComponent {
|
|
5
|
+
data: ActionData;
|
|
6
|
+
component: UsersComponent;
|
|
7
|
+
constructor(data: ActionData);
|
|
8
|
+
options: string[];
|
|
9
|
+
isExternalModalVisible: boolean;
|
|
10
|
+
onAddExternalLogin(): void;
|
|
11
|
+
getList(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserDropdownMenuComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserDropdownMenuComponent, "abp-user-dropdown-menu", never, {}, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './external-login/external-login.component';
|
|
2
|
+
export * from './external-login/user-dropdown-menu/user-dropdown-menu.component';
|
|
1
3
|
export * from './claim-modal/claim-modal.component';
|
|
2
4
|
export * from './claims/claims.component';
|
|
3
5
|
export * from './organization-units/abstract-organization-unit/abstract-organization-unit.component';
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { ListService, PagedResultDto } from '@abp/ng.core';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
+
import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
3
4
|
import { GetIdentitySecurityLogListInput, IdentitySecurityLogDto, IdentitySecurityLogService } from '@volo/abp.ng.identity/proxy';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class SecurityLogsComponent implements OnInit {
|
|
6
7
|
readonly list: ListService;
|
|
7
8
|
private service;
|
|
9
|
+
ngbDateParserFormatter: NgbDateParserFormatter;
|
|
8
10
|
data: PagedResultDto<IdentitySecurityLogDto>;
|
|
9
11
|
filter: GetIdentitySecurityLogListInput;
|
|
10
|
-
constructor(list: ListService, service: IdentitySecurityLogService);
|
|
12
|
+
constructor(list: ListService, service: IdentitySecurityLogService, ngbDateParserFormatter: NgbDateParserFormatter);
|
|
11
13
|
ngOnInit(): void;
|
|
12
14
|
private hookToQuery;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SecurityLogsComponent, never>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import { ToolbarAction } from '@abp/ng.theme.shared/extensions';
|
|
1
|
+
import { ToolbarAction, ToolbarComponent } from '@abp/ng.theme.shared/extensions';
|
|
2
2
|
import { IdentityUserDto } from '@volo/abp.ng.identity/proxy';
|
|
3
|
+
export declare const DEFAULT_USERS_TOOLBAR_COMPONENTS: ToolbarComponent<IdentityUserDto[]>[];
|
|
3
4
|
export declare const DEFAULT_USERS_TOOLBAR_ACTIONS: ToolbarAction<IdentityUserDto[]>[];
|
|
5
|
+
export declare const DEFAULT_USERS_TOOLBAR_ALL: (ToolbarComponent<IdentityUserDto[]> | ToolbarAction<IdentityUserDto[]>)[];
|
package/lib/identity.module.d.ts
CHANGED
|
@@ -13,20 +13,22 @@ import * as i9 from "./components/organization-units/organization-roles/organiza
|
|
|
13
13
|
import * as i10 from "./components/organization-units/abstract-organization-unit/abstract-organization-unit.component";
|
|
14
14
|
import * as i11 from "./components/security-logs/security-logs.component";
|
|
15
15
|
import * as i12 from "./components/organization-units/selected-organization-unit/selected-organization-unit.component";
|
|
16
|
-
import * as i13 from "
|
|
17
|
-
import * as i14 from "
|
|
18
|
-
import * as i15 from "
|
|
19
|
-
import * as i16 from "@
|
|
20
|
-
import * as i17 from "
|
|
21
|
-
import * as i18 from "@
|
|
22
|
-
import * as i19 from "@
|
|
23
|
-
import * as i20 from "@abp/ng.
|
|
24
|
-
import * as i21 from "@
|
|
25
|
-
import * as i22 from "@abp/ng.
|
|
16
|
+
import * as i13 from "./components/external-login/external-login.component";
|
|
17
|
+
import * as i14 from "./components/external-login/user-dropdown-menu/user-dropdown-menu.component";
|
|
18
|
+
import * as i15 from "@abp/ng.core";
|
|
19
|
+
import * as i16 from "@volo/abp.commercial.ng.ui";
|
|
20
|
+
import * as i17 from "./identity-routing.module";
|
|
21
|
+
import * as i18 from "@ng-bootstrap/ng-bootstrap";
|
|
22
|
+
import * as i19 from "@abp/ng.theme.shared";
|
|
23
|
+
import * as i20 from "@abp/ng.permission-management";
|
|
24
|
+
import * as i21 from "@ngx-validate/core";
|
|
25
|
+
import * as i22 from "@abp/ng.components/tree";
|
|
26
|
+
import * as i23 from "@abp/ng.components/page";
|
|
27
|
+
import * as i24 from "@abp/ng.theme.shared/extensions";
|
|
26
28
|
export declare class IdentityModule {
|
|
27
29
|
static forChild(options?: IdentityConfigOptions): ModuleWithProviders<IdentityModule>;
|
|
28
30
|
static forLazy(options?: IdentityConfigOptions): NgModuleFactory<IdentityModule>;
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdentityModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IdentityModule, [typeof i1.RolesComponent, typeof i2.UsersComponent, typeof i3.ClaimModalComponent, typeof i4.ClaimsComponent, typeof i5.OrganizationUnitsComponent, typeof i6.OrganizationMembersComponent, typeof i7.OrganizationMembersModalBodyComponent, typeof i8.OrganizationRolesComponent, typeof i9.OrganizationRolesModalBodyComponent, typeof i10.AbstractOrganizationUnitComponent, typeof i11.SecurityLogsComponent, typeof i12.SelectedOrganizationUnitComponent], [typeof
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IdentityModule, [typeof i1.RolesComponent, typeof i2.UsersComponent, typeof i3.ClaimModalComponent, typeof i4.ClaimsComponent, typeof i5.OrganizationUnitsComponent, typeof i6.OrganizationMembersComponent, typeof i7.OrganizationMembersModalBodyComponent, typeof i8.OrganizationRolesComponent, typeof i9.OrganizationRolesModalBodyComponent, typeof i10.AbstractOrganizationUnitComponent, typeof i11.SecurityLogsComponent, typeof i12.SelectedOrganizationUnitComponent, typeof i13.ExternalLoginComponent, typeof i14.UserDropdownMenuComponent], [typeof i15.CoreModule, typeof i16.CommercialUiModule, typeof i17.IdentityRoutingModule, typeof i18.NgbNavModule, typeof i19.ThemeSharedModule, typeof i18.NgbDropdownModule, typeof i18.NgbDatepickerModule, typeof i20.PermissionManagementModule, typeof i21.NgxValidateCoreModule, typeof i22.TreeModule, typeof i23.PageModule, typeof i16.AdvancedEntityFiltersModule, typeof i24.UiExtensionsModule], [typeof i1.RolesComponent, typeof i2.UsersComponent, typeof i3.ClaimModalComponent, typeof i4.ClaimsComponent, typeof i5.OrganizationUnitsComponent, typeof i6.OrganizationMembersComponent, typeof i7.OrganizationMembersModalBodyComponent, typeof i8.OrganizationRolesComponent, typeof i9.OrganizationRolesModalBodyComponent, typeof i10.AbstractOrganizationUnitComponent, typeof i11.SecurityLogsComponent, typeof i12.SelectedOrganizationUnitComponent, typeof i13.ExternalLoginComponent, typeof i14.UserDropdownMenuComponent]>;
|
|
31
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<IdentityModule>;
|
|
32
34
|
}
|
|
@@ -13,7 +13,7 @@ export declare const DEFAULT_IDENTITY_ENTITY_ACTIONS: {
|
|
|
13
13
|
export declare const DEFAULT_IDENTITY_TOOLBAR_ACTIONS: {
|
|
14
14
|
"Identity.ClaimsComponent": import("@abp/ng.theme.shared/extensions").ToolbarAction<ClaimTypeDto[]>[];
|
|
15
15
|
"Identity.RolesComponent": import("@abp/ng.theme.shared/extensions").ToolbarAction<IdentityRoleDto[]>[];
|
|
16
|
-
"Identity.UsersComponent": import("@abp/ng.theme.shared/extensions").ToolbarAction<IdentityUserDto[]>[];
|
|
16
|
+
"Identity.UsersComponent": (import("@abp/ng.theme.shared/extensions").ToolbarComponent<IdentityUserDto[]> | import("@abp/ng.theme.shared/extensions").ToolbarAction<IdentityUserDto[]>)[];
|
|
17
17
|
"Identity.OrganizationUnitsComponent": import("@abp/ng.theme.shared/extensions").ToolbarAction<OrganizationUnitWithDetailsDto[]>[];
|
|
18
18
|
"Identity.SecurityLogs": import("@abp/ng.theme.shared/extensions").ToolbarAction<IdentitySecurityLogDto[]>[];
|
|
19
19
|
};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.identity",
|
|
3
|
-
"version": "5.3.0
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~5.3.0
|
|
7
|
-
"@abp/ng.permission-management": "~5.3.0
|
|
8
|
-
"@abp/ng.setting-management": "~5.3.0
|
|
9
|
-
"@abp/ng.theme.shared": "~5.3.0
|
|
10
|
-
"@volo/abp.commercial.ng.ui": "~5.3.0
|
|
11
|
-
"@volo/abp.ng.account": "~5.3.0
|
|
6
|
+
"@abp/ng.components": "~5.3.0",
|
|
7
|
+
"@abp/ng.permission-management": "~5.3.0",
|
|
8
|
+
"@abp/ng.setting-management": "~5.3.0",
|
|
9
|
+
"@abp/ng.theme.shared": "~5.3.0",
|
|
10
|
+
"@volo/abp.commercial.ng.ui": "~5.3.0",
|
|
11
|
+
"@volo/abp.ng.account": "~5.3.0",
|
|
12
12
|
"ng-zorro-antd": "^13.0.0",
|
|
13
13
|
"tslib": "^2.0.0"
|
|
14
14
|
},
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import type { IdentitySettingsDto } from './models';
|
|
1
|
+
import type { IdentityLdapSettingsDto, IdentityOAuthSettingsDto, IdentitySettingsDto } from './models';
|
|
2
2
|
import { RestService } from '@abp/ng.core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class IdentitySettingsService {
|
|
5
5
|
private restService;
|
|
6
6
|
apiName: string;
|
|
7
7
|
get: () => import("rxjs").Observable<IdentitySettingsDto>;
|
|
8
|
+
getLdap: () => import("rxjs").Observable<IdentityLdapSettingsDto>;
|
|
9
|
+
getOAuth: () => import("rxjs").Observable<IdentityOAuthSettingsDto>;
|
|
8
10
|
update: (input: IdentitySettingsDto) => import("rxjs").Observable<void>;
|
|
11
|
+
updateLdap: (input: IdentityLdapSettingsDto) => import("rxjs").Observable<void>;
|
|
12
|
+
updateOAuth: (input: IdentityOAuthSettingsDto) => import("rxjs").Observable<void>;
|
|
9
13
|
constructor(restService: RestService);
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdentitySettingsService, never>;
|
|
11
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<IdentitySettingsService>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ClaimTypeDto, GetIdentityUsersInput, IdentityRoleDto, IdentityRoleLookupDto, IdentityUserClaimDto, IdentityUserCreateDto, IdentityUserDto, IdentityUserUpdateDto, IdentityUserUpdatePasswordInput, IdentityUserUpdateRolesDto, OrganizationUnitDto, OrganizationUnitLookupDto, OrganizationUnitWithDetailsDto } from './models';
|
|
1
|
+
import type { ClaimTypeDto, ExternalLoginProviderDto, GetIdentityUsersInput, IdentityRoleDto, IdentityRoleLookupDto, IdentityUserClaimDto, IdentityUserCreateDto, IdentityUserDto, IdentityUserUpdateDto, IdentityUserUpdatePasswordInput, IdentityUserUpdateRolesDto, ImportExternalUserInput, OrganizationUnitDto, OrganizationUnitLookupDto, OrganizationUnitWithDetailsDto } from './models';
|
|
2
2
|
import { RestService } from '@abp/ng.core';
|
|
3
3
|
import type { ListResultDto, PagedResultDto } from '@abp/ng.core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -14,12 +14,14 @@ export declare class IdentityUserService {
|
|
|
14
14
|
getAssignableRoles: () => import("rxjs").Observable<ListResultDto<IdentityRoleDto>>;
|
|
15
15
|
getAvailableOrganizationUnits: () => import("rxjs").Observable<ListResultDto<OrganizationUnitWithDetailsDto>>;
|
|
16
16
|
getClaims: (id: string) => import("rxjs").Observable<IdentityUserClaimDto[]>;
|
|
17
|
+
getExternalLoginProviders: () => import("rxjs").Observable<ExternalLoginProviderDto[]>;
|
|
17
18
|
getList: (input: GetIdentityUsersInput) => import("rxjs").Observable<PagedResultDto<IdentityUserDto>>;
|
|
18
19
|
getOrganizationUnitLookup: () => import("rxjs").Observable<OrganizationUnitLookupDto[]>;
|
|
19
20
|
getOrganizationUnits: (id: string) => import("rxjs").Observable<OrganizationUnitDto[]>;
|
|
20
21
|
getRoleLookup: () => import("rxjs").Observable<IdentityRoleLookupDto[]>;
|
|
21
22
|
getRoles: (id: string) => import("rxjs").Observable<ListResultDto<IdentityRoleDto>>;
|
|
22
23
|
getTwoFactorEnabled: (id: string) => import("rxjs").Observable<boolean>;
|
|
24
|
+
importExternalUser: (input: ImportExternalUserInput) => import("rxjs").Observable<IdentityUserDto>;
|
|
23
25
|
lock: (id: string, lockoutEnd: string) => import("rxjs").Observable<void>;
|
|
24
26
|
setTwoFactorEnabled: (id: string, enabled: boolean) => import("rxjs").Observable<void>;
|
|
25
27
|
unlock: (id: string) => import("rxjs").Observable<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreationAuditedEntityDto, EntityDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto, PagedResultRequestDto } from '@abp/ng.core';
|
|
1
|
+
import type { CreationAuditedEntityDto, EntityDto, ExtensibleAuditedEntityDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto, PagedResultRequestDto } from '@abp/ng.core';
|
|
2
2
|
import type { IdentityClaimValueType } from './identity-claim-value-type.enum';
|
|
3
3
|
export interface ClaimTypeDto extends ExtensibleEntityDto<string> {
|
|
4
4
|
name?: string;
|
|
@@ -19,6 +19,10 @@ export interface CreateClaimTypeDto extends ExtensibleObject {
|
|
|
19
19
|
description?: string;
|
|
20
20
|
valueType: IdentityClaimValueType;
|
|
21
21
|
}
|
|
22
|
+
export interface ExternalLoginProviderDto {
|
|
23
|
+
name?: string;
|
|
24
|
+
canObtainUserInfoWithoutPassword: boolean;
|
|
25
|
+
}
|
|
22
26
|
export interface GetAvailableRolesInput extends PagedAndSortedResultRequestDto {
|
|
23
27
|
filter?: string;
|
|
24
28
|
id?: string;
|
|
@@ -56,11 +60,28 @@ export interface GetIdentityUsersInput extends PagedAndSortedResultRequestDto {
|
|
|
56
60
|
export interface GetOrganizationUnitInput extends PagedAndSortedResultRequestDto {
|
|
57
61
|
filter?: string;
|
|
58
62
|
}
|
|
63
|
+
export interface IdentityLdapSettingsDto {
|
|
64
|
+
enableLdapLogin: boolean;
|
|
65
|
+
ldapServerHost?: string;
|
|
66
|
+
ldapServerPort?: string;
|
|
67
|
+
ldapBaseDc?: string;
|
|
68
|
+
ldapDomain?: string;
|
|
69
|
+
ldapUserName?: string;
|
|
70
|
+
ldapPassword?: string;
|
|
71
|
+
}
|
|
59
72
|
export interface IdentityLockoutSettingsDto {
|
|
60
73
|
allowedForNewUsers: boolean;
|
|
61
74
|
lockoutDuration: number;
|
|
62
75
|
maxFailedAccessAttempts: number;
|
|
63
76
|
}
|
|
77
|
+
export interface IdentityOAuthSettingsDto {
|
|
78
|
+
enableOAuthLogin: boolean;
|
|
79
|
+
clientId: string;
|
|
80
|
+
clientSecret?: string;
|
|
81
|
+
authority: string;
|
|
82
|
+
scope?: string;
|
|
83
|
+
requireHttpsMetadata: boolean;
|
|
84
|
+
}
|
|
64
85
|
export interface IdentityPasswordSettingsDto {
|
|
65
86
|
requiredLength: number;
|
|
66
87
|
requiredUniqueChars: number;
|
|
@@ -140,7 +161,7 @@ export interface IdentityUserCreateOrUpdateDtoBase extends ExtensibleObject {
|
|
|
140
161
|
roleNames: string[];
|
|
141
162
|
organizationUnitIds: string[];
|
|
142
163
|
}
|
|
143
|
-
export interface IdentityUserDto extends
|
|
164
|
+
export interface IdentityUserDto extends ExtensibleAuditedEntityDto<string> {
|
|
144
165
|
tenantId?: string;
|
|
145
166
|
userName?: string;
|
|
146
167
|
email?: string;
|
|
@@ -150,12 +171,14 @@ export interface IdentityUserDto extends ExtensibleEntityDto<string> {
|
|
|
150
171
|
phoneNumber?: string;
|
|
151
172
|
phoneNumberConfirmed: boolean;
|
|
152
173
|
supportTwoFactor: boolean;
|
|
174
|
+
twoFactorEnabled: boolean;
|
|
153
175
|
isActive: boolean;
|
|
154
176
|
lockoutEnabled: boolean;
|
|
155
177
|
isLockedOut: boolean;
|
|
156
178
|
lockoutEnd?: string;
|
|
157
179
|
concurrencyStamp?: string;
|
|
158
180
|
roleNames: string[];
|
|
181
|
+
accessFailedCount: number;
|
|
159
182
|
}
|
|
160
183
|
export interface IdentityUserSettingsDto {
|
|
161
184
|
isUserNameUpdateEnabled: boolean;
|
|
@@ -170,6 +193,11 @@ export interface IdentityUserUpdatePasswordInput {
|
|
|
170
193
|
export interface IdentityUserUpdateRolesDto {
|
|
171
194
|
roleNames: string[];
|
|
172
195
|
}
|
|
196
|
+
export interface ImportExternalUserInput {
|
|
197
|
+
provider: string;
|
|
198
|
+
userNameOrEmailAddress: string;
|
|
199
|
+
password?: string;
|
|
200
|
+
}
|
|
173
201
|
export interface OrganizationUnitCreateDto extends OrganizationUnitCreateOrUpdateDtoBase {
|
|
174
202
|
parentId?: string;
|
|
175
203
|
}
|