1 instantiation of AuthenticationRefreshContext
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
350var 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)
157public Func<AuthenticationRefreshContext, Task<bool>>? OnAuthenticationRefresh { get; set; }
Internal\HttpConnectionContext.cs (13)
63private Func<AuthenticationRefreshContext, Task<bool>> _onAuthenticationRefresh = DefaultOnAuthenticationRefreshAsync; 264public Func<AuthenticationRefreshContext, Task<bool>> OnAuthenticationRefresh 284public IDisposable OnAuthenticationRefreshed(Action<AuthenticationRefreshContext, object?> callback, object? state) 328Func<AuthenticationRefreshContext, Task<bool>>? additionalAuthenticationRefresh = null, 333Func<AuthenticationRefreshContext, Task<bool>> callback; 350var refreshContext = new AuthenticationRefreshContext 453Func<AuthenticationRefreshContext, Task<bool>> callback, 467Func<AuthenticationRefreshContext, Task<bool>> callback) 472private async Task<bool> InvokeOnAuthenticationRefreshAsync(Func<AuthenticationRefreshContext, Task<bool>> callback, AuthenticationRefreshContext context) 493private static Task<bool> DefaultOnAuthenticationRefreshAsync(AuthenticationRefreshContext context) 1131Action<AuthenticationRefreshContext, object?> callback, 1136public void Invoke(AuthenticationRefreshContext context)
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionHandler.cs (3)
153Func<AuthenticationRefreshContext, Task<bool>>? previousOnAuthenticationRefresh = null; 154Func<AuthenticationRefreshContext, Task<bool>>? authenticationRefreshCallback = null; 197private Task<bool> OnAuthenticationRefreshAsync(HubConnectionContext connection, AuthenticationRefreshContext context)