@igo2/auth 17.0.0-next.0 → 17.0.0-next.2

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 (45) hide show
  1. package/esm2022/lib/auth-form/auth-facebook.component.mjs +6 -6
  2. package/esm2022/lib/auth-form/auth-form.component.mjs +6 -6
  3. package/esm2022/lib/auth-form/auth-google.component.mjs +9 -7
  4. package/esm2022/lib/auth-form/auth-intern.component.mjs +6 -6
  5. package/esm2022/lib/auth-form/auth-microsoft.component.mjs +6 -6
  6. package/esm2022/lib/auth-form/auth-microsoftb2c.component.mjs +6 -6
  7. package/esm2022/lib/auth-monitoring/auth-monitoring.provider.mjs +3 -2
  8. package/esm2022/lib/auth-monitoring/auth-monitoring.service.mjs +7 -6
  9. package/esm2022/lib/auth.module.mjs +7 -6
  10. package/esm2022/lib/shared/admin.guard.mjs +6 -6
  11. package/esm2022/lib/shared/auth-microsoft.provider.mjs +2 -2
  12. package/esm2022/lib/shared/auth-msalBroadcastServiceb2c.service.mjs +3 -3
  13. package/esm2022/lib/shared/auth-msalServiceb2c.service..mjs +3 -3
  14. package/esm2022/lib/shared/auth-storage.interface.mjs +1 -1
  15. package/esm2022/lib/shared/auth-storage.service.mjs +7 -6
  16. package/esm2022/lib/shared/auth.guard.mjs +6 -6
  17. package/esm2022/lib/shared/auth.interceptor.mjs +6 -6
  18. package/esm2022/lib/shared/auth.interface.mjs +1 -1
  19. package/esm2022/lib/shared/auth.service.mjs +12 -8
  20. package/esm2022/lib/shared/logged.guard.mjs +6 -6
  21. package/esm2022/lib/shared/profils.guard.mjs +6 -6
  22. package/esm2022/lib/shared/protected.directive.mjs +3 -3
  23. package/esm2022/lib/shared/token.service.mjs +5 -5
  24. package/fesm2022/igo2-auth.mjs +72 -67
  25. package/fesm2022/igo2-auth.mjs.map +1 -1
  26. package/lib/auth-form/auth-facebook.component.d.ts +1 -1
  27. package/lib/auth-form/auth-form.component.d.ts +1 -1
  28. package/lib/auth-form/auth-google.component.d.ts +2 -1
  29. package/lib/auth-form/auth-intern.component.d.ts +1 -1
  30. package/lib/auth-form/auth-microsoft.component.d.ts +1 -1
  31. package/lib/auth-form/auth-microsoftb2c.component.d.ts +1 -1
  32. package/lib/auth-monitoring/auth-monitoring.provider.d.ts +1 -1
  33. package/lib/auth-monitoring/auth-monitoring.service.d.ts +2 -1
  34. package/lib/auth.module.d.ts +1 -1
  35. package/lib/shared/admin.guard.d.ts +1 -1
  36. package/lib/shared/auth-microsoft.provider.d.ts +1 -1
  37. package/lib/shared/auth-storage.interface.d.ts +1 -1
  38. package/lib/shared/auth-storage.service.d.ts +2 -1
  39. package/lib/shared/auth.guard.d.ts +1 -1
  40. package/lib/shared/auth.interceptor.d.ts +1 -1
  41. package/lib/shared/auth.interface.d.ts +1 -1
  42. package/lib/shared/auth.service.d.ts +3 -1
  43. package/lib/shared/logged.guard.d.ts +1 -1
  44. package/lib/shared/profils.guard.d.ts +1 -1
  45. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
- import { ConfigService } from '@igo2/core';
3
+ import { ConfigService } from '@igo2/core/config';
4
4
  import { AuthOptions } from '../shared/auth.interface';
5
5
  import { AuthService } from '../shared/auth.service';
6
6
  import * as i0 from "@angular/core";
@@ -1,5 +1,6 @@
1
1
  import { ApplicationRef, EventEmitter } from '@angular/core';
