@abp/ng.oauth 9.3.0-rc.2 → 9.3.0-rc.3

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.
@@ -1,183 +0,0 @@
1
- import { Params } from '@angular/router';
2
- import { Observable } from 'rxjs';
3
- import { AuthFlowStrategy } from './auth-flow-strategy';
4
- import { LoginParams } from '@abp/ng.core';
5
- export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
6
- readonly isInternalAuth = true;
7
- private listenToTokenExpiration;
8
- init(): Promise<void>;
9
- private checkRememberMeOption;
10
- navigateToLogin(queryParams?: Params): Promise<boolean>;
11
- checkIfInternalAuth(): boolean;
12
- login(params: LoginParams): Observable<any>;
13
- logout(): Observable<{
14
- localization?: {
15
- values?: {
16
- [x: string]: {
17
- [x: string]: string;
18
- };
19
- };
20
- resources?: {
21
- [x: string]: {
22
- texts?: {
23
- [x: string]: string;
24
- };
25
- baseResources?: string[];
26
- };
27
- };
28
- languages?: import("@abp/ng.core").LanguageInfo[];
29
- currentCulture?: {
30
- displayName?: string;
31
- englishName?: string;
32
- threeLetterIsoLanguageName?: string;
33
- twoLetterIsoLanguageName?: string;
34
- isRightToLeft?: boolean;
35
- cultureName?: string;
36
- name?: string;
37
- nativeName?: string;
38
- dateTimeFormat?: {
39
- calendarAlgorithmType?: string;
40
- dateTimeFormatLong?: string;
41
- shortDatePattern?: string;
42
- fullDateTimePattern?: string;
43
- dateSeparator?: string;
44
- shortTimePattern?: string;
45
- longTimePattern?: string;
46
- };
47
- };
48
- defaultResourceName?: string;
49
- languagesMap?: {
50
- [x: string]: import("@abp/ng.core").NameValue<string>[];
51
- };
52
- languageFilesMap?: {
53
- [x: string]: import("@abp/ng.core").NameValue<string>[];
54
- };
55
- };
56
- auth?: {
57
- grantedPolicies?: {
58
- [x: string]: boolean;
59
- };
60
- };
61
- setting?: {
62
- values?: {
63
- [x: string]: string;
64
- };
65
- };
66
- currentUser?: {
67
- isAuthenticated?: boolean;
68
- id?: string;
69
- tenantId?: string;
70
- impersonatorUserId?: string;
71
- impersonatorTenantId?: string;
72
- impersonatorUserName?: string;
73
- impersonatorTenantName?: string;
74
- userName?: string;
75
- name?: string;
76
- surName?: string;
77
- email?: string;
78
- emailVerified?: boolean;
79
- phoneNumber?: string;
80
- phoneNumberVerified?: boolean;
81
- roles?: string[];
82
- };
83
- features?: {
84
- values?: {
85
- [x: string]: string;
86
- };
87
- };
88
- globalFeatures?: {
89
- enabledFeatures?: string[];
90
- };
91
- multiTenancy?: {
92
- isEnabled?: boolean;
93
- };
94
- currentTenant?: {
95
- id?: string;
96
- name?: string;
97
- isAvailable?: boolean;
98
- };
99
- timing?: {
100
- timeZone?: {
101
- iana?: {
102
- timeZoneName?: string;
103
- };
104
- windows?: {
105
- timeZoneId?: string;
106
- };
107
- };
108
- };
109
- clock?: {
110
- kind?: string;
111
- };
112
- objectExtensions?: {
113
- modules?: {
114
- [x: string]: {
115
- entities?: {
116
- [x: string]: {
117
- properties?: {
118
- [x: string]: {
119
- type?: string;
120
- typeSimple?: string;
121
- displayName?: {
122
- name?: string;
123
- resource?: string;
124
- };
125
- api?: {
126
- onGet?: {
127
- isAvailable?: boolean;
128
- };
129
- onCreate?: {
130
- isAvailable?: boolean;
131
- };
132
- onUpdate?: {
133
- isAvailable?: boolean;
134
- };
135
- };
136
- ui?: {
137
- onTable?: {
138
- isVisible?: boolean;
139
- };
140
- onCreateForm?: {
141
- isVisible?: boolean;
142
- };
143
- onEditForm?: {
144
- isVisible?: boolean;
145
- };
146
- lookup?: {
147
- url?: string;
148
- resultListPropertyName?: string;
149
- displayPropertyName?: string;
150
- valuePropertyName?: string;
151
- filterParamName?: string;
152
- };
153
- };
154
- attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
155
- configuration?: {
156
- [x: string]: object;
157
- };
158
- defaultValue?: object;
159
- };
160
- };
161
- configuration?: {
162
- [x: string]: object;
163
- };
164
- };
165
- };
166
- configuration?: {
167
- [x: string]: object;
168
- };
169
- };
170
- };
171
- enums?: {
172
- [x: string]: {
173
- fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
174
- localizationResource?: string;
175
- };
176
- };
177
- };
178
- extraProperties?: {
179
- [x: string]: object;
180
- };
181
- }>;
182
- protected refreshToken(): Promise<void | import("angular-oauth2-oidc").TokenResponse>;
183
- }
@@ -1,3 +0,0 @@
1
- export * from './auth-flow-strategy';
2
- export * from './auth-code-flow-strategy';
3
- export * from './auth-password-flow-strategy';
@@ -1,7 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { AuthCodeFlowStrategy } from '../strategies/auth-code-flow-strategy';
3
- import { AuthPasswordFlowStrategy } from '../strategies/auth-password-flow-strategy';
4
- export declare const AUTH_FLOW_STRATEGY: {
5
- Code(injector: Injector): AuthCodeFlowStrategy;
6
- Password(injector: Injector): AuthPasswordFlowStrategy;
7
- };
@@ -1 +0,0 @@
1
- export * from './auth-flow-strategy';
@@ -1,3 +0,0 @@
1
- import { PipeToLoginFn } from '@abp/ng.core';
2
- export declare const pipeToLogin: PipeToLoginFn;
3
- export declare function isTokenExpired(expireDate: number): boolean;
@@ -1,2 +0,0 @@
1
- import { CheckAuthenticationStateFn } from '@abp/ng.core';
2
- export declare const checkAccessToken: CheckAuthenticationStateFn;
@@ -1,2 +0,0 @@
1
- import { OAuthStorage } from 'angular-oauth2-oidc';
2
- export declare function clearOAuthStorage(storage?: OAuthStorage): void;
@@ -1,5 +0,0 @@
1
- export * from './oauth-storage';
2
- export * from './storage.factory';
3
- export * from './auth-utils';
4
- export * from './clear-o-auth-storage';
5
- export * from './check-access-token';
@@ -1 +0,0 @@
1
- export declare const oAuthStorage: Storage;
@@ -1,2 +0,0 @@
1
- import { OAuthStorage } from 'angular-oauth2-oidc';
2
- export declare function storageFactory(): OAuthStorage;
package/public-api.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export * from './lib/oauth.module';
2
- export * from './lib/utils';
3
- export * from './lib/tokens';
4
- export * from './lib/services';
5
- export * from './lib/strategies';
6
- export * from './lib/handlers';
7
- export * from './lib/interceptors';
8
- export * from './lib/guards';
9
- export * from './lib/providers';