Language

HubConnection.AuthenticationRefreshFailed Event

Definition

Occurs when an authentication refresh attempt fails, either automatically or via an explicit call to RefreshAuthenticationAsync(CancellationToken).

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

Event Type

Remarks

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

Applies to