@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.
- package/fesm2022/abp-ng.oauth.mjs +22 -22
- package/fesm2022/abp-ng.oauth.mjs.map +1 -1
- package/index.d.ts +341 -3
- package/package.json +4 -4
- package/lib/guards/index.d.ts +0 -1
- package/lib/guards/oauth.guard.d.ts +0 -16
- package/lib/handlers/index.d.ts +0 -1
- package/lib/handlers/oauth-configuration.handler.d.ts +0 -12
- package/lib/interceptors/api.interceptor.d.ts +0 -15
- package/lib/interceptors/index.d.ts +0 -1
- package/lib/oauth.module.d.ts +0 -11
- package/lib/providers/index.d.ts +0 -2
- package/lib/providers/navigate-to-manage-profile.provider.d.ts +0 -2
- package/lib/providers/oauth-module-config.provider.d.ts +0 -1
- package/lib/services/index.d.ts +0 -3
- package/lib/services/oauth-error-filter.service.d.ts +0 -14
- package/lib/services/oauth.service.d.ts +0 -27
- package/lib/services/remember-me.service.d.ts +0 -12
- package/lib/strategies/auth-code-flow-strategy.d.ts +0 -15
- package/lib/strategies/auth-flow-strategy.d.ts +0 -33
- package/lib/strategies/auth-password-flow-strategy.d.ts +0 -183
- package/lib/strategies/index.d.ts +0 -3
- package/lib/tokens/auth-flow-strategy.d.ts +0 -7
- package/lib/tokens/index.d.ts +0 -1
- package/lib/utils/auth-utils.d.ts +0 -3
- package/lib/utils/check-access-token.d.ts +0 -2
- package/lib/utils/clear-o-auth-storage.d.ts +0 -2
- package/lib/utils/index.d.ts +0 -5
- package/lib/utils/oauth-storage.d.ts +0 -1
- package/lib/utils/storage.factory.d.ts +0 -2
- package/public-api.d.ts +0 -9
|
@@ -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,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
|
-
};
|
package/lib/tokens/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './auth-flow-strategy';
|
package/lib/utils/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const oAuthStorage: Storage;
|
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';
|