ngx-sp-auth 3.2.7 → 3.2.9

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.
@@ -1,16 +1,16 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Router } from '@angular/router';
3
3
  import { Observable } from 'rxjs';
4
- import { LoginForm } from './models/login-form';
5
- import { RetLogin } from './models/ret-login';
6
- import { RetAutenthication } from './models/ret-autenthication';
7
4
  import { ForgottenPasswordForm } from './models/forgotten-password-form';
5
+ import { LoginForm } from './models/login-form';
8
6
  import { NovaSenhaForm } from './models/nova-senha-form';
7
+ import { RetAutenthication } from './models/ret-autenthication';
8
+ import { RetLogin } from './models/ret-login';
9
9
  import { IpServiceService, RetError } from 'ngx-sp-infra';
10
- import { AuthStorageService } from './storage/auth-storage.service';
10
+ import { LibCustomEnvironmentService } from './custom/lib-custom-environment.service';
11
11
  import { LibCustomLoginService } from './custom/lib-custom-login.service';
12
12
  import { ProjectUtilservice } from './project/project-utils.service';
13
- import { LibCustomEnvironmentService } from './custom/lib-custom-environment.service';
13
+ import { AuthStorageService } from './storage/auth-storage.service';
14
14
  import * as i0 from "@angular/core";
15
15
  export declare class AuthService {
16
16
  private _httpClient;
@@ -57,6 +57,7 @@ export declare class AuthService {
57
57
  * @returns Observable com os dados do login realizado, seja erro ou sucesso
58
58
  */
59
59
  loginOS(parmsLogin: LoginForm, serialV6: string): Observable<RetLogin>;
60
+ /** Realiza o logout do sistema, removendo tokens do localStorage e limpando cache */
60
61
  logout(): void;
61
62
  validateAuthentication2Fa(code: string): Observable<RetLogin>;
62
63
  GetNewCode2Fa(): Observable<RetError>;
@@ -1,7 +1,7 @@
1
1
  import { Router } from '@angular/router';
2
2
  import { CheckUrlAndMethodService, MessageService } from 'ngx-sp-infra';
3
- import { AuthStorageService } from '../storage/auth-storage.service';
4
3
  import { LibCustomEnvironmentService } from '../custom/lib-custom-environment.service';
4
+ import { AuthStorageService } from '../storage/auth-storage.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ProjectUtilservice {
7
7
  private router;
@@ -11,6 +11,7 @@ export declare class ProjectUtilservice {
11
11
  private _customEnvironmentService;
12
12
  constructor(router: Router, authStorageService: AuthStorageService, checkUrlAndMethodService: CheckUrlAndMethodService, messageService: MessageService, _customEnvironmentService: LibCustomEnvironmentService);
13
13
  showHttpError(error: any): void;
14
+ showHTTPErrorOS(error: any): void;
14
15
  private showExpiredAccess;
15
16
  getHostName(): string;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ProjectUtilservice, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-sp-auth",
3
- "version": "3.2.7",
3
+ "version": "3.2.9",
4
4
  "description": "Biblioteca de utilitários da Infra.",
5
5
  "author": "P&D",
6
6
  "keywords": [