5 writes to Backchannel
Aspire.Keycloak.Authentication (1)
AspireKeycloakExtensions.cs (1)
168options.Backchannel = httpClientFactory.CreateClient(KeycloakBackchannel);
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthPostConfigureOptions.cs (1)
38options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectPostConfigureOptions.cs (1)
70options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterPostConfigureOptions.cs (1)
48options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
65options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
26 references to Backchannel
Microsoft.AspNetCore.Authentication.OAuth (5)
OAuthHandler.cs (1)
28protected HttpClient Backchannel => Options.Backchannel;
OAuthPostConfigureOptions.cs (4)
36if (options.Backchannel == null) 39options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core OAuth handler"); 40options.Backchannel.Timeout = options.BackchannelTimeout; 41options.Backchannel.MaxResponseContentBufferSize = 1024 * 1024 * 10; // 10 MB
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectHandler.cs (1)
40protected HttpClient Backchannel => Options.Backchannel;
OpenIdConnectPostConfigureOptions.cs (5)
68if (options.Backchannel == null) 71options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core OpenIdConnect handler"); 72options.Backchannel.Timeout = options.BackchannelTimeout; 73options.Backchannel.MaxResponseContentBufferSize = 1024 * 1024 * 10; // 10 MB 101new HttpDocumentRetriever(options.Backchannel) { RequireHttps = options.RequireHttpsMetadata })
Microsoft.AspNetCore.Authentication.Twitter (7)
TwitterHandler.cs (1)
25private HttpClient Backchannel => Options.Backchannel;
TwitterPostConfigureOptions.cs (6)
46if (options.Backchannel == null) 49options.Backchannel.Timeout = options.BackchannelTimeout; 50options.Backchannel.MaxResponseContentBufferSize = 1024 * 1024 * 10; // 10 MB 51options.Backchannel.DefaultRequestHeaders.Accept.ParseAdd("*/*"); 52options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core Twitter handler"); 53options.Backchannel.DefaultRequestHeaders.ExpectContinue = false;
Microsoft.AspNetCore.Authentication.WsFederation (5)
WsFederationPostConfigureOptions.cs (5)
63if (options.Backchannel == null) 66options.Backchannel.DefaultRequestHeaders.UserAgent.ParseAdd("Microsoft ASP.NET Core WsFederation handler"); 67options.Backchannel.Timeout = options.BackchannelTimeout; 68options.Backchannel.MaxResponseContentBufferSize = 1024 * 1024 * 10; // 10 MB 85new HttpDocumentRetriever(options.Backchannel) { RequireHttps = options.RequireHttpsMetadata });
OpenIdConnectSample (1)
Startup.cs (1)
261var tokenResponse = await options.Backchannel.PostAsync(metadata.TokenEndpoint, content, context.RequestAborted);
SocialSample (2)
Startup.cs (2)
330var refreshResponse = await options.Backchannel.PostAsync(options.TokenEndpoint, content, context.RequestAborted); 369var refreshResponse = await options.Backchannel.GetStringAsync(options.TokenEndpoint + query);