1 instantiation of AuthenticationRefreshContext
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
361var refreshContext = new AuthenticationRefreshContext
20 references to AuthenticationRefreshContext
Microsoft.AspNetCore.Http.Abstractions (3)
Features\IConnectionAuthenticationRefreshFeature.cs (3)
20Func<AuthenticationRefreshContext, Task<bool>> OnAuthenticationRefresh { get; set; } 32/// so callbacks must not access <see cref="AuthenticationRefreshContext.PreviousUser"/> after returning. 34IDisposable OnAuthenticationRefreshed(Action<AuthenticationRefreshContext, object?> callback, object? state);
Microsoft.AspNetCore.Http.Connections (14)
HttpConnectionDispatcherOptions.cs (1)
160public Func<AuthenticationRefreshContext, Task<bool>>? OnAuthenticationRefresh { get; set; }
Internal\HttpConnectionContext.cs (13)
70private Func<AuthenticationRefreshContext, Task<bool>> _onAuthenticationRefresh = DefaultOnAuthenticationRefreshAsync; 275public Func<AuthenticationRefreshContext, Task<bool>> OnAuthenticationRefresh 295public IDisposable OnAuthenticationRefreshed(Action<AuthenticationRefreshContext, object?> callback, object? state) 339Func<AuthenticationRefreshContext, Task<bool>>? additionalAuthenticationRefresh = null, 344Func<AuthenticationRefreshContext, Task<bool>> callback; 361var refreshContext = new AuthenticationRefreshContext 464Func<AuthenticationRefreshContext, Task<bool>> callback, 478Func<AuthenticationRefreshContext, Task<bool>> callback) 483private async Task<bool> InvokeOnAuthenticationRefreshAsync(Func<AuthenticationRefreshContext, Task<bool>> callback, AuthenticationRefreshContext context) 619private static Task<bool> DefaultOnAuthenticationRefreshAsync(AuthenticationRefreshContext context) 1229Action<AuthenticationRefreshContext, object?> callback, 1234public void Invoke(AuthenticationRefreshContext context)
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionHandler.cs (3)
153Func<AuthenticationRefreshContext, Task<bool>>? previousOnAuthenticationRefresh = null; 154Func<AuthenticationRefreshContext, Task<bool>>? authenticationRefreshCallback = null; 200private Task<bool> OnAuthenticationRefreshAsync(HubConnectionContext connection, AuthenticationRefreshContext context)