@azure/msal-angular 2.5.5 → 2.5.6

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.
Files changed (40) hide show
  1. package/IMsalService.d.ts +15 -15
  2. package/LICENSE +20 -20
  3. package/README.md +151 -151
  4. package/azure-msal-angular.d.ts +4 -4
  5. package/azure-msal-angular.metadata.json +1 -1
  6. package/bundles/azure-msal-angular.umd.js +1025 -1025
  7. package/bundles/azure-msal-angular.umd.js.map +1 -1
  8. package/bundles/azure-msal-angular.umd.min.js +1 -1
  9. package/bundles/azure-msal-angular.umd.min.js.map +1 -1
  10. package/constants.d.ts +5 -5
  11. package/esm2015/IMsalService.js +6 -6
  12. package/esm2015/azure-msal-angular.js +4 -4
  13. package/esm2015/constants.js +10 -10
  14. package/esm2015/msal.broadcast.config.js +6 -6
  15. package/esm2015/msal.broadcast.service.js +46 -46
  16. package/esm2015/msal.guard.config.js +6 -6
  17. package/esm2015/msal.guard.js +189 -189
  18. package/esm2015/msal.interceptor.config.js +6 -6
  19. package/esm2015/msal.interceptor.js +230 -230
  20. package/esm2015/msal.module.js +46 -46
  21. package/esm2015/msal.navigation.client.js +53 -53
  22. package/esm2015/msal.redirect.component.js +33 -33
  23. package/esm2015/msal.service.js +77 -77
  24. package/esm2015/packageMetadata.js +4 -4
  25. package/esm2015/public-api.js +18 -18
  26. package/fesm2015/azure-msal-angular.js +626 -626
  27. package/fesm2015/azure-msal-angular.js.map +1 -1
  28. package/msal.broadcast.config.d.ts +3 -3
  29. package/msal.broadcast.service.d.ts +14 -14
  30. package/msal.guard.config.d.ts +9 -9
  31. package/msal.guard.d.ts +40 -40
  32. package/msal.interceptor.config.d.ts +17 -17
  33. package/msal.interceptor.d.ts +59 -59
  34. package/msal.module.d.ts +7 -7
  35. package/msal.navigation.client.d.ts +16 -16
  36. package/msal.redirect.component.d.ts +12 -12
  37. package/msal.service.d.ts +28 -28
  38. package/package.json +2 -2
  39. package/packageMetadata.d.ts +2 -2
  40. package/public-api.d.ts +17 -17
@@ -1,17 +1,17 @@
1
- import { NavigationClient, NavigationOptions } from "@azure/msal-browser";
2
- import { Router } from "@angular/router";
3
- import { Location } from "@angular/common";
4
- import { MsalService } from "./msal.service";
5
- /**
6
- * Custom navigation used for Angular client-side navigation.
7
- * See performance doc for details:
8
- * https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular/docs/v2-docs/performance.md
9
- */
10
- export declare class MsalCustomNavigationClient extends NavigationClient {
11
- private authService;
12
- private router;
13
- private location;
14
- constructor(authService: MsalService, router: Router, location: Location);
15
- navigateInternal(url: string, options: NavigationOptions): Promise<boolean>;
16
- }
1
+ import { NavigationClient, NavigationOptions } from "@azure/msal-browser";
2
+ import { Router } from "@angular/router";
3
+ import { Location } from "@angular/common";
4
+ import { MsalService } from "./msal.service";
5
+ /**
6
+ * Custom navigation used for Angular client-side navigation.
7
+ * See performance doc for details:
8
+ * https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-angular/docs/v2-docs/performance.md
9
+ */
10
+ export declare class MsalCustomNavigationClient extends NavigationClient {
11
+ private authService;
12
+ private router;
13
+ private location;
14
+ constructor(authService: MsalService, router: Router, location: Location);
15
+ navigateInternal(url: string, options: NavigationOptions): Promise<boolean>;
16
+ }
17
17
  //# sourceMappingURL=msal.navigation.client.d.ts.map
