@igo2/auth 17.0.0-next.0 → 17.0.0-next.10
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/environment/environment.interface.d.ts +6 -0
- package/environment/index.d.ts +5 -0
- package/esm2022/environment/environment.interface.mjs +2 -0
- package/esm2022/environment/igo2-auth-environment.mjs +5 -0
- package/esm2022/environment/public_api.mjs +2 -0
- package/esm2022/facebook/auth-facebook/auth-facebook.component.mjs +65 -0
- package/esm2022/facebook/igo2-auth-facebook.mjs +5 -0
- package/esm2022/facebook/public_api.mjs +3 -0
- package/esm2022/facebook/shared/auth-facebook.interface.mjs +2 -0
- package/esm2022/facebook/shared/index.mjs +2 -0
- package/esm2022/form/auth-form/auth-form.component.mjs +166 -0
- package/esm2022/form/auth-form.module.mjs +73 -0
- package/esm2022/form/igo2-auth-form.mjs +5 -0
- package/esm2022/form/public_api.mjs +7 -0
- package/esm2022/form/shared/auth-form.interface.mjs +2 -0
- package/esm2022/form/shared/index.mjs +2 -0
- package/esm2022/google/auth-google/auth-google.component.mjs +108 -0
- package/esm2022/google/igo2-auth-google.mjs +5 -0
- package/esm2022/google/public_api.mjs +3 -0
- package/esm2022/google/shared/auth-google.interface.mjs +2 -0
- package/esm2022/google/shared/index.mjs +2 -0
- package/esm2022/internal/auth-intern/auth-intern.component.mjs +84 -0
- package/esm2022/internal/igo2-auth-internal.mjs +5 -0
- package/esm2022/internal/public_api.mjs +2 -0
- package/esm2022/lib/auth.provider.mjs +22 -0
- package/esm2022/lib/shared/admin.guard.mjs +6 -6
- 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 +5 -2
- package/esm2022/lib/shared/auth.service.mjs +12 -8
- package/esm2022/lib/shared/index.mjs +3 -5
- package/esm2022/lib/shared/logged.guard.mjs +6 -6
- package/esm2022/lib/shared/profils.guard.mjs +6 -6
- package/esm2022/lib/shared/token.service.mjs +5 -5
- package/esm2022/microsoft/auth-microsoft/auth-microsoft.component.mjs +100 -0
- package/esm2022/microsoft/auth-microsoft.provider.mjs +105 -0
- package/esm2022/microsoft/auth-microsoftb2c/auth-microsoftb2c.component.mjs +98 -0
- package/esm2022/microsoft/auth-microsoftb2c/auth-msalBroadcastServiceb2c.service.mjs +47 -0
- package/esm2022/microsoft/auth-microsoftb2c/auth-msalServiceb2c.service.mjs +85 -0
- package/esm2022/microsoft/igo2-auth-microsoft.mjs +5 -0
- package/esm2022/microsoft/public_api.mjs +5 -0
- package/esm2022/microsoft/shared/auth-microsoft.interface.mjs +2 -0
- package/esm2022/microsoft/shared/index.mjs +2 -0
- package/esm2022/monitoring/auth-monitoring/auth-monitoring.provider.mjs +24 -0
- package/esm2022/monitoring/auth-monitoring/auth-monitoring.service.mjs +54 -0
- package/esm2022/monitoring/igo2-auth-monitoring.mjs +5 -0
- package/esm2022/monitoring/public_api.mjs +3 -0
- package/esm2022/public_api.mjs +3 -19
- package/{lib/auth-form → facebook/auth-facebook}/auth-facebook.component.d.ts +2 -2
- package/facebook/index.d.ts +5 -0
- package/facebook/public_api.d.ts +2 -0
- package/facebook/shared/auth-facebook.interface.d.ts +4 -0
- package/facebook/shared/index.d.ts +1 -0
- package/fesm2022/igo2-auth-environment.mjs +4 -0
- package/fesm2022/igo2-auth-environment.mjs.map +1 -0
- package/fesm2022/igo2-auth-facebook.mjs +70 -0
- package/fesm2022/igo2-auth-facebook.mjs.map +1 -0
- package/fesm2022/igo2-auth-form.mjs +238 -0
- package/fesm2022/igo2-auth-form.mjs.map +1 -0
- package/fesm2022/igo2-auth-google.mjs +112 -0
- package/fesm2022/igo2-auth-google.mjs.map +1 -0
- package/fesm2022/igo2-auth-internal.mjs +89 -0
- package/fesm2022/igo2-auth-internal.mjs.map +1 -0
- package/fesm2022/igo2-auth-microsoft.mjs +404 -0
- package/fesm2022/igo2-auth-microsoft.mjs.map +1 -0
- package/fesm2022/igo2-auth-monitoring.mjs +81 -0
- package/fesm2022/igo2-auth-monitoring.mjs.map +1 -0
- package/fesm2022/igo2-auth.mjs +244 -1143
- package/fesm2022/igo2-auth.mjs.map +1 -1
- package/{lib → form}/auth-form/auth-form.component.d.ts +4 -5
- package/form/auth-form.module.d.ts +20 -0
- package/form/index.d.ts +5 -0
- package/form/public_api.d.ts +3 -0
- package/form/shared/auth-form.interface.d.ts +9 -0
- package/form/shared/index.d.ts +1 -0
- package/{src/lib → form/src}/auth-form/auth-intern.theme.scss +19 -19
- package/form/src/auth-form.theme.scss +9 -0
- package/{lib/auth-form → google/auth-google}/auth-google.component.d.ts +3 -2
- package/google/index.d.ts +5 -0
- package/google/public_api.d.ts +2 -0
- package/google/shared/auth-google.interface.d.ts +5 -0
- package/google/shared/index.d.ts +1 -0
- package/{lib/auth-form → internal/auth-intern}/auth-intern.component.d.ts +2 -2
- package/internal/index.d.ts +5 -0
- package/internal/public_api.d.ts +1 -0
- package/lib/auth.provider.d.ts +3 -0
- package/lib/shared/admin.guard.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 +21 -70
- package/lib/shared/auth.service.d.ts +3 -1
- package/lib/shared/index.d.ts +2 -4
- package/lib/shared/logged.guard.d.ts +1 -1
- package/lib/shared/profils.guard.d.ts +1 -1
- package/locale/en.auth.json +29 -29
- package/locale/fr.auth.json +33 -33
- package/{lib/auth-form → microsoft/auth-microsoft}/auth-microsoft.component.d.ts +5 -3
- package/microsoft/auth-microsoft.provider.d.ts +12 -0
- package/{lib/auth-form → microsoft/auth-microsoftb2c}/auth-microsoftb2c.component.d.ts +6 -4
- package/{lib/shared → microsoft/auth-microsoftb2c}/auth-msalBroadcastServiceb2c.service.d.ts +1 -1
- package/microsoft/index.d.ts +5 -0
- package/microsoft/public_api.d.ts +4 -0
- package/microsoft/shared/auth-microsoft.interface.d.ts +32 -0
- package/microsoft/shared/index.d.ts +1 -0
- package/{lib → monitoring}/auth-monitoring/auth-monitoring.provider.d.ts +1 -1
- package/{lib → monitoring}/auth-monitoring/auth-monitoring.service.d.ts +3 -2
- package/monitoring/index.d.ts +5 -0
- package/monitoring/public_api.d.ts +2 -0
- package/package.json +46 -3
- package/public_api.d.ts +2 -18
- package/src/auth.theme.scss +9 -9
- package/esm2022/lib/auth-form/auth-facebook.component.mjs +0 -65
- package/esm2022/lib/auth-form/auth-form.component.mjs +0 -170
- package/esm2022/lib/auth-form/auth-google.component.mjs +0 -106
- package/esm2022/lib/auth-form/auth-intern.component.mjs +0 -84
- package/esm2022/lib/auth-form/auth-microsoft.component.mjs +0 -100
- package/esm2022/lib/auth-form/auth-microsoftb2c.component.mjs +0 -98
- package/esm2022/lib/auth-form/index.mjs +0 -19
- package/esm2022/lib/auth-monitoring/auth-monitoring.provider.mjs +0 -23
- package/esm2022/lib/auth-monitoring/auth-monitoring.service.mjs +0 -53
- package/esm2022/lib/auth.module.mjs +0 -97
- package/esm2022/lib/environment/environment.interface.mjs +0 -2
- package/esm2022/lib/environment/index.mjs +0 -2
- package/esm2022/lib/shared/auth-microsoft.provider.mjs +0 -86
- package/esm2022/lib/shared/auth-msalBroadcastServiceb2c.service.mjs +0 -47
- package/esm2022/lib/shared/auth-msalServiceb2c.service..mjs +0 -85
- package/esm2022/lib/shared/protected.directive.mjs +0 -21
- package/lib/auth-form/index.d.ts +0 -11
- package/lib/auth.module.d.ts +0 -24
- package/lib/environment/environment.interface.d.ts +0 -5
- package/lib/shared/auth-microsoft.provider.d.ts +0 -30
- package/lib/shared/protected.directive.d.ts +0 -8
- /package/{lib/environment/index.d.ts → environment/public_api.d.ts} +0 -0
- /package/{lib/shared/auth-msalServiceb2c.service..d.ts → microsoft/auth-microsoftb2c/auth-msalServiceb2c.service.d.ts} +0 -0
package/lib/auth-form/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AuthFacebookComponent } from './auth-facebook.component';
|
|
2
|
-
import { AuthFormComponent } from './auth-form.component';
|
|
3
|
-
import { AuthGoogleComponent } from './auth-google.component';
|
|
4
|
-
import { AuthInternComponent } from './auth-intern.component';
|
|
5
|
-
import { AuthMicrosoftComponent } from './auth-microsoft.component';
|
|
6
|
-
import { AuthMicrosoftb2cComponent } from './auth-microsoftb2c.component';
|
|
7
|
-
export * from './auth-form.component';
|
|
8
|
-
export * from './auth-intern.component';
|
|
9
|
-
export * from './auth-facebook.component';
|
|
10
|
-
export * from './auth-google.component';
|
|
11
|
-
export declare const AUTH_FORM_DIRECTIVES: readonly [typeof AuthFormComponent, typeof AuthGoogleComponent, typeof AuthInternComponent, typeof AuthFacebookComponent, typeof AuthMicrosoftComponent, typeof AuthMicrosoftb2cComponent];
|
package/lib/auth.module.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/forms";
|
|
5
|
-
import * as i3 from "@angular/material/form-field";
|
|
6
|
-
import * as i4 from "@angular/material/input";
|
|
7
|
-
import * as i5 from "@angular/material/icon";
|
|
8
|
-
import * as i6 from "@angular/material/progress-spinner";
|
|
9
|
-
import * as i7 from "@angular/material/button";
|
|
10
|
-
import * as i8 from "@igo2/core";
|
|
11
|
-
import * as i9 from "@azure/msal-angular";
|
|
12
|
-
import * as i10 from "./auth-form/auth-form.component";
|
|
13
|
-
import * as i11 from "./auth-form/auth-google.component";
|
|
14
|
-
import * as i12 from "./auth-form/auth-intern.component";
|
|
15
|
-
import * as i13 from "./auth-form/auth-facebook.component";
|
|
16
|
-
import * as i14 from "./auth-form/auth-microsoft.component";
|
|
17
|
-
import * as i15 from "./auth-form/auth-microsoftb2c.component";
|
|
18
|
-
import * as i16 from "./shared/protected.directive";
|
|
19
|
-
export declare class IgoAuthModule {
|
|
20
|
-
static forRoot(): ModuleWithProviders<IgoAuthModule>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoAuthModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoAuthModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.MatIconModule, typeof i6.MatProgressSpinnerModule, typeof i7.MatButtonModule, typeof i8.IgoLanguageModule, typeof i9.MsalModule, typeof i10.AuthFormComponent, typeof i11.AuthGoogleComponent, typeof i12.AuthInternComponent, typeof i13.AuthFacebookComponent, typeof i14.AuthMicrosoftComponent, typeof i15.AuthMicrosoftb2cComponent, typeof i16.ProtectedDirective], [typeof i10.AuthFormComponent, typeof i16.ProtectedDirective]>;
|
|
23
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoAuthModule>;
|
|
24
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ConfigService } from '@igo2/core';
|
|
2
|
-
import { MsalService } from '@azure/msal-angular';
|
|
3
|
-
import { PublicClientApplication } from '@azure/msal-browser';
|
|
4
|
-
import { MsalServiceb2c } from './auth-msalServiceb2c.service.';
|
|
5
|
-
import { MSPMsalGuardConfiguration } from './auth.interface';
|
|
6
|
-
export declare function MSALConfigFactory(config: ConfigService): PublicClientApplication;
|
|
7
|
-
export declare function MSALConfigFactoryb2c(config: ConfigService): PublicClientApplication;
|
|
8
|
-
export declare function MSALAngularConfigFactory(config: ConfigService): MSPMsalGuardConfiguration;
|
|
9
|
-
export declare function MSALAngularConfigFactoryb2c(config: ConfigService): MSPMsalGuardConfiguration;
|
|
10
|
-
export declare function provideAuthMicrosoft(type?: string): (typeof MsalServiceb2c | {
|
|
11
|
-
provide: import("@angular/core").InjectionToken<string>;
|
|
12
|
-
useFactory: typeof MSALConfigFactoryb2c;
|
|
13
|
-
deps: (typeof ConfigService)[];
|
|
14
|
-
multi?: undefined;
|
|
15
|
-
} | {
|
|
16
|
-
provide: import("@angular/core").InjectionToken<string>;
|
|
17
|
-
useFactory: typeof MSALAngularConfigFactoryb2c;
|
|
18
|
-
deps: (typeof ConfigService)[];
|
|
19
|
-
multi: boolean;
|
|
20
|
-
})[] | (typeof MsalService | {
|
|
21
|
-
provide: import("@angular/core").InjectionToken<string>;
|
|
22
|
-
useFactory: typeof MSALConfigFactory;
|
|
23
|
-
deps: (typeof ConfigService)[];
|
|
24
|
-
multi?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
provide: import("@angular/core").InjectionToken<string>;
|
|
27
|
-
useFactory: typeof MSALAngularConfigFactory;
|
|
28
|
-
deps: (typeof ConfigService)[];
|
|
29
|
-
multi: boolean;
|
|
30
|
-
})[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { AuthService } from './auth.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProtectedDirective {
|
|
5
|
-
constructor(authentication: AuthService, el: ElementRef);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProtectedDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ProtectedDirective, "[igoProtected]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
File without changes
|