@valtimo/security 4.15.2-next-main.14 → 4.15.3-next-main.15
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/bundles/valtimo-security.umd.js +579 -579
- package/esm2015/lib/error/error-routing.module.js +42 -42
- package/esm2015/lib/error/error.component.js +40 -40
- package/esm2015/lib/error/error.js +18 -18
- package/esm2015/lib/error/http-error.interceptor.js +55 -55
- package/esm2015/lib/guard/auth-guard.service.js +44 -44
- package/esm2015/lib/security.module.js +29 -29
- package/esm2015/lib/user-provider.service.js +80 -80
- package/esm2015/public_api.js +23 -23
- package/esm2015/valtimo-security.js +6 -6
- package/fesm2015/valtimo-security.js +264 -264
- package/lib/error/error-routing.module.d.ts +2 -2
- package/lib/error/error.component.d.ts +9 -9
- package/lib/error/error.d.ts +7 -7
- package/lib/error/http-error.interceptor.d.ts +10 -10
- package/lib/guard/auth-guard.service.d.ts +12 -12
- package/lib/security.module.d.ts +2 -2
- package/lib/user-provider.service.d.ts +21 -21
- package/package.json +1 -1
- package/public_api.d.ts +5 -5
- package/valtimo-security.d.ts +6 -6
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { Observable, ReplaySubject } from 'rxjs';
|
|
3
|
-
import { NGXLogger } from 'ngx-logger';
|
|
4
|
-
import { EmailNotificationService, EmailNotificationSettings, UserIdentity, UserService } from '@valtimo/contract';
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { ConfigService } from '@valtimo/config';
|
|
7
|
-
export declare class UserProviderService implements UserService, EmailNotificationService {
|
|
8
|
-
private configService;
|
|
9
|
-
private injector;
|
|
10
|
-
private http;
|
|
11
|
-
private logger;
|
|
12
|
-
private readonly userService;
|
|
13
|
-
private valtimoApiConfig;
|
|
14
|
-
constructor(configService: ConfigService, injector: Injector, http: HttpClient, logger: NGXLogger);
|
|
15
|
-
getUserSubject(): ReplaySubject<UserIdentity>;
|
|
16
|
-
logout(): void;
|
|
17
|
-
getToken(): Promise<string>;
|
|
18
|
-
updateToken(minValidity: number): Promise<boolean>;
|
|
19
|
-
getEmailNotificationSettings(): Observable<EmailNotificationSettings>;
|
|
20
|
-
updateEmailNotificationSettings(settings: EmailNotificationSettings): Observable<EmailNotificationSettings>;
|
|
21
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { Observable, ReplaySubject } from 'rxjs';
|
|
3
|
+
import { NGXLogger } from 'ngx-logger';
|
|
4
|
+
import { EmailNotificationService, EmailNotificationSettings, UserIdentity, UserService } from '@valtimo/contract';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { ConfigService } from '@valtimo/config';
|
|
7
|
+
export declare class UserProviderService implements UserService, EmailNotificationService {
|
|
8
|
+
private configService;
|
|
9
|
+
private injector;
|
|
10
|
+
private http;
|
|
11
|
+
private logger;
|
|
12
|
+
private readonly userService;
|
|
13
|
+
private valtimoApiConfig;
|
|
14
|
+
constructor(configService: ConfigService, injector: Injector, http: HttpClient, logger: NGXLogger);
|
|
15
|
+
getUserSubject(): ReplaySubject<UserIdentity>;
|
|
16
|
+
logout(): void;
|
|
17
|
+
getToken(): Promise<string>;
|
|
18
|
+
updateToken(minValidity: number): Promise<boolean>;
|
|
19
|
+
getEmailNotificationSettings(): Observable<EmailNotificationSettings>;
|
|
20
|
+
updateEmailNotificationSettings(settings: EmailNotificationSettings): Observable<EmailNotificationSettings>;
|
|
21
|
+
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './lib/guard/auth-guard.service';
|
|
2
|
-
export * from './lib/security.module';
|
|
3
|
-
export * from './lib/error/error';
|
|
4
|
-
export * from './lib/error/error.component';
|
|
5
|
-
export * from './lib/user-provider.service';
|
|
1
|
+
export * from './lib/guard/auth-guard.service';
|
|
2
|
+
export * from './lib/security.module';
|
|
3
|
+
export * from './lib/error/error';
|
|
4
|
+
export * from './lib/error/error.component';
|
|
5
|
+
export * from './lib/user-provider.service';
|
package/valtimo-security.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
export { ErrorRoutingModule as ɵa } from './lib/error/error-routing.module';
|
|
6
|
-
export { HttpErrorInterceptor as ɵb } from './lib/error/http-error.interceptor';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
export { ErrorRoutingModule as ɵa } from './lib/error/error-routing.module';
|
|
6
|
+
export { HttpErrorInterceptor as ɵb } from './lib/error/http-error.interceptor';
|