@osovitny/anatoly 3.17.11 → 3.17.12
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.
|
@@ -3,4 +3,4 @@ import { SignInPage } from "./pages/signin.page";
|
|
|
3
3
|
import { SignOutPage } from "./pages/signout.page";
|
|
4
4
|
import { SignUpPage } from "./pages/signup.page";
|
|
5
5
|
export declare const IAMRouterModule: import("@angular/core").ModuleWithProviders<RouterModule>;
|
|
6
|
-
export declare const PAGES: (typeof
|
|
6
|
+
export declare const PAGES: (typeof SignUpPage | typeof SignOutPage | typeof SignInPage)[];
|
|
@@ -3,7 +3,7 @@ import { OnDestroy } from '@angular/core';
|
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { MsalBroadcastService, MsalGuardConfiguration, MsalService } from '@azure/msal-angular';
|
|
6
|
-
import { PopupRequest, RedirectRequest } from '@azure/msal-browser';
|
|
6
|
+
import { AccountInfo, PopupRequest, RedirectRequest } from '@azure/msal-browser';
|
|
7
7
|
import { ApiServiceBase } from '../../data/base/api.service';
|
|
8
8
|
import { AppContextService } from '../../core/services/appcontext.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -25,10 +25,10 @@ export declare class AuthService extends ApiServiceBase implements OnDestroy {
|
|
|
25
25
|
private init;
|
|
26
26
|
private setDefaults;
|
|
27
27
|
private initMSAL;
|
|
28
|
-
private getActiveAccount;
|
|
29
28
|
private checkAndSetActiveAccount;
|
|
30
29
|
private isPopup;
|
|
31
30
|
private acquireToken;
|
|
31
|
+
getActiveAccount(): AccountInfo | null;
|
|
32
32
|
getUserEmail(): any;
|
|
33
33
|
getUserName(): any;
|
|
34
34
|
getAccessToken(): Observable<string>;
|