6 writes to OnAuthenticate
Http3SampleApp (1)
Program.cs (1)
75
httpsOptions.
OnAuthenticate
= (_, sslOptions) => sslOptions.ServerCertificate = cert;
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (1)
828
OnAuthenticate
= (con, so) =>
HttpsTests.cs (2)
726
httpsOptions.
OnAuthenticate
= (connectionContext, authOptions) =>
762
httpsOptions.
OnAuthenticate
= (connectionContext, authOptions) =>
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
274
httpsOptions.
OnAuthenticate
= (_, _) => { };
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
429
OnAuthenticate
= (context, sslOptions) =>
4 references to OnAuthenticate
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\SniOptionsSelector.cs (1)
44
_onAuthenticateCallback = fallbackHttpsOptions.
OnAuthenticate
;
Middleware\HttpsConnectionMiddleware.cs (3)
349
_options.
OnAuthenticate
?.Invoke(context, sslOptions);
536
if (httpsOptions.
OnAuthenticate
!= null)
538
throw new NotSupportedException($"The {nameof(HttpsConnectionAdapterOptions.
OnAuthenticate
)} callback is not supported with HTTP/3.");