@volo/abp.ng.openiddictpro 9.3.0-rc.2 → 9.3.0-rc.4

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.
Files changed (70) hide show
  1. package/config/index.d.ts +29 -3
  2. package/fesm2022/volo-abp.ng.openiddictpro-config.mjs +4 -4
  3. package/fesm2022/volo-abp.ng.openiddictpro-config.mjs.map +1 -1
  4. package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs +6 -6
  5. package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -1
  6. package/fesm2022/volo-abp.ng.openiddictpro.mjs +26 -26
  7. package/fesm2022/volo-abp.ng.openiddictpro.mjs.map +1 -1
  8. package/index.d.ts +288 -3
  9. package/package.json +5 -5
  10. package/proxy/index.d.ts +152 -5
  11. package/config/enums/index.d.ts +0 -2
  12. package/config/enums/policy-names.d.ts +0 -5
  13. package/config/enums/route-names.d.ts +0 -5
  14. package/config/openiddictpro-config.module.d.ts +0 -11
  15. package/config/providers/index.d.ts +0 -2
  16. package/config/providers/openiddictpro-config.provider.d.ts +0 -1
  17. package/config/providers/route.provider.d.ts +0 -2
  18. package/config/public-api.d.ts +0 -3
  19. package/lib/components/application-form-modal/application-form-modal.component.d.ts +0 -42
  20. package/lib/components/applications/applications.component.d.ts +0 -28
  21. package/lib/components/index.d.ts +0 -6
  22. package/lib/components/scope-form-modal/scope-form-modal.component.d.ts +0 -26
  23. package/lib/components/scopes/allow-flow.d.ts +0 -2
  24. package/lib/components/scopes/scopes.component.d.ts +0 -23
  25. package/lib/components/token-lifetime-modal/token-lifetime-modal.component.d.ts +0 -18
  26. package/lib/defaults/default-applications-consent-type.d.ts +0 -4
  27. package/lib/defaults/default-applications-entity-actions.d.ts +0 -3
  28. package/lib/defaults/default-applications-entity-props.d.ts +0 -3
  29. package/lib/defaults/default-applications-form-props.d.ts +0 -4
  30. package/lib/defaults/default-applications-toolbar-actions.d.ts +0 -3
  31. package/lib/defaults/default-applications-types.d.ts +0 -12
  32. package/lib/defaults/default-scope-entity-actions.d.ts +0 -3
  33. package/lib/defaults/default-scope-entity-props.d.ts +0 -3
  34. package/lib/defaults/default-scope-form-props.d.ts +0 -4
  35. package/lib/defaults/default-scope-toolbar-actions.d.ts +0 -3
  36. package/lib/defaults/default-uri-pattern.d.ts +0 -1
  37. package/lib/defaults/index.d.ts +0 -11
  38. package/lib/enums/components.d.ts +0 -4
  39. package/lib/enums/index.d.ts +0 -1
  40. package/lib/guards/extensions.guard.d.ts +0 -11
  41. package/lib/guards/index.d.ts +0 -1
  42. package/lib/models/applications-service-state.d.ts +0 -4
  43. package/lib/models/config-options.d.ts +0 -26
  44. package/lib/models/index.d.ts +0 -3
  45. package/lib/models/scopes-service-state.d.ts +0 -3
  46. package/lib/openiddictpro-routing.module.d.ts +0 -7
  47. package/lib/openiddictpro.module.d.ts +0 -27
  48. package/lib/openiddictpro.routes.d.ts +0 -3
  49. package/lib/resolvers/extensions.resolver.d.ts +0 -2
  50. package/lib/resolvers/index.d.ts +0 -1
  51. package/lib/services/applications.service.d.ts +0 -9
  52. package/lib/services/index.d.ts +0 -2
  53. package/lib/services/scopes.service.d.ts +0 -6
  54. package/lib/tokens/extensions.token.d.ts +0 -39
  55. package/lib/tokens/index.d.ts +0 -1
  56. package/lib/utils/hashset-parser.d.ts +0 -1
  57. package/lib/utils/index.d.ts +0 -2
  58. package/lib/utils/new-line-regex.d.ts +0 -1
  59. package/lib/utils/uris-validator.d.ts +0 -2
  60. package/proxy/lib/proxy/application.service.d.ts +0 -18
  61. package/proxy/lib/proxy/applications/dtos/index.d.ts +0 -1
  62. package/proxy/lib/proxy/applications/dtos/models.d.ts +0 -65
  63. package/proxy/lib/proxy/applications/index.d.ts +0 -2
  64. package/proxy/lib/proxy/index.d.ts +0 -5
  65. package/proxy/lib/proxy/scope.service.d.ts +0 -17
  66. package/proxy/lib/proxy/scopes/dtos/index.d.ts +0 -1
  67. package/proxy/lib/proxy/scopes/dtos/models.d.ts +0 -21
  68. package/proxy/lib/proxy/scopes/index.d.ts +0 -2
  69. package/proxy/public-api.d.ts +0 -1
  70. package/public-api.d.ts +0 -9
