4 references to User
Microsoft.AspNetCore.SignalR.Core (4)
DefaultUserIdProvider.cs (2)
10
/// This provider gets the user ID from the connection's <see cref="HubConnectionContext.
User
"/> name identifier claim.
17
return connection.
User
.FindFirst(ClaimTypes.NameIdentifier)?.Value;
Internal\DefaultHubCallerContext.cs (1)
28
public override ClaimsPrincipal? User => _connection.
User
;
Internal\DefaultHubDispatcher.cs (1)
673
return IsHubMethodAuthorizedSlow(provider, hubConnectionContext.
User
, descriptor.Policies, new HubInvocationContext(hubConnectionContext.HubCallerContext, provider, hub, descriptor.MethodExecutor.MethodInfo, hubMethodArguments));