@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.
- package/IMsalService.d.ts +15 -15
- package/LICENSE +20 -20
- package/README.md +151 -151
- package/azure-msal-angular.d.ts +4 -4
- package/azure-msal-angular.metadata.json +1 -1
- package/bundles/azure-msal-angular.umd.js +1025 -1025
- package/bundles/azure-msal-angular.umd.js.map +1 -1
- package/bundles/azure-msal-angular.umd.min.js +1 -1
- package/bundles/azure-msal-angular.umd.min.js.map +1 -1
- package/constants.d.ts +5 -5
- package/esm2015/IMsalService.js +6 -6
- package/esm2015/azure-msal-angular.js +4 -4
- package/esm2015/constants.js +10 -10
- package/esm2015/msal.broadcast.config.js +6 -6
- package/esm2015/msal.broadcast.service.js +46 -46
- package/esm2015/msal.guard.config.js +6 -6
- package/esm2015/msal.guard.js +189 -189
- package/esm2015/msal.interceptor.config.js +6 -6
- package/esm2015/msal.interceptor.js +230 -230
- package/esm2015/msal.module.js +46 -46
- package/esm2015/msal.navigation.client.js +53 -53
- package/esm2015/msal.redirect.component.js +33 -33
- package/esm2015/msal.service.js +77 -77
- package/esm2015/packageMetadata.js +4 -4
- package/esm2015/public-api.js +18 -18
- package/fesm2015/azure-msal-angular.js +626 -626
- package/fesm2015/azure-msal-angular.js.map +1 -1
- package/msal.broadcast.config.d.ts +3 -3
- package/msal.broadcast.service.d.ts +14 -14
- package/msal.guard.config.d.ts +9 -9
- package/msal.guard.d.ts +40 -40
- package/msal.interceptor.config.d.ts +17 -17
- package/msal.interceptor.d.ts +59 -59
- package/msal.module.d.ts +7 -7
- package/msal.navigation.client.d.ts +16 -16
- package/msal.redirect.component.d.ts +12 -12
- package/msal.service.d.ts +28 -28
- package/package.json +2 -2
- package/packageMetadata.d.ts +2 -2
- 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.
|
|
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.
|
|
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",
|
package/packageMetadata.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const name = "@azure/msal-angular";
|
|
2
|
-
export declare const version = "2.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
|