@@ -1,18 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { Applications } from '@volo/abp.ng.openiddictpro/proxy';
3
- import { ToasterService } from '@abp/ng.theme.shared';
4
- import * as i0 from "@angular/core";
5
- export declare class TokenLifetimeModalComponent implements OnInit {
6
- #private;
7
- protected readonly toasterService: ToasterService;
8
- selected: Applications.Dtos.ApplicationDto;
9
- saved: EventEmitter<any>;
10
- loading: import("@angular/core").WritableSignal<boolean>;
11
- form: import("@angular/forms").FormGroup<{}>;
12
- ngOnInit(): void;
13
- generateTokenLifetimeFormControls(): {};
14
- save(): void;
15
- visibleChange($event: boolean): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TokenLifetimeModalComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TokenLifetimeModalComponent, "abp-token-lifetime-modal", never, { "selected": { "alias": "selected"; "required": false; }; }, { "saved": "saved"; }, never, never, true, never>;
18
- }
@@ -1,4 +0,0 @@
1
- export declare const DefaultApplicationsConsentType: {
2
- key: string;
3
- value: string;
4
- }[];
@@ -1,3 +0,0 @@
1
- import { EntityAction } from '@abp/ng.components/extensible';
2
- import { Applications } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_APPLICATIONS_ENTITY_ACTIONS: EntityAction<Applications.Dtos.ApplicationDto>[];
@@ -1,3 +0,0 @@
1
- import { EntityProp } from '@abp/ng.components/extensible';
2
- import { Applications } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_APPLICATIONS_ENTITY_PROPS: EntityProp<Applications.Dtos.ApplicationDto>[];
@@ -1,4 +0,0 @@
1
- import { FormProp } from '@abp/ng.components/extensible';
2
- import { Applications } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS: FormProp<Applications.Dtos.ApplicationDto>[];
4
- export declare const DEFAULT_APPLICATIONS_FORM_PROPS: FormProp<Applications.Dtos.ApplicationDto>[];
@@ -1,3 +0,0 @@
1
- import { ToolbarAction } from '@abp/ng.components/extensible';
2
- import { Applications } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS: ToolbarAction<Applications.Dtos.ApplicationDto[]>[];
@@ -1,12 +0,0 @@
1
- export declare const defaultApplicationsTypeList: {
2
- key: string;
3
- value: string;
4
- }[];
5
- export declare const defaultApplicationTypes: {
6
- public: string;
7
- confidential: string;
8
- };
9
- export declare const defaultApplicationTypesList: {
10
- key: string;
11
- value: string;
12
- }[];
@@ -1,3 +0,0 @@
1
- import { EntityAction } from '@abp/ng.components/extensible';
2
- import { Scopes } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_SCOPE_ENTITY_ACTIONS: EntityAction<Scopes.Dtos.ScopeDto>[];
@@ -1,3 +0,0 @@
1
- import { EntityProp } from '@abp/ng.components/extensible';
2
- import { Scopes } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_SCOPES_ENTITY_PROPS: EntityProp<Scopes.Dtos.ScopeDto>[];
@@ -1,4 +0,0 @@
1
- import { FormProp } from '@abp/ng.components/extensible';
2
- import { Scopes } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_SCOPE_CREATE_FORM_PROPS: FormProp<Scopes.Dtos.ScopeDto>[];
4
- export declare const DEFAULT_SCOPES_FORM_PROPS: FormProp<Scopes.Dtos.ScopeDto>[];
@@ -1,3 +0,0 @@
1
- import { ToolbarAction } from '@abp/ng.components/extensible';
2
- import { Applications } from '@volo/abp.ng.openiddictpro/proxy';
3
- export declare const DEFAULT_SCOPES_TOOLBAR_ACTIONS: ToolbarAction<Applications.Dtos.ApplicationDto[]>[];
@@ -1 +0,0 @@
1
- export declare const defaultUriPattern: RegExp;
@@ -1,11 +0,0 @@
1
- export * from './default-applications-entity-actions';
2
- export * from './default-applications-entity-props';
3
- export * from './default-applications-form-props';
4
- export * from './default-applications-toolbar-actions';
5
- export * from './default-applications-types';
6
- export * from './default-applications-consent-type';
7
- export * from './default-scope-entity-actions';
8
- export * from './default-scope-entity-props';
9
- export * from './default-scope-form-props';
10
- export * from './default-scope-toolbar-actions';
11
- export * from './default-uri-pattern';
@@ -1,4 +0,0 @@
1
- export declare const enum eOpenIddictProComponents {
2
- Applications = "OpenIddictPro.Applications",
3
- Scopes = "OpenIddictPro.Scopes"
4
- }
@@ -1 +0,0 @@
1
- export * from './components';
@@ -1,11 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated Use `openIddictProExtensionsResolver` *function* instead.
5
- */
6
- export declare class OpenIddictProExtensionsGuard {
7
- private readonly injector;
8
- canActivate(): Observable<boolean>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<OpenIddictProExtensionsGuard, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<OpenIddictProExtensionsGuard>;
11
- }
@@ -1 +0,0 @@
1
- export * from './extensions.guard';
@@ -1,4 +0,0 @@
1
- export interface ApplicationsServiceState {
2
- isModalVisible: boolean;
3
- tokenLifetimeModal: boolean;
4
- }
@@ -1,26 +0,0 @@
1
- import { eOpenIddictProComponents } from '../enums';
2
- import { CreateFormPropContributorCallback, EditFormPropContributorCallback, EntityActionContributorCallback, EntityPropContributorCallback, ToolbarActionContributorCallback } from '@abp/ng.components/extensible';
3
- import { Applications, Scopes } from '@volo/abp.ng.openiddictpro/proxy';
4
- export type OpenIddictProEntityActionContributors = Partial<{
5
- [eOpenIddictProComponents.Applications]: EntityActionContributorCallback<Applications.Dtos.ApplicationDto>[];
6
- [eOpenIddictProComponents.Scopes]: EntityActionContributorCallback<Scopes.Dtos.ScopeDto>[];
7
- }>;
8
- export type OpenIddictProToolbarActionContributors = Partial<{
9
- [eOpenIddictProComponents.Applications]: ToolbarActionContributorCallback<Applications.Dtos.ApplicationDto[]>[];
10
- }>;
11
- export type OpenIddictProEntityPropContributors = Partial<{
12
- [eOpenIddictProComponents.Applications]: EntityPropContributorCallback<Applications.Dtos.ApplicationDto>[];
13
- }>;
14
- export type OpenIddictProCreateFormPropContributors = Partial<{
15
- [eOpenIddictProComponents.Applications]: CreateFormPropContributorCallback<Applications.Dtos.ApplicationDto>[];
16
- }>;
17
- export type OpenIddictProEditFormPropContributors = Partial<{
18
- [eOpenIddictProComponents.Applications]: EditFormPropContributorCallback<Applications.Dtos.ApplicationDto>[];
19
- }>;
20
- export interface OpenIddictProConfigOptions {
21
- entityActionContributors?: OpenIddictProEntityActionContributors;
22
- toolbarActionContributors?: OpenIddictProToolbarActionContributors;
23
- entityPropContributors?: OpenIddictProEntityPropContributors;
24
- createFormPropContributors?: OpenIddictProCreateFormPropContributors;
25
- editFormPropContributors?: OpenIddictProEditFormPropContributors;
26
- }
@@ -1,3 +0,0 @@
1
- export * from './config-options';
2
- export * from './applications-service-state';
3
- export * from './scopes-service-state';
@@ -1,3 +0,0 @@
1
- export interface ScopesServiceState {
2
- isModalVisible: boolean;
3
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/router";
3
- export declare class OpeniddictproRoutingModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<OpeniddictproRoutingModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<OpeniddictproRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<OpeniddictproRoutingModule>;
7
- }
@@ -1,27 +0,0 @@
1
- import { ModuleWithProviders, NgModuleFactory } from '@angular/core';
2
- import { OpenIddictProConfigOptions } from './models/config-options';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./openiddictpro-routing.module";
5
- import * as i2 from "@abp/ng.core";
6
- import * as i3 from "@volo/abp.commercial.ng.ui";
7
- import * as i4 from "@abp/ng.theme.shared";
8
- import * as i5 from "@ng-bootstrap/ng-bootstrap";
9
- import * as i6 from "@ngx-validate/core";
10
- import * as i7 from "@abp/ng.components/page";
11
- import * as i8 from "@abp/ng.permission-management";
12
- import * as i9 from "@abp/ng.components/extensible";
13
- import * as i10 from "./components/token-lifetime-modal/token-lifetime-modal.component";
14
- import * as i11 from "./components/applications/applications.component";
15
- import * as i12 from "./components/application-form-modal/application-form-modal.component";
16
- import * as i13 from "./components/scopes/scopes.component";
17
- import * as i14 from "./components/scope-form-modal/scope-form-modal.component";
18
- export declare class OpeniddictproModule {
19
- static forChild(options?: OpenIddictProConfigOptions): ModuleWithProviders<OpeniddictproModule>;
20
- /**
21
- * @deprecated `OpeniddictproModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead.
22
- */
23
- static forLazy(options?: OpenIddictProConfigOptions): NgModuleFactory<OpeniddictproModule>;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<OpeniddictproModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<OpeniddictproModule, never, [typeof i1.OpeniddictproRoutingModule, typeof i2.CoreModule, typeof i3.CommercialUiModule, typeof i4.ThemeSharedModule, typeof i5.NgbDropdownModule, typeof i6.NgxValidateCoreModule, typeof i7.PageModule, typeof i3.AdvancedEntityFiltersModule, typeof i8.PermissionManagementModule, typeof i9.ExtensibleFormComponent, typeof i10.TokenLifetimeModalComponent, typeof i9.ExtensibleTableComponent, typeof i11.ApplicationsComponent, typeof i12.ApplicationFormModalComponent, typeof i13.ScopesComponent, typeof i14.ScopeFormModalComponent], [typeof i11.ApplicationsComponent, typeof i12.ApplicationFormModalComponent, typeof i13.ScopesComponent, typeof i14.ScopeFormModalComponent]>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<OpeniddictproModule>;
27
- }
@@ -1,3 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- import { OpenIddictProConfigOptions } from './models';
3
- export declare function createRoutes(config?: OpenIddictProConfigOptions): Routes;
@@ -1,2 +0,0 @@
1
- import { ResolveFn } from '@angular/router';
2
- export declare const openIddictProExtensionsResolver: ResolveFn<any>;
@@ -1 +0,0 @@
1
- export * from './extensions.resolver';
@@ -1,9 +0,0 @@
1
- export declare class ApplicationsService {
2
- #private;
3
- private state;
4
- isModalVisible: import("@angular/core").Signal<boolean>;
5
- isTokenLifetimeModalVisible: import("@angular/core").Signal<boolean>;
6
- openModal(): void;
7
- setModalState(value: boolean): void;
8
- setTokenLifetimeModalState(value: boolean): void;
9
- }
@@ -1,2 +0,0 @@
1
- export * from './applications.service';
2
- export * from './scopes.service';
@@ -1,6 +0,0 @@
1
- export declare class ScopesService {
2
- private state;
3
- isModalVisible$: import("rxjs").Observable<boolean>;
4
- openModal(): void;
5
- setModalState(value: boolean): void;
6
- }
@@ -1,39 +0,0 @@
1
- import { CreateFormPropContributorCallback, EditFormPropContributorCallback, EntityActionContributorCallback, EntityPropContributorCallback, ToolbarActionContributorCallback } from '@abp/ng.components/extensible';
2
- import { InjectionToken } from '@angular/core';
3
- import { Applications, Scopes } from '@volo/abp.ng.openiddictpro/proxy';
4
- export declare const DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS: {
5
- "OpenIddictPro.Applications": import("@abp/ng.components/extensible").EntityAction<Applications.Dtos.ApplicationDto>[];
6
- "OpenIddictPro.Scopes": import("@abp/ng.components/extensible").EntityAction<Scopes.Dtos.ScopeDto>[];
7
- };
8
- export declare const DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS: {
9
- "OpenIddictPro.Applications": import("@abp/ng.components/extensible").ToolbarAction<Applications.Dtos.ApplicationDto[]>[];
10
- "OpenIddictPro.Scopes": import("@abp/ng.components/extensible").ToolbarAction<Applications.Dtos.ApplicationDto[]>[];
11
- };
12
- export declare const DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS: {
13
- "OpenIddictPro.Applications": import("@abp/ng.components/extensible").EntityProp<Applications.Dtos.ApplicationDto>[];
14
- "OpenIddictPro.Scopes": import("@abp/ng.components/extensible").EntityProp<Scopes.Dtos.ScopeDto>[];
15
- };
16
- export declare const DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS: {
17
- "OpenIddictPro.Applications": import("@abp/ng.components/extensible").FormProp<Applications.Dtos.ApplicationDto>[];
18
- "OpenIddictPro.Scopes": import("@abp/ng.components/extensible").FormProp<Scopes.Dtos.ScopeDto>[];
19
- };
20
- export declare const DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS: {
21
- "OpenIddictPro.Applications": import("@abp/ng.components/extensible").FormProp<Applications.Dtos.ApplicationDto>[];
22
- "OpenIddictPro.Scopes": import("@abp/ng.components/extensible").FormProp<Scopes.Dtos.ScopeDto>[];
23
- };
24
- export declare const OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS: InjectionToken<Partial<{
25
- "OpenIddictPro.Applications": EntityActionContributorCallback<Applications.Dtos.ApplicationDto>[];
26
- }>>;
27
- export declare const OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS: InjectionToken<Partial<{
28
- "OpenIddictPro.Applications": ToolbarActionContributorCallback<Applications.Dtos.ApplicationDto[]>[];
29
- }>>;
30
- export declare const OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS: InjectionToken<Partial<{
31
- "OpenIddictPro.Applications": EntityPropContributorCallback<Applications.Dtos.ApplicationDto>[];
32
- "OpenIddictPro.Scopes": EntityPropContributorCallback<Scopes.Dtos.ScopeDto>[];
33
- }>>;
34
- export declare const OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS: InjectionToken<Partial<{
35
- "OpenIddictPro.Applications": CreateFormPropContributorCallback<Applications.Dtos.ApplicationDto>[];
36
- }>>;
37
- export declare const OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS: InjectionToken<Partial<{
38
- "OpenIddictPro.Applications": EditFormPropContributorCallback<Applications.Dtos.ApplicationDto>[];
39
- }>>;
@@ -1 +0,0 @@
1
- export * from './extensions.token';
@@ -1 +0,0 @@
1
- export declare function hashSetParser(stringOrArray: string | Array<string>): string | string[];
@@ -1,2 +0,0 @@
1
- export * from './hashset-parser';
2
- export * from './uris-validator';
@@ -1 +0,0 @@
1
- export declare const NewLineRegex: RegExp;
@@ -1,2 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- export declare function UrisValidator(): ValidatorFn;
@@ -1,18 +0,0 @@
1
- import type { ApplicationDto, ApplicationTokenLifetimeDto, CreateApplicationInput, GetApplicationListInput, UpdateApplicationInput } from './applications/dtos/models';
2
- import { RestService, Rest } from '@abp/ng.core';
3
- import type { PagedResultDto } from '@abp/ng.core';
4
- import * as i0 from "@angular/core";
5
- export declare class ApplicationService {
6
- private restService;
7
- apiName: string;
8
- create: (input: CreateApplicationInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationDto>;
9
- delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
- get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationDto>;
11
- getList: (input: GetApplicationListInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<ApplicationDto>>;
12
- getTokenLifetime: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationTokenLifetimeDto>;
13
- setTokenLifetime: (id: string, input: ApplicationTokenLifetimeDto, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
14
- update: (id: string, input: UpdateApplicationInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ApplicationDto>;
15
- constructor(restService: RestService);
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationService>;
18
- }
@@ -1 +0,0 @@
1
- export * from './models';
@@ -1,65 +0,0 @@
1
- import type { ExtensibleEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
- export interface ApplicationCreateOrUpdateDtoBase extends ExtensibleObject {
3
- applicationType: string;
4
- clientId: string;
5
- displayName: string;
6
- clientType?: string;
7
- clientSecret?: string;
8
- consentType?: string;
9
- extensionGrantTypes: string[];
10
- postLogoutRedirectUris: string[];
11
- redirectUris: string[];
12
- allowPasswordFlow: boolean;
13
- allowClientCredentialsFlow: boolean;
14
- allowAuthorizationCodeFlow: boolean;
15
- allowRefreshTokenFlow: boolean;
16
- allowHybridFlow: boolean;
17
- allowImplicitFlow: boolean;
18
- allowEndSessionEndpoint: boolean;
19
- allowDeviceAuthorizationEndpoint: boolean;
20
- forcePkce: boolean;
21
- forcePushedAuthorization: boolean;
22
- allowPushedAuthorizationEndpoint: boolean;
23
- scopes: string[];
24
- clientUri?: string;
25
- logoUri?: string;
26
- }
27
- export interface ApplicationDto extends ExtensibleEntityDto<string> {
28
- applicationType?: string;
29
- clientId?: string;
30
- displayName?: string;
31
- clientType?: string;
32
- clientSecret?: string;
33
- consentType?: string;
34
- extensionGrantTypes: string[];
35
- postLogoutRedirectUris: string[];
36
- redirectUris: string[];
37
- allowPasswordFlow: boolean;
38
- allowClientCredentialsFlow: boolean;
39
- allowAuthorizationCodeFlow: boolean;
40
- allowRefreshTokenFlow: boolean;
41
- allowHybridFlow: boolean;
42
- allowImplicitFlow: boolean;
43
- allowEndSessionEndpoint: boolean;
44
- allowDeviceAuthorizationEndpoint: boolean;
45
- forcePkce: boolean;
46
- scopes: string[];
47
- clientUri?: string;
48
- logoUri?: string;
49
- }
50
- export interface ApplicationTokenLifetimeDto {
51
- accessTokenLifetime?: number;
52
- authorizationCodeLifetime?: number;
53
- deviceCodeLifetime?: number;
54
- identityTokenLifetime?: number;
55
- refreshTokenLifetime?: number;
56
- userCodeLifetime?: number;
57
- requestTokenLifetime?: number;
58
- }
59
- export interface CreateApplicationInput extends ApplicationCreateOrUpdateDtoBase {
60
- }
61
- export interface GetApplicationListInput extends PagedAndSortedResultRequestDto {
62
- filter?: string;
63
- }
64
- export interface UpdateApplicationInput extends ApplicationCreateOrUpdateDtoBase {
65
- }
@@ -1,2 +0,0 @@
1
- import * as Dtos from './dtos';
2
- export { Dtos };
@@ -1,5 +0,0 @@
1
- import * as Applications from './applications';
2
- import * as Scopes from './scopes';
3
- export * from './application.service';
4
- export * from './scope.service';
5
- export { Applications, Scopes };
@@ -1,17 +0,0 @@
1
- import type { CreateScopeInput, GetScopeListInput, ScopeDto, UpdateScopeInput } from './scopes/dtos/models';
2
- import { RestService, Rest } from '@abp/ng.core';
3
- import type { PagedResultDto } from '@abp/ng.core';
4
- import * as i0 from "@angular/core";
5
- export declare class ScopeService {
6
- private restService;
7
- apiName: string;
8
- create: (input: CreateScopeInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ScopeDto>;
9
- delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
- get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<ScopeDto>;
11
- getAllScopes: (config?: Partial<Rest.Config>) => import("rxjs").Observable<ScopeDto[]>;
12
- getList: (input: GetScopeListInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<ScopeDto>>;
13
- update: (id: string, input: UpdateScopeInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ScopeDto>;
14
- constructor(restService: RestService);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ScopeService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<ScopeService>;
17
- }
@@ -1 +0,0 @@
1
- export * from './models';
@@ -1,21 +0,0 @@
1
- import type { ExtensibleEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
- export interface CreateScopeInput extends ScopeCreateOrUpdateDtoBase {
3
- }
4
- export interface GetScopeListInput extends PagedAndSortedResultRequestDto {
5
- filter?: string;
6
- }
7
- export interface ScopeCreateOrUpdateDtoBase extends ExtensibleObject {
8
- name: string;
9
- displayName?: string;
10
- description?: string;
11
- resources: string[];
12
- }
13
- export interface ScopeDto extends ExtensibleEntityDto<string> {
14
- name?: string;
15
- displayName?: string;
16
- description?: string;
17
- buildIn: boolean;
18
- resources: string[];
19
- }
20
- export interface UpdateScopeInput extends ScopeCreateOrUpdateDtoBase {
21
- }
@@ -1,2 +0,0 @@
1
- import * as Dtos from './dtos';
2
- export { Dtos };
@@ -1 +0,0 @@
1
- export * from './lib/proxy';
package/public-api.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export * from './lib/openiddictpro.module';
2
- export * from './lib/openiddictpro.routes';
3
- export * from './lib/components/index';
4
- export * from './lib/defaults/index';
5
- export * from './lib/enums/index';
6
- export * from './lib/guards/index';
7
- export * from './lib/services/index';
8
- export * from './lib/tokens/index';
9
- export * from './lib/utils/index';