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: docs/ImplicitMSALAuthenticationProvider.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Refer devDependencies in [package.json](../package.json) for the compatible msal version and update that version in below.
4
4
5
-
**Important Note:** MSAL is supported only for frontend applications, for server-side authentication you have to implement your own AuthenticationProvider. Learn how you can create a [Custom Authentication Provider](./docs/CustomAuthenticationProvider.md).
5
+
**Important Note:** MSAL is supported only for frontend applications, for server-side authentication you have to can use [TokenCredentialAuthenticationProvider](./TokenCredentialAuthenticationProvider.md) or implement your own AuthenticationProvider. Learn how you can create a [Custom Authentication Provider](./docs/CustomAuthenticationProvider.md).
Copy file name to clipboardExpand all lines: docs/TokenCredentialAuthenticationProvider.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,16 @@
6
6
7
7
-[npm - Azure Identity client library for JavaScript](https://www.npmjs.com/package/@azure/identity)
8
8
9
-
- Check the [tokenCredentialSamples folder][../samples/tokencredentialsamples].
9
+
- Check the [tokenCredentialSamples folder][../samples/tokencredentialsamples]. The ClientSecretCredentialFlow is an example of using TokenCredential to authenticate a node application. The AuthenticationCodeFlow is an example of using TokenCredential to authenticate a browser application.
10
+
11
+
**Important Note:** TokenCredentials can be used to authentication browser and node applications.
10
12
11
13
###### Example of how to create and pass a token credential sample -
12
14
13
15
```typescript
14
16
// Import the TokenCredential class that you wish to use. This examples uses a Client SecretCredential
0 commit comments