@@ -1,13 +1,13 @@
1
- /**
2
- * This is a dedicated redirect component to be added to Angular apps to
3
- * handle redirects when using @azure/msal-angular.
4
- * Import this component to use redirects in your app.
5
- */
6
- import { OnInit } from "@angular/core";
7
- import { MsalService } from "./msal.service";
8
- export declare class MsalRedirectComponent implements OnInit {
9
- private authService;
10
- constructor(authService: MsalService);
11
- ngOnInit(): void;
12
- }
1
+ /**
2
+ * This is a dedicated redirect component to be added to Angular apps to
3
+ * handle redirects when using @azure/msal-angular.
4
+ * Import this component to use redirects in your app.
5
+ */
6
+ import { OnInit } from "@angular/core";
7
+ import { MsalService } from "./msal.service";
8
+ export declare class MsalRedirectComponent implements OnInit {
9
+ private authService;
10
+ constructor(authService: MsalService);
11
+ ngOnInit(): void;
12
+ }
13
13
  //# sourceMappingURL=msal.redirect.component.d.ts.map
package/msal.service.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- import { Location } from "@angular/common";
2
- import { IPublicClientApplication, EndSessionRequest, EndSessionPopupRequest, AuthenticationResult, RedirectRequest, SilentRequest, PopupRequest, SsoSilentRequest, Logger } from "@azure/msal-browser";
3
- import { Observable } from "rxjs";
4
- import { IMsalService } from "./IMsalService";
5
- export declare class MsalService implements IMsalService {
6
- instance: IPublicClientApplication;
7
- private location;
8
- private redirectHash;
9
- private logger;
10
- constructor(instance: IPublicClientApplication, location: Location);
11
- initialize(): Observable<void>;
12
- acquireTokenPopup(request: PopupRequest): Observable<AuthenticationResult>;
13
- acquireTokenRedirect(request: RedirectRequest): Observable<void>;
14
- acquireTokenSilent(silentRequest: SilentRequest): Observable<AuthenticationResult>;
15
- handleRedirectObservable(hash?: string): Observable<AuthenticationResult>;
16
- loginPopup(request?: PopupRequest): Observable<AuthenticationResult>;
17
- loginRedirect(request?: RedirectRequest): Observable<void>;
18
- logout(logoutRequest?: EndSessionRequest): Observable<void>;
19
- logoutRedirect(logoutRequest?: EndSessionRequest): Observable<void>;
20
- logoutPopup(logoutRequest?: EndSessionPopupRequest): Observable<void>;
21
- ssoSilent(request: SsoSilentRequest): Observable<AuthenticationResult>;
22
- /**
23
- * Gets logger for msal-angular.
24
- * If no logger set, returns logger instance created with same options as msal-browser
25
- */
26
- getLogger(): Logger;
27
- setLogger(logger: Logger): void;
28
- }
1
+ import { Location } from "@angular/common";
2
+ import { IPublicClientApplication, EndSessionRequest, EndSessionPopupRequest, AuthenticationResult, RedirectRequest, SilentRequest, PopupRequest, SsoSilentRequest, Logger } from "@azure/msal-browser";
3
+ import { Observable } from "rxjs";
4
+ import { IMsalService } from "./IMsalService";
5
+ export declare class MsalService implements IMsalService {
6
+ instance: IPublicClientApplication;
7
+ private location;
8
+ private redirectHash;
9
+ private logger;
10
+ constructor(instance: IPublicClientApplication, location: Location);
11
+ initialize(): Observable<void>;
12
+ acquireTokenPopup(request: PopupRequest): Observable<AuthenticationResult>;
13
+ acquireTokenRedirect(request: RedirectRequest): Observable<void>;
14
+ acquireTokenSilent(silentRequest: SilentRequest): Observable<AuthenticationResult>;
15
+ handleRedirectObservable(hash?: string): Observable<AuthenticationResult>;
16
+ loginPopup(request?: PopupRequest): Observable<AuthenticationResult>;
17
+ loginRedirect(request?: RedirectRequest): Observable<void>;
18
+ logout(logoutRequest?: EndSessionRequest): Observable<void>;
19
+ logoutRedirect(logoutRequest?: EndSessionRequest): Observable<void>;
20
+ logoutPopup(logoutRequest?: EndSessionPopupRequest): Observable<void>;
21
+ ssoSilent(request: SsoSilentRequest): Observable<AuthenticationResult>;
22
+ /**
23
+ * Gets logger for msal-angular.
24
+ * If no logger set, returns logger instance created with same options as msal-browser
25
+ */
26
+ getLogger(): Logger;
27
+ setLogger(logger: Logger): void;
28
+ }
29
29
  //# sourceMappingURL=msal.service.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/msal-angular",
