Skip to content

Commit 14ca824

Browse files
authored
Update authn-and-authz.md
Moved include to moniker range 10
1 parent d7a6d21 commit 14ca824

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

aspnetcore/signalr/authn-and-authz.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ uid: signalr/authn-and-authz
1515

1616
## Authenticate users connecting to a SignalR hub
1717

18+
:::moniker range=">= aspnetcore-10.0"
1819
[!INCLUDE[](~/includes/api-endpoint-auth.md)]
20+
:::moniker-end
1921

2022
SignalR can be used with [ASP.NET Core authentication](xref:security/authentication/identity) to associate a user with each connection. In a hub, authentication data can be accessed from the <xref:Microsoft.AspNetCore.SignalR.HubConnectionContext.User?displayProperty=nameWithType> property. Authentication allows the hub to call methods on all connections associated with a user. For more information, see [Manage users and groups in SignalR](xref:signalr/groups). Multiple connections may be associated with a single user.
2123

0 commit comments

Comments
 (0)