ngx-sp-auth 3.2.8 → 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.
package/lib/auth.service.d.ts
CHANGED
|
@@ -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 {
|
|
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 {
|
|
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>;
|