DefaultUserIdProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The default provider for getting the user ID from a connection. This provider gets the user ID from the connection's User name identifier claim.
public ref class DefaultUserIdProvider : Microsoft::AspNetCore::SignalR::IUserIdProvider
public class DefaultUserIdProvider : Microsoft.AspNetCore.SignalR.IUserIdProvider
type DefaultUserIdProvider = class
interface IUserIdProvider
Public Class DefaultUserIdProvider
Implements IUserIdProvider
- Inheritance
-
DefaultUserIdProvider
- Implements
Constructors
DefaultUserIdProvider() |
Methods
GetUserId(HubConnectionContext) |
Gets the user ID for the specified connection. |