@azure/msal-common
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -5,2 +5,25 @@ { | ||
{ | ||
"date": "Tue, 20 Oct 2020 23:47:28 GMT", | ||
"tag": "@azure/msal-common_v1.6.2", | ||
"version": "1.6.2", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Adds support for any OIDC-compliant authority (#2389).", | ||
"author": "jamckenn@microsoft.com", | ||
"commit": "2b6b9ec9033a8b829393e44c3feb7b19b163d2cd", | ||
"package": "@azure/msal-common" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"comment": "Updated eslint rules (#2345)", | ||
"author": "janutter@microsoft.com", | ||
"commit": "64a4f9e868e63346dfd711dec717abe7fd14d949", | ||
"package": "@azure/msal-common" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 15 Oct 2020 00:49:18 GMT", | ||
@@ -7,0 +30,0 @@ "tag": "@azure/msal-common_v1.6.1", |
# Change Log - @azure/msal-common | ||
This log was last generated on Thu, 15 Oct 2020 00:49:18 GMT and should not be manually modified. | ||
This log was last generated on Tue, 20 Oct 2020 23:47:28 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 1.6.2 | ||
Tue, 20 Oct 2020 23:47:28 GMT | ||
### Patches | ||
- Adds support for any OIDC-compliant authority (#2389). (jamckenn@microsoft.com) | ||
## 1.6.1 | ||
@@ -8,0 +16,0 @@ |
import { AuthorityType } from "./AuthorityType"; | ||
import { IUri } from "./../url/IUri"; | ||
import { INetworkModule } from "./../network/INetworkModule"; | ||
import { IUri } from "../url/IUri"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { ProtocolMode } from "./ProtocolMode"; | ||
/** | ||
@@ -13,4 +14,10 @@ * The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the | ||
protected networkInterface: INetworkModule; | ||
private authorityProtocolMode; | ||
constructor(authority: string, networkInterface: INetworkModule, protocolMode: ProtocolMode); | ||
get authorityType(): AuthorityType; | ||
/** | ||
* ProtocolMode enum representing the way endpoints are constructed. | ||
*/ | ||
get protocolMode(): ProtocolMode; | ||
/** | ||
* A URL that is the authority set by the developer | ||
@@ -57,3 +64,2 @@ */ | ||
protected get defaultOpenIdConfigurationEndpoint(): string; | ||
constructor(authority: string, networkInterface: INetworkModule); | ||
/** | ||
@@ -60,0 +66,0 @@ * Boolean that returns whethr or not tenant discovery has been completed. |
import { Authority } from "./Authority"; | ||
import { INetworkModule } from "./../network/INetworkModule"; | ||
import { INetworkModule } from "../network/INetworkModule"; | ||
import { ProtocolMode } from "./ProtocolMode"; | ||
export declare class AuthorityFactory { | ||
@@ -12,4 +13,5 @@ /** | ||
* @param networkClient | ||
* @param protocolMode | ||
*/ | ||
static createDiscoveredInstance(authorityUri: string, networkClient: INetworkModule): Promise<Authority>; | ||
static createDiscoveredInstance(authorityUri: string, networkClient: INetworkModule, protocolMode: ProtocolMode): Promise<Authority>; | ||
/** | ||
@@ -23,4 +25,5 @@ * Create an authority object of the correct type based on the url | ||
* @param networkInterface | ||
* @param protocolMode | ||
*/ | ||
static createInstance(authorityUrl: string, networkInterface: INetworkModule): Authority; | ||
static createInstance(authorityUrl: string, networkInterface: INetworkModule, protocolMode: ProtocolMode): Authority; | ||
} |
@@ -61,3 +61,3 @@ import { Authority } from "../../authority/Authority"; | ||
/** | ||
* Build Account cache from IdToken, clientInfo and authority/policy | ||
* Build Account cache from IdToken, clientInfo and authority/policy. Associated with AAD. | ||
* @param clientInfo | ||
@@ -70,7 +70,7 @@ * @param authority | ||
/** | ||
* Build ADFS account type | ||
* Builds non-AAD/ADFS account. | ||
* @param authority | ||
* @param idToken | ||
*/ | ||
static createADFSAccount(authority: Authority, idToken: AuthToken, oboAssertion?: string): AccountEntity; | ||
static createGenericAccount(authority: Authority, idToken: AuthToken, oboAssertion?: string): AccountEntity; | ||
/** | ||
@@ -77,0 +77,0 @@ * Validates an entity: checks for all expected params |
@@ -7,2 +7,3 @@ import { INetworkModule } from "../network/INetworkModule"; | ||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; | ||
import { ProtocolMode } from "../authority/ProtocolMode"; | ||
import { ICachePlugin } from "../cache/interface/ICachePlugin"; | ||
@@ -44,2 +45,3 @@ import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache"; | ||
* - clientCapabilities - Array of capabilities which will be added to the claims.access_token.xms_cc request property on every network request. | ||
* - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints. | ||
*/ | ||
@@ -52,2 +54,3 @@ export declare type AuthOptions = { | ||
clientCapabilities?: Array<string>; | ||
protocolMode?: ProtocolMode; | ||
}; | ||
@@ -54,0 +57,0 @@ /** |
@@ -19,2 +19,3 @@ export { AuthorizationCodeClient } from "./client/AuthorizationCodeClient"; | ||
export { AuthorityType } from "./authority/AuthorityType"; | ||
export { ProtocolMode } from "./authority/ProtocolMode"; | ||
export { CacheManager } from "./cache/CacheManager"; | ||
@@ -21,0 +22,0 @@ export { AccountCache, AccessTokenCache, IdTokenCache, RefreshTokenCache, AppMetadataCache, ValidCacheType } from "./cache/utils/CacheTypes"; |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -16,0 +16,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ # Microsoft Authentication Library for JavaScript (MSAL.js) Common Protocols Package |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1650513
83
18626
121
0
1
0