2
- import { ConfigService, LanguageService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
+ import { LanguageService } from '@igo2/core/language';
3
4
  import { AuthService } from '../shared/auth.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AuthGoogleComponent {
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { LanguageService } from '@igo2/core';
3
+ import { LanguageService } from '@igo2/core/language';
4
4
  import { AuthService } from '../shared/auth.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class AuthInternComponent {
@@ -1,5 +1,5 @@
1
1
  import { ApplicationRef, EventEmitter } from '@angular/core';
2
- import { ConfigService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
3
  import { MsalService } from '@azure/msal-angular';
4
4
  import { MSPMsalGuardConfiguration } from '../shared/auth.interface';
5
5
  import { AuthService } from '../shared/auth.service';
@@ -1,5 +1,5 @@
1
1
  import { ApplicationRef, EventEmitter } from '@angular/core';
2
- import { ConfigService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
3
  import { MsalServiceb2c } from '../shared/auth-msalServiceb2c.service.';
4
4
  import { MSPMsalGuardConfiguration } from '../shared/auth.interface';
5
5
  import { AuthService } from '../shared/auth.service';
@@ -1,3 +1,3 @@
1
1
  import { Provider } from '@angular/core';
2
- import { AnyMonitoringOptions } from '@igo2/core';
2
+ import { AnyMonitoringOptions } from '@igo2/core/monitoring';
3
3
  export declare function provideAuthUserMonitoring(options: AnyMonitoringOptions | null): Provider[];
@@ -1,5 +1,6 @@
1
1
  import { Injector } from '@angular/core';
2
- import { AnyMonitoringOptions, ConfigService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
+ import { AnyMonitoringOptions } from '@igo2/core/monitoring';
3
4
  import { AuthService } from '../shared';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AuthMonitoringService {
@@ -7,7 +7,7 @@ import * as i4 from "@angular/material/input";
7
7
  import * as i5 from "@angular/material/icon";
8
8
  import * as i6 from "@angular/material/progress-spinner";
9
9
  import * as i7 from "@angular/material/button";
10
- import * as i8 from "@igo2/core";
10
+ import * as i8 from "@igo2/core/language";
11
11
  import * as i9 from "@azure/msal-angular";
12
12
  import * as i10 from "./auth-form/auth-form.component";
13
13
  import * as i11 from "./auth-form/auth-google.component";
@@ -1,5 +1,5 @@
1
1
  import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
- import { ConfigService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
3
  import { AuthService } from './auth.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AdminGuard {
@@ -1,4 +1,4 @@
1
- import { ConfigService } from '@igo2/core';
1
+ import { ConfigService } from '@igo2/core/config';
2
2
  import { MsalService } from '@azure/msal-angular';
3
3
  import { PublicClientApplication } from '@azure/msal-browser';
4
4
  import { MsalServiceb2c } from './auth-msalServiceb2c.service.';
@@ -1,4 +1,4 @@
1
- import { StorageOptions } from '@igo2/core';
1
+ import { StorageOptions } from '@igo2/core/storage';
2
2
  export interface AuthStorageOptions extends StorageOptions {
3
3
  url: string;
4
4
  }
@@ -1,5 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { BaseStorage, ConfigService, StorageScope } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
+ import { BaseStorage, StorageScope } from '@igo2/core/storage';
3
4
  import { AuthStorageOptions } from './auth-storage.interface';
4
5
  import { AuthService } from './auth.service';
5
6
  import { TokenService } from './token.service';
@@ -1,5 +1,5 @@
1
1
  import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
- import { ConfigService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
3
  import { AuthService } from './auth.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AuthGuard {
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
3
- import { ConfigService } from '@igo2/core';
3
+ import { ConfigService } from '@igo2/core/config';
4
4
  import { Observable } from 'rxjs';
5
5
  import { TokenService } from './token.service';
6
6
  import * as i0 from "@angular/core";
@@ -1,4 +1,4 @@
1
- import { BaseUser } from '@igo2/core';
1
+ import { BaseUser } from '@igo2/core/user';
2
2
  import { MsalGuardConfiguration } from '@azure/msal-angular';
3
3
  import { BrowserAuthOptions } from '@azure/msal-browser';
4
4
  export interface AuthInternOptions {
@@ -1,6 +1,8 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Router } from '@angular/router';
3
- import { ConfigService, LanguageService, MessageService } from '@igo2/core';
3
+ import { ConfigService } from '@igo2/core/config';
4
+ import { LanguageService } from '@igo2/core/language';
5
+ import { MessageService } from '@igo2/core/message';
4
6
  import { BehaviorSubject, Observable } from 'rxjs';
5
7
  import { IInfosUser, User } from './auth.interface';
6
8
  import { IgoJwtPayload } from './token.interface';
@@ -1,5 +1,5 @@
1
1
  import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
- import { ConfigService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
3
  import { AuthService } from './auth.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class LoggedGuard {
@@ -1,5 +1,5 @@
1
1
  import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
- import { ConfigService } from '@igo2/core';
2
+ import { ConfigService } from '@igo2/core/config';
3
3
  import { AuthService } from './auth.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ProfilsGuard {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/auth",
3
- "version": "17.0.0-next.0",
3
+ "version": "17.0.0-next.2",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -41,8 +41,8 @@
41
41
  "@angular/router": "^17.0.6",
42
42
  "@azure/msal-angular": "^3.0.4",
43
43
  "@azure/msal-browser": "^3.0.4",
44
- "@igo2/core": "^17.0.0-next.0",
45
- "@igo2/utils": "^17.0.0-next.0",
44
+ "@igo2/core": "^17.0.0-next.2",
45
+ "@igo2/utils": "^17.0.0-next.2",
46
46
  "rxjs": "^7.8.0"
47
47
  },
48
48
  "engines": {