@azure/msal-node 1.0.0-beta.2 → 1.0.0-beta.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/CHANGELOG.json +144 -0
- package/README.md +1 -1
- package/changelog.md +43 -1
- package/dist/cache/ITokenCache.d.ts +16 -0
- package/dist/cache/ITokenCache.d.ts.map +1 -0
- package/dist/cache/{Storage.d.ts → NodeStorage.d.ts} +55 -31
- package/dist/cache/NodeStorage.d.ts.map +1 -0
- package/dist/cache/TokenCache.d.ts +30 -13
- package/dist/cache/TokenCache.d.ts.map +1 -0
- package/dist/cache/serializer/Deserializer.d.ts +1 -0
- package/dist/cache/serializer/Deserializer.d.ts.map +1 -0
- package/dist/cache/serializer/Serializer.d.ts +1 -0
- package/dist/cache/serializer/Serializer.d.ts.map +1 -0
- package/dist/cache/serializer/SerializerTypes.d.ts +33 -0
- package/dist/cache/serializer/SerializerTypes.d.ts.map +1 -0
- package/dist/client/ClientApplication.d.ts +36 -7
- package/dist/client/ClientApplication.d.ts.map +1 -0
- package/dist/client/ClientAssertion.d.ts +25 -1
- package/dist/client/ClientAssertion.d.ts.map +1 -0
- package/dist/client/ConfidentialClientApplication.d.ts +11 -5
- package/dist/client/ConfidentialClientApplication.d.ts.map +1 -0
- package/dist/client/IConfidentialClientApplication.d.ts +33 -0
- package/dist/client/IConfidentialClientApplication.d.ts.map +1 -0
- package/dist/client/IPublicClientApplication.d.ts +33 -0
- package/dist/client/IPublicClientApplication.d.ts.map +1 -0
- package/dist/client/PublicClientApplication.d.ts +8 -5
- package/dist/client/PublicClientApplication.d.ts.map +1 -0
- package/dist/config/Configuration.d.ts +10 -3
- package/dist/config/Configuration.d.ts.map +1 -0
- package/dist/crypto/CryptoProvider.d.ts +10 -2
- package/dist/crypto/CryptoProvider.d.ts.map +1 -0
- package/dist/crypto/GuidGenerator.d.ts +1 -0
- package/dist/crypto/GuidGenerator.d.ts.map +1 -0
- package/dist/crypto/PkceGenerator.d.ts +1 -0
- package/dist/crypto/PkceGenerator.d.ts.map +1 -0
- package/dist/index.d.ts +15 -5
- package/dist/index.d.ts.map +1 -0
- package/dist/msal-node.cjs.development.js +274 -205
- package/dist/msal-node.cjs.development.js.map +1 -1
- package/dist/msal-node.cjs.production.min.js +1 -1
- package/dist/msal-node.cjs.production.min.js.map +1 -1
- package/dist/msal-node.esm.js +273 -204
- package/dist/msal-node.esm.js.map +1 -1
- package/dist/network/HttpClient.d.ts +1 -1
- package/dist/network/HttpClient.d.ts.map +1 -0
- package/dist/packageMetadata.d.ts +3 -0
- package/dist/packageMetadata.d.ts.map +1 -0
- package/dist/request/AuthorizationCodeRequest.d.ts +3 -1
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/dist/request/AuthorizationUrlRequest.d.ts +3 -1
- package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/dist/request/ClientCredentialRequest.d.ts +3 -1
- package/dist/request/ClientCredentialRequest.d.ts.map +1 -0
- package/dist/request/DeviceCodeRequest.d.ts +3 -1
- package/dist/request/DeviceCodeRequest.d.ts.map +1 -0
- package/dist/request/OnBehalfOfRequest.d.ts +3 -1
- package/dist/request/OnBehalfOfRequest.d.ts.map +1 -0
- package/dist/request/RefreshTokenRequest.d.ts +3 -1
- package/dist/request/RefreshTokenRequest.d.ts.map +1 -0
- package/dist/request/SilentFlowRequest.d.ts +3 -1
- package/dist/request/SilentFlowRequest.d.ts.map +1 -0
- package/dist/request/UsernamePasswordRequest.d.ts +3 -1
- package/dist/request/UsernamePasswordRequest.d.ts.map +1 -0
- package/dist/utils/Constants.d.ts +1 -0
- package/dist/utils/Constants.d.ts.map +1 -0
- package/dist/utils/EncodingUtils.d.ts +1 -0
- package/dist/utils/EncodingUtils.d.ts.map +1 -0
- package/dist/utils/NetworkUtils.d.ts +1 -0
- package/dist/utils/NetworkUtils.d.ts.map +1 -0
- package/package.json +8 -12
|
@@ -3,7 +3,6 @@ import { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/m
|
|
|
3
3
|
* This class implements the API for network requests.
|
|
4
4
|
*/
|
|
5
5
|
export declare class HttpClient implements INetworkModule {
|
|
6
|
-
constructor();
|
|
7
6
|
/**
|
|
8
7
|
* Http Get request
|
|
9
8
|
* @param url
|
|
@@ -17,3 +16,4 @@ export declare class HttpClient implements INetworkModule {
|
|
|
17
16
|
*/
|
|
18
17
|
sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
|
|
19
18
|
}
|
|
19
|
+
//# sourceMappingURL=HttpClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../src/network/HttpClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,cAAc,EACd,qBAAqB,EACrB,eAAe,EAClB,MAAM,oBAAoB,CAAC;AAI5B;;GAEG;AACH,qBAAa,UAAW,YAAW,cAAc;IAE7C;;;;OAIG;IACG,mBAAmB,CAAC,CAAC,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAgB9B;;;;OAIG;IACG,oBAAoB,CAAC,CAAC,EACxB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAgBjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,qBAAqB,CAAC;AACvC,eAAO,MAAM,OAAO,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonAuthorizationCodeRequest } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* Request object passed by user to acquire a token from the server exchanging a valid authorization code (second leg of OAuth2.0 Authorization Code flow)
|
|
4
4
|
*
|
|
@@ -9,9 +9,11 @@ import { AuthorizationCodeRequest as CommonAuthorizationCodeRequest } from "@azu
|
|
|
9
9
|
* - redirectUri - The redirect URI of your app, where the authority will redirect to after the user inputs credentials and consents. It must exactly match one of the redirect URIs you registered in the portal.
|
|
10
10
|
* - code - The authorization_code that the user acquired in the first leg of the flow.
|
|
11
11
|
* - codeVerifier - The same code_verifier that was used to obtain the authorization_code. Required if PKCE was used in the authorization code grant request.For more information, see the PKCE RFC: https://tools.ietf.org/html/rfc7636
|
|
12
|
+
* @public
|
|
12
13
|
*/
|
|
13
14
|
export declare type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "scopes" | "redirectUri" | "code" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri">> & {
|
|
14
15
|
scopes: Array<string>;
|
|
15
16
|
redirectUri: string;
|
|
16
17
|
code: string;
|
|
17
18
|
};
|
|
19
|
+
//# sourceMappingURL=AuthorizationCodeRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,oBAAY,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,QAAQ,GAAC,aAAa,GAAC,MAAM,GAAC,sBAAsB,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACtL,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonAuthorizationUrlRequest } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* Request object passed by user to retrieve a Code from the server (first leg of authorization code grant flow)
|
|
4
4
|
*
|
|
@@ -23,8 +23,10 @@ import { AuthorizationUrlRequest as CommonAuthorizationUrlRequest } from "@azure
|
|
|
23
23
|
* - domainHint - Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
|
|
24
24
|
* - extraQueryParameters - String to string map of custom query parameters.
|
|
25
25
|
* - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
|
|
26
|
+
* @public
|
|
26
27
|
*/
|
|
27
28
|
export declare type AuthorizationUrlRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "resourceRequestMethod" | "resourceRequestUri" | "authenticationScheme">> & {
|
|
28
29
|
scopes: Array<string>;
|
|
29
30
|
redirectUri: string;
|
|
30
31
|
};
|
|
32
|
+
//# sourceMappingURL=AuthorizationUrlRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthorizationUrlRequest.d.ts","sourceRoot":"","sources":["../src/request/AuthorizationUrlRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,aAAa,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,sBAAsB,CAAC,CAAC,GAAG;IAC7K,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonClientCredentialRequest } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* CommonClientCredentialRequest
|
|
4
4
|
* - scopes - Array of scopes the application is requesting access to.
|
|
5
5
|
* - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
|
|
6
6
|
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
7
7
|
* - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
|
|
8
|
+
* @public
|
|
8
9
|
*/
|
|
9
10
|
export declare type ClientCredentialRequest = Partial<Omit<CommonClientCredentialRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri">> & {
|
|
10
11
|
scopes: Array<string>;
|
|
11
12
|
};
|
|
13
|
+
//# sourceMappingURL=ClientCredentialRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientCredentialRequest.d.ts","sourceRoot":"","sources":["../src/request/ClientCredentialRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;GAOG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACxI,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonDeviceCodeRequest, DeviceCodeResponse } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* Parameters for Oauth2 device code flow.
|
|
4
4
|
* - scopes - Array of scopes the application is requesting access to.
|
|
@@ -6,8 +6,10 @@ import { DeviceCodeRequest as CommonDeviceCodeRequest, DeviceCodeResponse } from
|
|
|
6
6
|
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
7
7
|
* - deviceCodeCallback - Callback containing device code response. Message should be shown to end user. End user can then navigate to the verification_uri, input the user_code, and input credentials.
|
|
8
8
|
* - cancel - Boolean to cancel polling of device code endpoint. While the user authenticates on a separate device, MSAL polls the the token endpoint of security token service for the interval specified in the device code response (usually 15 minutes). To stop polling and cancel the request, set cancel=true.
|
|
9
|
+
* @public
|
|
9
10
|
*/
|
|
10
11
|
export declare type DeviceCodeRequest = Partial<Omit<CommonDeviceCodeRequest, "scopes" | "deviceCodeCallback" | "resourceRequestMethod" | "resourceRequestUri">> & {
|
|
11
12
|
scopes: Array<string>;
|
|
12
13
|
deviceCodeCallback: (response: DeviceCodeResponse) => void;
|
|
13
14
|
};
|
|
15
|
+
//# sourceMappingURL=DeviceCodeRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceCodeRequest.d.ts","sourceRoot":"","sources":["../src/request/DeviceCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAG,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAElF;;;;;;;;GAQG;AACH,oBAAY,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,QAAQ,GAAC,oBAAoB,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACjJ,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC9D,CAAC"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonOnBehalfOfRequest } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* - scopes - Array of scopes the application is requesting access to.
|
|
4
4
|
* - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
|
|
5
5
|
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
6
6
|
* - oboAssertion - The access token that was sent to the middle-tier API. This token must have an audience of the app making this OBO request.
|
|
7
7
|
* - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
|
|
8
|
+
* @public
|
|
8
9
|
*/
|
|
9
10
|
export declare type OnBehalfOfRequest = Partial<Omit<CommonOnBehalfOfRequest, "oboAssertion" | "scopes" | "resourceRequestMethod" | "resourceRequestUri">> & {
|
|
10
11
|
oboAssertion: string;
|
|
11
12
|
scopes: Array<string>;
|
|
12
13
|
};
|
|
14
|
+
//# sourceMappingURL=OnBehalfOfRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnBehalfOfRequest.d.ts","sourceRoot":"","sources":["../src/request/OnBehalfOfRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D;;;;;;;GAOG;AACH,oBAAY,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,cAAc,GAAC,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IAC3I,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonRefreshTokenRequest } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* CommonRefreshTokenRequest
|
|
4
4
|
* - scopes - Array of scopes the application is requesting access to.
|
|
@@ -6,8 +6,10 @@ import { RefreshTokenRequest as CommonRefreshTokenRequest } from "@azure/msal-co
|
|
|
6
6
|
* - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
|
|
7
7
|
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
8
8
|
* - refreshToken - A refresh token returned from a previous request to the Identity provider.
|
|
9
|
+
* @public
|
|
9
10
|
*/
|
|
10
11
|
export declare type RefreshTokenRequest = Partial<Omit<CommonRefreshTokenRequest, "scopes" | "refreshToken" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri">> & {
|
|
11
12
|
scopes: Array<string>;
|
|
12
13
|
refreshToken: string;
|
|
13
14
|
};
|
|
15
|
+
//# sourceMappingURL=RefreshTokenRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefreshTokenRequest.d.ts","sourceRoot":"","sources":["../src/request/RefreshTokenRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D;;;;;;;;GAQG;AACH,oBAAY,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,QAAQ,GAAC,cAAc,GAAC,sBAAsB,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACtK,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountInfo,
|
|
1
|
+
import { AccountInfo, CommonSilentFlowRequest } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* SilentFlow parameters passed by the user to retrieve credentials silently
|
|
4
4
|
* - scopes - Array of scopes the application is requesting access to.
|
|
@@ -7,8 +7,10 @@ import { AccountInfo, SilentFlowRequest as CommonSilentFlowRequest } from "@azur
|
|
|
7
7
|
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
8
8
|
* - account - Account entity to lookup the credentials.
|
|
9
9
|
* - forceRefresh - Forces silent requests to make network calls if true.
|
|
10
|
+
* @public
|
|
10
11
|
*/
|
|
11
12
|
export declare type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "resourceRequestMethod" | "resourceRequestUri">> & {
|
|
12
13
|
account: AccountInfo;
|
|
13
14
|
scopes: Array<string>;
|
|
14
15
|
};
|
|
16
|
+
//# sourceMappingURL=SilentFlowRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SilentFlowRequest.d.ts","sourceRoot":"","sources":["../src/request/SilentFlowRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE1E;;;;;;;;;GASG;AACH,oBAAY,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,SAAS,GAAC,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,CAAC,CAAC,GAAG;IACtI,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonUsernamePasswordRequest } from "@azure/msal-common";
|
|
2
2
|
/**
|
|
3
3
|
* UsernamePassword parameters passed by the user to retrieve credentials
|
|
4
4
|
* Note: The latest OAuth 2.0 Security Best Current Practice disallows the password grant entirely. This flow is added for internal testing.
|
|
@@ -9,9 +9,11 @@ import { UsernamePasswordRequest as CommonUsernamePasswordRequest } from "@azure
|
|
|
9
9
|
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
10
10
|
* - username - username of the client
|
|
11
11
|
* - password - credentials
|
|
12
|
+
* @public
|
|
12
13
|
*/
|
|
13
14
|
export declare type UsernamePasswordRequest = Partial<Omit<CommonUsernamePasswordRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "username" | "password">> & {
|
|
14
15
|
scopes: Array<string>;
|
|
15
16
|
username: string;
|
|
16
17
|
password: string;
|
|
17
18
|
};
|
|
19
|
+
//# sourceMappingURL=UsernamePasswordRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsernamePasswordRequest.d.ts","sourceRoot":"","sources":["../src/request/UsernamePasswordRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;GAWG;AACH,oBAAY,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAC,uBAAuB,GAAC,oBAAoB,GAAC,UAAU,GAAC,UAAU,CAAC,CAAC,GAAG;IAC9J,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../src/utils/Constants.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,UAAU;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,IAAI;;CAEhB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO;;CAGnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK;;;CAGjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF;;;;;;GAMG;AACH,oBAAY,KAAK;IACb,kBAAkB,KAAK;IACvB,8BAA8B,MAAM;IACpC,wBAAwB,MAAM;IAC9B,8BAA8B,MAAM;IACpC,kBAAkB,MAAM;IACxB,0BAA0B,MAAM;CACnC;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EncodingUtils.d.ts","sourceRoot":"","sources":["../src/utils/EncodingUtils.ts"],"names":[],"mappings":";AAKA,qBAAa,aAAa;IACtB;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAInE;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAOtE;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAI9C;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAOpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkUtils.d.ts","sourceRoot":"","sources":["../src/utils/NetworkUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,YAAY;IACrB;;OAEG;IACH,MAAM,CAAC,gBAAgB,IAAI,cAAc;CAG5C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/msal-node",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Microsoft",
|
|
6
6
|
"email": "nugetaad@microsoft.com",
|
|
@@ -26,12 +26,9 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
|
-
"start": "tsdx watch",
|
|
30
|
-
"build": "tsdx build",
|
|
29
|
+
"start": "tsdx watch --tsconfig ./tsconfig.build.json",
|
|
30
|
+
"build": "tsdx build --tsconfig ./tsconfig.build.json",
|
|
31
31
|
"build:modules:watch": "tsdx watch --verbose",
|
|
32
|
-
"doc": "npm run doc:generate && npm run doc:deploy",
|
|
33
|
-
"doc:generate": "typedoc --mode modules --excludePrivate --excludeProtected --excludeNotExported --out ./ref ./src/ --gitRevision dev",
|
|
34
|
-
"doc:deploy": "gh-pages -d ref -a -e ref/msal-node",
|
|
35
32
|
"test": "tsdx test .*.spec.*",
|
|
36
33
|
"test:watch": "tsdx test .*.spec.* --watch",
|
|
37
34
|
"test:coverage": "tsdx test .*.spec.* --coverage",
|
|
@@ -62,16 +59,15 @@
|
|
|
62
59
|
"@types/jsonwebtoken": "^8.5.0",
|
|
63
60
|
"@types/node": "^13.13.4",
|
|
64
61
|
"@types/uuid": "^7.0.0",
|
|
65
|
-
"gh-pages": "^3.1.0",
|
|
66
62
|
"husky": "^4.2.3",
|
|
67
|
-
"tsdx": "^0.14.
|
|
63
|
+
"tsdx": "^0.14.1",
|
|
68
64
|
"tslib": "^1.10.0",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
65
|
+
"typescript": "^3.8.3",
|
|
66
|
+
"@microsoft/api-extractor": "^7.13.0"
|
|
71
67
|
},
|
|
72
68
|
"dependencies": {
|
|
73
|
-
"@azure/msal-common": "^
|
|
74
|
-
"axios": "^0.
|
|
69
|
+
"@azure/msal-common": "^4.0.0",
|
|
70
|
+
"axios": "^0.21.1",
|
|
75
71
|
"jsonwebtoken": "^8.5.1",
|
|
76
72
|
"uuid": "^8.3.0"
|
|
77
73
|
}
|