@azure/msal-common
Advanced tools
Comparing version 4.0.3 to 4.1.0
@@ -5,2 +5,31 @@ { | ||
{ | ||
"date": "Wed, 24 Mar 2021 22:55:46 GMT", | ||
"tag": "@azure/msal-common_v4.1.0", | ||
"version": "4.1.0", | ||
"comments": { | ||
"minor": [ | ||
{ | ||
"comment": "Add client claims support for SHRs (#3089)", | ||
"author": "hemoral@microsoft.com", | ||
"commit": "44bc5edc3104400bef0e876c68ea529ce543e398", | ||
"package": "@azure/msal-common" | ||
} | ||
], | ||
"patch": [ | ||
{ | ||
"comment": "Properly handle expiration timestamps when returned as strings", | ||
"author": "janutter@microsoft.com", | ||
"commit": "d2e0dd1a390b40fbe6225e4e214bb0df2f8b7174", | ||
"package": "@azure/msal-common" | ||
}, | ||
{ | ||
"comment": "Add null as possible type for account on EndSessionRequest #3044", | ||
"author": "thomas.norling@microsoft.com", | ||
"commit": "866a4c8507155134282449d92d8b1cdfc384ab7e", | ||
"package": "@azure/msal-common" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Mon, 15 Mar 2021 23:45:17 GMT", | ||
@@ -7,0 +36,0 @@ "tag": "@azure/msal-common_v4.0.3", |
# Change Log - @azure/msal-common | ||
This log was last generated on Mon, 15 Mar 2021 23:45:17 GMT and should not be manually modified. | ||
This log was last generated on Wed, 24 Mar 2021 22:55:46 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 4.1.0 | ||
Wed, 24 Mar 2021 22:55:46 GMT | ||
### Minor changes | ||
- Add client claims support for SHRs (#3089) (hemoral@microsoft.com) | ||
### Patches | ||
- Properly handle expiration timestamps when returned as strings (janutter@microsoft.com) | ||
- Add null as possible type for account on EndSessionRequest #3044 (thomas.norling@microsoft.com) | ||
## 4.0.3 | ||
@@ -8,0 +21,0 @@ |
@@ -22,3 +22,4 @@ /** | ||
}; | ||
x5c_ca?: string; | ||
}; | ||
//# sourceMappingURL=TokenClaims.d.ts.map |
@@ -6,4 +6,4 @@ import { ICrypto } from "./ICrypto"; | ||
generateCnf(resourceRequestMethod: string, resourceRequestUri: string): Promise<string>; | ||
signPopToken(accessToken: string, resourceRequestMethod: string, resourceRequestUri: string): Promise<string>; | ||
signPopToken(accessToken: string, resourceRequestMethod: string, resourceRequestUri: string, shrClaims?: string): Promise<string>; | ||
} | ||
//# sourceMappingURL=PopTokenGenerator.d.ts.map |
@@ -10,3 +10,4 @@ export declare type SignedHttpRequest = { | ||
nonce?: string; | ||
client_claims?: string; | ||
}; | ||
//# sourceMappingURL=SignedHttpRequest.d.ts.map |
export declare const name = "@azure/msal-common"; | ||
export declare const version = "4.0.3"; | ||
export declare const version = "4.1.0"; | ||
//# sourceMappingURL=packageMetadata.d.ts.map |
@@ -5,2 +5,3 @@ /** | ||
* - claims - A stringified claims request which will be added to all /authorize and /token calls | ||
* - shrClaims - A stringified claims object which will be added to a Signed HTTP Request | ||
* - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens. Defaults to https://login.microsoftonline.com/common. If using the same authority for all request, authority should set on client application object and not request, to avoid resolving authority endpoints multiple times. | ||
@@ -16,2 +17,3 @@ * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes. | ||
claims?: string; | ||
shrClaims?: string; | ||
resourceRequestMethod?: string; | ||
@@ -18,0 +20,0 @@ resourceRequestUri?: string; |
@@ -11,3 +11,3 @@ import { AccountInfo } from "../account/AccountInfo"; | ||
correlationId: string; | ||
account?: AccountInfo; | ||
account?: AccountInfo | null; | ||
postLogoutRedirectUri?: string | null; | ||
@@ -14,0 +14,0 @@ idTokenHint?: string; |
@@ -14,2 +14,3 @@ import { ServerAuthorizationTokenResponse } from "./ServerAuthorizationTokenResponse"; | ||
import { AuthorizationCodePayload } from "./AuthorizationCodePayload"; | ||
import { BaseAuthRequest } from "../request/BaseAuthRequest"; | ||
/** | ||
@@ -44,3 +45,3 @@ * Class that handles response parsing. | ||
*/ | ||
handleServerTokenResponse(serverTokenResponse: ServerAuthorizationTokenResponse, authority: Authority, reqTimestamp: number, resourceRequestMethod?: string, resourceRequestUri?: string, authCodePayload?: AuthorizationCodePayload, requestScopes?: string[], oboAssertion?: string, handlingRefreshTokenResponse?: boolean): Promise<AuthenticationResult>; | ||
handleServerTokenResponse(serverTokenResponse: ServerAuthorizationTokenResponse, authority: Authority, reqTimestamp: number, request: BaseAuthRequest, authCodePayload?: AuthorizationCodePayload, oboAssertion?: string, handlingRefreshTokenResponse?: boolean): Promise<AuthenticationResult>; | ||
/** | ||
@@ -70,4 +71,4 @@ * Generates CacheRecord | ||
*/ | ||
static generateAuthenticationResult(cryptoObj: ICrypto, authority: Authority, cacheRecord: CacheRecord, fromTokenCache: boolean, idTokenObj?: AuthToken, requestState?: RequestStateObject, resourceRequestMethod?: string, resourceRequestUri?: string): Promise<AuthenticationResult>; | ||
static generateAuthenticationResult(cryptoObj: ICrypto, authority: Authority, cacheRecord: CacheRecord, fromTokenCache: boolean, request: BaseAuthRequest, idTokenObj?: AuthToken, requestState?: RequestStateObject): Promise<AuthenticationResult>; | ||
} | ||
//# sourceMappingURL=ResponseHandler.d.ts.map |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -16,0 +16,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2029926
21880