Skip to content

Commit d17d64f

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into Includes
2 parents 3a78f6a + 74823d4 commit d17d64f

File tree

80 files changed

+1777
-1848
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1777
-1848
lines changed

articles/active-directory/develop/msal-client-application-configuration.md

Lines changed: 54 additions & 55 deletions
Large diffs are not rendered by default.

articles/active-directory/develop/msal-client-applications.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,37 @@ ms.date: 04/25/2019
1717
ms.author: ryanwi
1818
ms.reviewer: saeeda
1919
ms.custom: aaddev
20-
#Customer intent: As an application developer, I want to learn about the types of client application so I can decide if this platform meets my application development needs and requirements.
20+
#Customer intent: As an application developer, I want to learn about the types of client apps so I can decide if this platform meets my app development requirements.
2121
ms.collection: M365-identity-device-management
2222
---
2323

2424
# Public client and confidential client applications
25-
Microsoft Authentication Library (MSAL) defines two types of clients: public clients and confidential clients. The two client types are distinguished by their ability to authenticate securely with the authorization server and maintain the confidentiality of their client credentials. In contrast, Azure AD Authentication Library (ADAL) has the concept of authentication context (which is a connection to Azure AD).
25+
Microsoft Authentication Library (MSAL) defines two types of clients: public clients and confidential clients. The two client types are distinguished by their ability to authenticate securely with the authorization server and maintain the confidentiality of their client credentials. In contrast, Azure AD Authentication Library (ADAL) uses what's called *authentication context* (which is a connection to Azure AD).
2626

27-
- **Confidential client applications** are applications, which run on servers (Web Apps, Web API, or even service/daemon applications). They are considered difficult to access, and therefore capable of keeping an application secret. Confidential clients are able to hold configuration time secrets. Each instance of the client has a distinct configuration (including clientId and secret). These values are difficult for end users to extract. A web app is the most common confidential client. The client ID is exposed through the web browser, but the secret is passed only in the back channel and never directly exposed.
27+
- **Confidential client applications** are apps that run on servers (web apps, Web API apps, or even service/daemon apps). They're considered difficult to access, and for that reason capable of keeping an application secret. Confidential clients can hold configuration-time secrets. Each instance of the client has a distinct configuration (including client ID and client secret). These values are difficult for end users to extract. A web app is the most common confidential client. The client ID is exposed through the web browser, but the secret is passed only in the back channel and never directly exposed.
2828

2929
Confidential client apps: <BR>
3030
![Web app](media/msal-client-applications/web-app.png) ![Web API](media/msal-client-applications/web-api.png) ![Daemon/service](media/msal-client-applications/daemon-service.png)
3131

32-
- **Public client applications** are applications, which run on devices or desktop machines or in a web browser. They are not trusted to safely keep application secrets, and therefore only access Web APIs on behalf of the user (they only support public client flows). Public clients are unable to hold configuration time secrets, and as a result have no client secret.
32+
- **Public client applications** are apps that run on devices or desktop computers or in a web browser. They're not trusted to safely keep application secrets, so they only access Web APIs on behalf of the user. (They support only public client flows.) Public clients can't hold configuration-time secrets, so they don't have client secrets.
3333

34-
Public client applications: <BR>
34+
Public client apps: <BR>
3535
![Desktop app](media/msal-client-applications/desktop-app.png) ![Browserless API](media/msal-client-applications/browserless-app.png) ![Mobile app](media/msal-client-applications/mobile-app.png)
3636

3737
> [!NOTE]
38-
> In MSAL.js, there is no separation of public and confidential client apps. MSAL.js represents client apps as user-agent-based apps, a public client in which the client code is executed in a user-agent such as a web browser. These clients do not store secrets, since the browser context is openly accessible.
38+
> In MSAL.js, there is no separation of public and confidential client apps. MSAL.js represents client apps as user agent-based apps, public clients in which the client code is executed in a user agent like a web browser. These clients don't store secrets because the browser context is openly accessible.
3939
4040
## Comparing the client types
41-
There are some commonalities and differences between public client and confidential client applications:
41+
Here are some similarities and differences between public client and confidential client apps:
4242

43-
- Both kinds of applications maintain a user token cache and can acquire a token silently (in cases where the token is already in the token cache). Confidential client applications also have an app token cache for tokens, which are for the app itself.
44-
- Both manage user accounts and can get the accounts from the user token cache, get an account from its identifier, or remove an account.
45-
- Public client applications have four ways of acquiring a token (four authentication flows), whereas confidential client applications have three (and one method to compute the URL of the identity provider authorize endpoint). For more information, see Scenarios and Acquiring tokens.
43+
- Both kinds of app maintain a user token cache and can acquire a token silently (when the token is already in the token cache). Confidential client apps also have an app token cache for tokens that are for the app itself.
44+
- Both types of app manage user accounts and can get an account from the user token cache, get an account from its identifier, or remove an account.
45+
- Public client apps have four ways to acquire a token (four authentication flows). Confidential client apps have three ways to acquire a token (and one way to compute the URL of the identity provider authorize endpoint). For more information, see [Acquiring tokens](msal-acquire-cache-tokens.md).
4646

47-
If you used ADAL in the past, you might notice that, contrary to ADAL's authentication context, in MSAL the client ID (also named application ID or app ID) is passed once at the construction of the application, and no longer needs to be repeated when acquiring a token. This is the case both for public and confidential client applications. Constructors of confidential client applications are also passed client credentials: the secret they share with the identity provider.
47+
If you've used ADAL, you might notice that, unlike ADAL's authentication context, in MSAL the client ID (also called the *application ID* or *app ID*) is passed once at the construction of the application. It doesn't need to be passed again when the app acquires a token. This is true for both for public and confidential client apps. Constructors of confidential client apps are also passed client credentials: the secret they share with the identity provider.
4848

4949
## Next steps
5050
Learn about:
5151
- [Client application configuration options](msal-client-application-configuration.md)
52-
- [Instantiating client applications using MSAL.NET](msal-net-initializing-client-applications.md).
53-
- [Instantiating client applications using MSAL.js](msal-js-initializing-client-applications.md).
52+
- [Instantiating client applications by using MSAL.NET](msal-net-initializing-client-applications.md)
53+
- [Instantiating client applications by using MSAL.js](msal-js-initializing-client-applications.md)

articles/active-directory/devices/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
href: azureadjoin-plan.md
3838
- name: Plan your hybrid Azure AD join implementation
3939
href: hybrid-azuread-join-plan.md
40-
- name: Control the hybrid Azure AD join of your devices
40+
- name: Controlled validation of hybrid Azure AD join
4141
href: hybrid-azuread-join-control.md
4242
- name: Assign local admins to Azure AD joined devices
4343
href: assign-local-admin.md

0 commit comments

Comments
 (0)