3
- "version": "2.5.5",
3
+ "version": "2.5.6",
4
4
  "author": {
5
5
  "name": "Microsoft",
6
6
  "email": "nugetaad@microsoft.com",
@@ -20,7 +20,7 @@
20
20
  ]
21
21
  },
22
22
  "peerDependencies": {
23
- "@azure/msal-browser": "^2.35.0",
23
+ "@azure/msal-browser": "^2.36.0",
24
24
  "rxjs": "^6.0.0 || ^7.0.0"
25
25
  },
26
26
  "module": "fesm2015/azure-msal-angular.js",
@@ -1,3 +1,3 @@
1
- export declare const name = "@azure/msal-angular";
2
- export declare const version = "2.5.5";
1
+ export declare const name = "@azure/msal-angular";
2
+ export declare const version = "2.5.6";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
package/public-api.d.ts CHANGED
@@ -1,18 +1,18 @@
1
- /**
2
- * @packageDocumentation
3
- * @module @azure/msal-angular
4
- */
5
- export { MsalService } from "./msal.service";
6
- export { IMsalService } from "./IMsalService";
7
- export { MsalGuard } from "./msal.guard";
8
- export { MsalGuardConfiguration, MsalGuardAuthRequest } from "./msal.guard.config";
9
- export { MsalInterceptor } from "./msal.interceptor";
10
- export { MsalInterceptorConfiguration, MsalInterceptorAuthRequest, ProtectedResourceScopes } from "./msal.interceptor.config";
11
- export { MSAL_INSTANCE, MSAL_GUARD_CONFIG, MSAL_INTERCEPTOR_CONFIG, MSAL_BROADCAST_CONFIG } from "./constants";
12
- export { MsalBroadcastService } from "./msal.broadcast.service";
13
- export { MsalBroadcastConfiguration } from "./msal.broadcast.config";
14
- export { MsalModule } from "./msal.module";
15
- export { MsalRedirectComponent } from "./msal.redirect.component";
16
- export { MsalCustomNavigationClient } from "./msal.navigation.client";
17
- export { version } from "./packageMetadata";
1
+ /**
2
+ * @packageDocumentation
3
+ * @module @azure/msal-angular
4
+ */
5
+ export { MsalService } from "./msal.service";
6
+ export { IMsalService } from "./IMsalService";
7
+ export { MsalGuard } from "./msal.guard";
8
+ export { MsalGuardConfiguration, MsalGuardAuthRequest } from "./msal.guard.config";
9
+ export { MsalInterceptor } from "./msal.interceptor";
10
+ export { MsalInterceptorConfiguration, MsalInterceptorAuthRequest, ProtectedResourceScopes } from "./msal.interceptor.config";
11
+ export { MSAL_INSTANCE, MSAL_GUARD_CONFIG, MSAL_INTERCEPTOR_CONFIG, MSAL_BROADCAST_CONFIG } from "./constants";
12
+ export { MsalBroadcastService } from "./msal.broadcast.service";
13
+ export { MsalBroadcastConfiguration } from "./msal.broadcast.config";
14
+ export { MsalModule } from "./msal.module";
15
+ export { MsalRedirectComponent } from "./msal.redirect.component";
16
+ export { MsalCustomNavigationClient } from "./msal.navigation.client";
17
+ export { version } from "./packageMetadata";
18
18
  //# sourceMappingURL=public-api.d.ts.map