Share via


IUserIdProvider Interface

Definition

A provider abstraction for configuring the "User ID" for a connection.

public interface class IUserIdProvider
public interface IUserIdProvider
type IUserIdProvider = interface
Public Interface IUserIdProvider
Derived

Remarks

IUserIdProvider is used by User(String) to invoke connections associated with a user.

Methods

GetUserId(HubConnectionContext)

Gets the user ID for the specified connection.

Applies to