5 writes to CloseOnAuthenticationExpiration
Microsoft.AspNetCore.Http.Connections.Tests (5)
HttpConnectionDispatcherTests.cs (4)
3146
var options = new HttpConnectionDispatcherOptions() {
CloseOnAuthenticationExpiration
= true };
3233
endpoints.MapConnectionHandler<AuthConnectionHandler>("/foo", o => o.
CloseOnAuthenticationExpiration
= true);
3300
endpoints.MapConnectionHandler<AuthConnectionHandler>("/foo", o => o.
CloseOnAuthenticationExpiration
= true);
3395
endpoints.MapConnectionHandler<JwtConnectionHandler>("/foo", o => o.
CloseOnAuthenticationExpiration
= true);
MapConnectionHandlerTests.cs (1)
325
options.
CloseOnAuthenticationExpiration
= true;
3 references to CloseOnAuthenticationExpiration
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
135
internal bool IsAuthenticationExpirationEnabled => _options.
CloseOnAuthenticationExpiration
;
Microsoft.AspNetCore.Http.Connections.Tests (2)
HttpConnectionManagerTests.cs (1)
31
Assert.False(options.
CloseOnAuthenticationExpiration
);
MapConnectionHandlerTests.cs (1)
345
Assert.True(optionsMetaData.
CloseOnAuthenticationExpiration
);