ngx-sp-auth 3.0.1 → 3.0.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.
@@ -0,0 +1,13 @@
1
+ import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
2
+ import { Observable } from 'rxjs';
3
+ import { AuthService } from '../auth.service';
4
+ import * as i0 from "@angular/core";
5
+ /** Protege a página de processamento de login integrado OS, só permite acessá-la se o payload for informado corretamente. */
6
+ export declare class LoginOSGuard {
7
+ private _router;
8
+ private _loginOSService;
9
+ constructor(_router: Router, _loginOSService: AuthService);
10
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginOSGuard, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoginOSGuard>;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-sp-auth",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Biblioteca de utilitários da Infra.",
5
5
  "author": "P&D",
6
6
  "keywords": [
package/public-api.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  export * from './lib/auth.module';
2
2
  /** Services */
3
+ export * from './lib/auth.service';
4
+ export * from './lib/environments/environments.service';
5
+ export * from './lib/components/menu-lateral/menu-services.service';
6
+ export * from './lib/storage/auth-storage.service';
3
7
  export * from './lib/custom/lib-custom-login.service';
4
8
  export * from './lib/custom/lib-custom-menu.service';
5
9
  export * from './lib/custom/lib-custom-storage.service';
6
10
  export * from './lib/custom/lib-menu-config.service';
7
- export * from './lib/environments/environments.service';
8
- export * from './lib/storage/auth-storage.service';
9
11
  /** Components */
10
12
  export * from './lib/components/login/login.component';
11
13
  export * from './lib/components/login-os/login-os.component';
@@ -20,6 +22,7 @@ export * from './lib/components/nova-senha/nova-senhacomponent';
20
22
  export * from './lib/components/menu-lateral/model/imenu-item-structure.model';
21
23
  export * from './lib/components/menu-lateral/model/imenu.model';
22
24
  export * from './lib/components/menu-lateral/model/infrausuarioimg';
25
+ export * from './lib/components/menu-lateral/model/ret-navsubmenu';
23
26
  export * from './lib/custom/models/icustom-login-service';
24
27
  export * from './lib/custom/models/icustom-menu-service';
25
28
  export * from './lib/custom/models/imenu-config';
@@ -29,6 +32,7 @@ export * from './lib/environments/models/ienvironments';
29
32
  export * from './lib/guards/auth-guard';
30
33
  export * from './lib/guards/external-login-guard';
31
34
  export * from './lib/guards/login-guard';
35
+ export * from './lib/guards/login-os.guard';
32
36
  /** Interceptors */
33
37
  export * from './lib/interceptors/auth-aplic.interceptor';
34
38
  export * from './lib/interceptors/auth-infra.interceptor';