@azure/msal-angular 2.0.3 → 2.1.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 +14 -14
- package/LICENSE +20 -20
- package/README.md +150 -149
- package/azure-msal-angular.d.ts +4 -4
- package/azure-msal-angular.metadata.json +1 -1
- package/bundles/azure-msal-angular.umd.js +920 -892
- package/bundles/azure-msal-angular.umd.js.map +1 -1
- package/bundles/azure-msal-angular.umd.min.js +2 -2
- package/bundles/azure-msal-angular.umd.min.js.map +1 -1
- package/constants.d.ts +4 -4
- package/esm2015/IMsalService.js +6 -6
- package/esm2015/azure-msal-angular.js +4 -4
- package/esm2015/constants.js +9 -9
- package/esm2015/msal.broadcast.service.js +36 -36
- package/esm2015/msal.guard.config.js +6 -6
- package/esm2015/msal.guard.js +189 -168
- package/esm2015/msal.interceptor.config.js +6 -6
- package/esm2015/msal.interceptor.js +208 -208
- package/esm2015/msal.module.js +46 -46
- package/esm2015/msal.navigation.client.js +53 -53
- package/esm2015/msal.redirect.component.js +30 -30
- package/esm2015/msal.service.js +74 -74
- package/esm2015/packageMetadata.js +4 -4
- package/esm2015/public-api.js +18 -17
- package/fesm2015/azure-msal-angular.js +590 -569
- package/fesm2015/azure-msal-angular.js.map +1 -1
- package/msal.broadcast.service.d.ts +12 -12
- package/msal.guard.config.d.ts +9 -9
- package/msal.guard.d.ts +40 -39
- package/msal.guard.d.ts.map +1 -1
- package/msal.interceptor.config.d.ts +17 -17
- package/msal.interceptor.d.ts +49 -49
- 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 +27 -27
- package/msal.service.d.ts.map +1 -1
- package/package.json +7 -2
- package/packageMetadata.d.ts +2 -2
- package/public-api.d.ts +16 -15
- package/public-api.d.ts.map +1 -1
package/msal.service.d.ts
CHANGED
|
@@ -1,28 +1,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
|
-
acquireTokenPopup(request: PopupRequest): Observable<AuthenticationResult>;
|
|
12
|
-
acquireTokenRedirect(request: RedirectRequest): Observable<void>;
|
|
13
|
-
acquireTokenSilent(silentRequest: SilentRequest): Observable<AuthenticationResult>;
|
|
14
|
-
handleRedirectObservable(hash?: string): Observable<AuthenticationResult>;
|
|
15
|
-
loginPopup(request?: PopupRequest): Observable<AuthenticationResult>;
|
|
16
|
-
loginRedirect(request?: RedirectRequest): Observable<void>;
|
|
17
|
-
logout(logoutRequest?: EndSessionRequest): Observable<void>;
|
|
18
|
-
logoutRedirect(logoutRequest?: EndSessionRequest): Observable<void>;
|
|
19
|
-
logoutPopup(logoutRequest?: EndSessionPopupRequest): Observable<void>;
|
|
20
|
-
ssoSilent(request: SsoSilentRequest): Observable<AuthenticationResult>;
|
|
21
|
-
/**
|
|
22
|
-
* Gets logger for msal-angular.
|
|
23
|
-
* If no logger set, returns logger instance created with same options as msal-browser
|
|
24
|
-
*/
|
|
25
|
-
getLogger(): Logger;
|
|
26
|
-
setLogger(logger: Logger): void;
|
|
27
|
-
}
|
|
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
|
+
acquireTokenPopup(request: PopupRequest): Observable<AuthenticationResult>;
|
|
12
|
+
acquireTokenRedirect(request: RedirectRequest): Observable<void>;
|
|
13
|
+
acquireTokenSilent(silentRequest: SilentRequest): Observable<AuthenticationResult>;
|
|
14
|
+
handleRedirectObservable(hash?: string): Observable<AuthenticationResult>;
|
|
15
|
+
loginPopup(request?: PopupRequest): Observable<AuthenticationResult>;
|
|
16
|
+
loginRedirect(request?: RedirectRequest): Observable<void>;
|
|
17
|
+
logout(logoutRequest?: EndSessionRequest): Observable<void>;
|
|
18
|
+
logoutRedirect(logoutRequest?: EndSessionRequest): Observable<void>;
|
|
19
|
+
logoutPopup(logoutRequest?: EndSessionPopupRequest): Observable<void>;
|
|
20
|
+
ssoSilent(request: SsoSilentRequest): Observable<AuthenticationResult>;
|
|
21
|
+
/**
|
|
22
|
+
* Gets logger for msal-angular.
|
|
23
|
+
* If no logger set, returns logger instance created with same options as msal-browser
|
|
24
|
+
*/
|
|
25
|
+
getLogger(): Logger;
|
|
26
|
+
setLogger(logger: Logger): void;
|
|
27
|
+
}
|
|
28
28
|
//# sourceMappingURL=msal.service.d.ts.map
|
package/msal.service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msal.service.d.ts","sourceRoot":"","sources":["../src/msal.service.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACH,wBAAwB,EACxB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,MAAM,EAET,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,UAA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,IAAI,MAAM;IAOnB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAIlC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/msal-angular",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Microsoft",
|
|
6
6
|
"email": "nugetaad@microsoft.com",
|
|
@@ -14,8 +14,13 @@
|
|
|
14
14
|
"description": "Microsoft Authentication Library for Angular",
|
|
15
15
|
"main": "bundles/azure-msal-angular.umd.js",
|
|
16
16
|
"typings": "azure-msal-angular.d.ts",
|
|
17
|
+
"beachball": {
|
|
18
|
+
"disallowedChangeTypes": [
|
|
19
|
+
"major"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
17
22
|
"peerDependencies": {
|
|
18
|
-
"@azure/msal-browser": "^2.
|
|
23
|
+
"@azure/msal-browser": "^2.21.0",
|
|
19
24
|
"rxjs": "^6.0.0"
|
|
20
25
|
},
|
|
21
26
|
"dependencies": {
|
package/packageMetadata.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const name = "@azure/msal-angular";
|
|
2
|
-
export declare const version = "2.0
|
|
1
|
+
export declare const name = "@azure/msal-angular";
|
|
2
|
+
export declare const version = "2.1.0";
|
|
3
3
|
//# sourceMappingURL=packageMetadata.d.ts.map
|
package/public-api.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
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 } from "./constants";
|
|
12
|
-
export { MsalBroadcastService } from "./msal.broadcast.service";
|
|
13
|
-
export { MsalModule } from "./msal.module";
|
|
14
|
-
export { MsalRedirectComponent } from "./msal.redirect.component";
|
|
15
|
-
export { MsalCustomNavigationClient } from "./msal.navigation.client";
|
|
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 } from "./constants";
|
|
12
|
+
export { MsalBroadcastService } from "./msal.broadcast.service";
|
|
13
|
+
export { MsalModule } from "./msal.module";
|
|
14
|
+
export { MsalRedirectComponent } from "./msal.redirect.component";
|
|
15
|
+
export { MsalCustomNavigationClient } from "./msal.navigation.client";
|
|
16
|
+
export { version } from "./packageMetadata";
|
|
16
17
|
//# sourceMappingURL=public-api.d.ts.map
|
package/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9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