Language

HubConnection.AuthenticationRefreshed Event

Definition

Occurs after the HubConnection successfully refreshes its authentication, either automatically or via an explicit call to RefreshAuthenticationAsync(CancellationToken).

public event Func<Microsoft.AspNetCore.SignalR.Client.AuthenticationRefreshedContext,System.Threading.Tasks.Task>? AuthenticationRefreshed;
member this.AuthenticationRefreshed : Func<Microsoft.AspNetCore.SignalR.Client.AuthenticationRefreshedContext, System.Threading.Tasks.Task> 
Public Event AuthenticationRefreshed As Func(Of AuthenticationRefreshedContext, Task) 

Event Type

Remarks

The authentication refresh operation waits for each handler's returned Task to complete.

Applies to