1 instantiation of AuthenticationRefreshContext
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
348var 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; 262public Func<AuthenticationRefreshContext, Task<bool>> OnAuthenticationRefresh 282public IDisposable OnAuthenticationRefreshed(Action<AuthenticationRefreshContext, object?> callback, object? state) 326Func<AuthenticationRefreshContext, Task<bool>>? additionalAuthenticationRefresh = null, 331Func<AuthenticationRefreshContext, Task<bool>> callback; 348var refreshContext = new AuthenticationRefreshContext 451Func<AuthenticationRefreshContext, Task<bool>> callback, 465Func<AuthenticationRefreshContext, Task<bool>> callback) 470private async Task<bool> InvokeOnAuthenticationRefreshAsync(Func<AuthenticationRefreshContext, Task<bool>> callback, AuthenticationRefreshContext context) 491private static Task<bool> DefaultOnAuthenticationRefreshAsync(AuthenticationRefreshContext context) 1129Action<AuthenticationRefreshContext, object?> callback, 1134public 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)