9 writes to ClientSecret
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectConfigureOptions.cs (1)
50options.ClientSecret = configSection[nameof(options.ClientSecret)] ?? options.ClientSecret;
Microsoft.AspNetCore.Authentication.Test (7)
OpenIdConnect\OpenIdConnectChallengeTests.cs (4)
705opt.ClientSecret = "secret"; 743opt.ClientSecret = "secret"; 767opt.ClientSecret = "secret"; 862opt.ClientSecret = "secret";
OpenIdConnect\OpenIdConnectConfigurationTests.cs (2)
24o.ClientSecret = "Test Secret"; 478o.ClientSecret = "Test Secret";
OpenIdConnect\OpenIdConnectTests.cs (1)
557o.ClientSecret = "overwritten-client-secret";
OpenIdConnectSample (1)
Startup.cs (1)
108o.ClientSecret = "secret"; // for code flow
7 references to ClientSecret
Microsoft.AspNetCore.Authentication.OpenIdConnect (5)
OpenIdConnectConfigureOptions.cs (2)
50options.ClientSecret = configSection[nameof(options.ClientSecret)] ?? options.ClientSecret;
OpenIdConnectHandler.cs (3)
568if (!string.IsNullOrEmpty(Options.ClientSecret)) 570parRequest.Parameters.Add(OpenIdConnectParameterNames.ClientSecret, Options.ClientSecret); 1265ClientSecret = Options.ClientSecret,
Microsoft.AspNetCore.Authentication.Test (1)
OpenIdConnect\OpenIdConnectTests.cs (1)
563Assert.Equal("overwritten-client-secret", options.ClientSecret);
OpenIdConnectSample (1)
Startup.cs (1)
256{ "client_secret", options.ClientSecret },