Skip to content

Commit 78b9b85

Browse files
authored
Update authn-and-authz.md
fixed moniker range authn-and-authz.md
1 parent 70f099f commit 78b9b85

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

aspnetcore/signalr/authn-and-authz.md

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

1616
## Authenticate users connecting to a SignalR hub
1717

18+
:::moniker-end
19+
:::moniker range=">= aspnetcore-10.0"
1820
:::moniker range=">= aspnetcore-10.0"
1921
[!INCLUDE[](~/includes/api-endpoint-auth.md)]
2022
:::moniker-end
23+
:::moniker range=">= aspnetcore-6.0"
2124

2225
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.
2326

0 commit comments

Comments
 (0)