@azure/msal-angular 4.0.24 → 5.0.0-beta.0
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/IMsalService.d.ts +16 -17
- package/README.md +3 -1
- package/constants.d.ts +9 -5
- package/{fesm2020 → fesm2022}/azure-msal-angular.mjs +757 -734
- package/fesm2022/azure-msal-angular.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/msal.broadcast.config.d.ts +3 -3
- package/msal.broadcast.service.d.ts +19 -19
- package/msal.guard.config.d.ts +9 -9
- package/msal.guard.d.ts +43 -43
- package/msal.interceptor.config.d.ts +13 -13
- package/msal.interceptor.d.ts +76 -70
- package/msal.module.d.ts +13 -13
- package/msal.navigation.client.d.ts +19 -19
- package/msal.redirect.component.d.ts +15 -15
- package/msal.service.d.ts +32 -33
- package/package.json +5 -15
- package/packageMetadata.d.ts +2 -2
- package/public-api.d.ts +17 -17
- package/esm2020/IMsalService.mjs +0 -6
- package/esm2020/azure-msal-angular.mjs +0 -5
- package/esm2020/constants.mjs +0 -10
- package/esm2020/msal.broadcast.config.mjs +0 -6
- package/esm2020/msal.broadcast.service.mjs +0 -66
- package/esm2020/msal.guard.config.mjs +0 -6
- package/esm2020/msal.guard.mjs +0 -218
- package/esm2020/msal.interceptor.config.mjs +0 -6
- package/esm2020/msal.interceptor.mjs +0 -270
- package/esm2020/msal.module.mjs +0 -46
- package/esm2020/msal.navigation.client.mjs +0 -53
- package/esm2020/msal.redirect.component.mjs +0 -31
- package/esm2020/msal.service.mjs +0 -88
- package/esm2020/packageMetadata.mjs +0 -4
- package/esm2020/public-api.mjs +0 -18
- package/fesm2015/azure-msal-angular.mjs +0 -762
- package/fesm2015/azure-msal-angular.mjs.map +0 -1
- package/fesm2020/azure-msal-angular.mjs.map +0 -1
package/IMsalService.d.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
export interface IMsalService {
|
|
4
|
-
initialize(): Observable<void>;
|
|
5
|
-
acquireTokenPopup(request: PopupRequest): Observable<AuthenticationResult>;
|
|
6
|
-
acquireTokenRedirect(request: RedirectRequest): Observable<void>;
|
|
7
|
-
acquireTokenSilent(silentRequest: SilentRequest): Observable<AuthenticationResult>;
|
|
8
|
-
handleRedirectObservable(): Observable<AuthenticationResult | null>;
|
|
9
|
-
loginPopup(request?: PopupRequest): Observable<AuthenticationResult>;
|
|
10
|
-
loginRedirect(request?: RedirectRequest): Observable<void>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { AuthenticationResult, PopupRequest, RedirectRequest, SilentRequest, Logger, SsoSilentRequest, EndSessionRequest, EndSessionPopupRequest } from "@azure/msal-browser";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
export interface IMsalService {
|
|
4
|
+
initialize(): Observable<void>;
|
|
5
|
+
acquireTokenPopup(request: PopupRequest): Observable<AuthenticationResult>;
|
|
6
|
+
acquireTokenRedirect(request: RedirectRequest): Observable<void>;
|
|
7
|
+
acquireTokenSilent(silentRequest: SilentRequest): Observable<AuthenticationResult>;
|
|
8
|
+
handleRedirectObservable(): Observable<AuthenticationResult | null>;
|
|
9
|
+
loginPopup(request?: PopupRequest): Observable<AuthenticationResult>;
|
|
10
|
+
loginRedirect(request?: RedirectRequest): Observable<void>;
|
|
11
|
+
logoutRedirect(logoutRequest?: EndSessionRequest): Observable<void>;
|
|
12
|
+
logoutPopup(logoutRequest?: EndSessionPopupRequest): Observable<void>;
|
|
13
|
+
ssoSilent(request: SsoSilentRequest): Observable<AuthenticationResult>;
|
|
14
|
+
getLogger(): Logger;
|
|
15
|
+
setLogger(logger: Logger): void;
|
|
16
|
+
}
|
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ The current `@azure/msal-angular` library improves upon the previous version and
|
|
|
34
34
|
|
|
35
35
|
## Guides
|
|
36
36
|
|
|
37
|
+
- [Upgrade Guide (v4-v5)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular/docs/v4-v5-upgrade-guide.md)
|
|
37
38
|
- [Upgrade Guide (v3-v4)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular/docs/v3-v4-upgrade-guide.md)
|
|
38
39
|
- [Upgrade Guide (v2-v3)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular/docs/v2-v3-upgrade-guide.md)
|
|
39
40
|
- [Upgrade Guide (v1-v2)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular/docs/v1-v2-upgrade-guide.md)
|
|
@@ -46,7 +47,8 @@ At a minimum, `@azure/msal-angular` will follow the [support schedule of the mai
|
|
|
46
47
|
|
|
47
48
|
| MSAL Angular version | MSAL support status | Supported Angular versions |
|
|
48
49
|
| -------------------- | ------------------- | -------------------------- |
|
|
49
|
-
| MSAL Angular
|
|
50
|
+
| MSAL Angular v5 | Active development | 19, 20 |
|
|
51
|
+
| MSAL Angular v4 | In maintenance | 15, 16, 17, 18, 19, 20 |
|
|
50
52
|
| MSAL Angular v3 | In maintenance | 15, 16, 17, 18 |
|
|
51
53
|
| MSAL Angular v2 | In maintenance | 9, 10, 11, 12, 13, 14 |
|
|
52
54
|
| MSAL Angular v1 | In maintenance | 6, 7, 8, 9 |
|
package/constants.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { type IPublicClientApplication } from "@azure/msal-browser";
|
|
3
|
+
import { type MsalBroadcastConfiguration } from "./msal.broadcast.config";
|
|
4
|
+
import { type MsalGuardConfiguration } from "./msal.guard.config";
|
|
5
|
+
import { type MsalInterceptorConfiguration } from "./msal.interceptor.config";
|
|
6
|
+
export declare const MSAL_INSTANCE: InjectionToken<IPublicClientApplication>;
|
|
7
|
+
export declare const MSAL_GUARD_CONFIG: InjectionToken<MsalGuardConfiguration>;
|
|
8
|
+
export declare const MSAL_INTERCEPTOR_CONFIG: InjectionToken<MsalInterceptorConfiguration>;
|
|
9
|
+
export declare const MSAL_BROADCAST_CONFIG: InjectionToken<MsalBroadcastConfiguration>;
|