You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/msal-node/src/client/ClientApplication.ts
+10-22
Original file line number
Diff line number
Diff line change
@@ -24,32 +24,20 @@ import { Constants as NodeConstants } from "./../utils/Constants";
24
24
25
25
exportabstractclassClientApplication{
26
26
27
-
protectedconfig: Configuration;
28
-
protected_authority: Authority;
27
+
privateconfig: Configuration;
28
+
private_authority: Authority;
29
+
privatereadonlycryptoProvider: CryptoProvider;
30
+
privatereadonlystorage: Storage;
29
31
30
32
/**
31
33
* @constructor
32
-
* Constructor for the ClientApplication to instantiate the PublicClientApplication object
33
-
*
34
-
* Important attributes in the Configuration object for auth are:
35
-
* - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal
36
-
* - authority: the authority URL for your application.
37
-
* - redirect_uri: the uri of your application registered in the portal.
38
-
*
39
-
* In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
40
-
* It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
41
-
* If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
42
-
* If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
43
-
* If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
44
-
* To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
45
-
*
46
-
* In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/ls
47
-
*
48
-
* @param {@link (Configuration:type)} configuration object for the MSAL PublicClientApplication instance
* Required attributes in the Configuration object are:
20
-
* - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal
19
+
* Important attributes in the Configuration object for auth are:
20
+
* - clientID: the application ID of your application. ou can obtain one by registering your application with our Application registration portal
21
21
* - authority: the authority URL for your application.
22
22
*
23
-
* In Azure AD, authority is a URL indicating of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}.
23
+
* AAD authorities are of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
24
24
* If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
25
25
* If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
26
26
* If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
27
27
* To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
28
28
*
29
-
* In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
30
-
* Full B2C functionality will be available in this library in future versions.
29
+
* Azure B2C authorities are of the form https://{instance}/{tenant}/{policy}. Each policy is considered
30
+
* it's own authority. You will have to set the all of the knownAuthorities at the time of the client application
31
+
* construction
32
+
*
33
+
* ADFS authorities are of the form https://{instance}/adfs
31
34
*
32
35
* @param {@link (Configuration:type)} configuration object for the MSAL PublicClientApplication instance
0 commit comments