@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.
- package/esm2022/lib/auth-form/auth-facebook.component.mjs +6 -6
- package/esm2022/lib/auth-form/auth-form.component.mjs +6 -6
- package/esm2022/lib/auth-form/auth-google.component.mjs +9 -7
- package/esm2022/lib/auth-form/auth-intern.component.mjs +6 -6
- package/esm2022/lib/auth-form/auth-microsoft.component.mjs +6 -6
- package/esm2022/lib/auth-form/auth-microsoftb2c.component.mjs +6 -6
- package/esm2022/lib/auth-monitoring/auth-monitoring.provider.mjs +3 -2
- package/esm2022/lib/auth-monitoring/auth-monitoring.service.mjs +7 -6
- package/esm2022/lib/auth.module.mjs +7 -6
- package/esm2022/lib/shared/admin.guard.mjs +6 -6
- package/esm2022/lib/shared/auth-microsoft.provider.mjs +2 -2
- package/esm2022/lib/shared/auth-msalBroadcastServiceb2c.service.mjs +3 -3
- package/esm2022/lib/shared/auth-msalServiceb2c.service..mjs +3 -3
- package/esm2022/lib/shared/auth-storage.interface.mjs +1 -1
- package/esm2022/lib/shared/auth-storage.service.mjs +7 -6
- package/esm2022/lib/shared/auth.guard.mjs +6 -6
- package/esm2022/lib/shared/auth.interceptor.mjs +6 -6
- package/esm2022/lib/shared/auth.interface.mjs +1 -1
- package/esm2022/lib/shared/auth.service.mjs +12 -8
- package/esm2022/lib/shared/logged.guard.mjs +6 -6
- package/esm2022/lib/shared/profils.guard.mjs +6 -6
- package/esm2022/lib/shared/protected.directive.mjs +3 -3
- package/esm2022/lib/shared/token.service.mjs +5 -5
- package/fesm2022/igo2-auth.mjs +72 -67
- package/fesm2022/igo2-auth.mjs.map +1 -1
- package/lib/auth-form/auth-facebook.component.d.ts +1 -1
- package/lib/auth-form/auth-form.component.d.ts +1 -1
- package/lib/auth-form/auth-google.component.d.ts +2 -1
- package/lib/auth-form/auth-intern.component.d.ts +1 -1
- package/lib/auth-form/auth-microsoft.component.d.ts +1 -1
- package/lib/auth-form/auth-microsoftb2c.component.d.ts +1 -1
- package/lib/auth-monitoring/auth-monitoring.provider.d.ts +1 -1
- package/lib/auth-monitoring/auth-monitoring.service.d.ts +2 -1
- package/lib/auth.module.d.ts +1 -1
- package/lib/shared/admin.guard.d.ts +1 -1
- package/lib/shared/auth-microsoft.provider.d.ts +1 -1
- package/lib/shared/auth-storage.interface.d.ts +1 -1
- package/lib/shared/auth-storage.service.d.ts +2 -1
- package/lib/shared/auth.guard.d.ts +1 -1
- package/lib/shared/auth.interceptor.d.ts +1 -1
- package/lib/shared/auth.interface.d.ts +1 -1
- package/lib/shared/auth.service.d.ts +3 -1
- package/lib/shared/logged.guard.d.ts +1 -1
- package/lib/shared/profils.guard.d.ts +1 -1
- 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
|
|
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,5 +1,6 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import {
|
|
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 {
|
package/lib/auth.module.d.ts
CHANGED
|
@@ -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,5 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import {
|
|
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,6 +1,8 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
-
import { ConfigService
|
|
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.
|
|
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.
|
|
45
|
-
"@igo2/utils": "^17.0.0-next.
|
|
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": {
|