21 writes to Configuration
Microsoft.AspNetCore.Authentication.Test (21)
OpenIdConnect\OpenIdConnectChallengeTests.cs (9)
466
opt.
Configuration
= new OpenIdConnectConfiguration();
710
opt.
Configuration
= new OpenIdConnectConfiguration();
748
opt.
Configuration
= new OpenIdConnectConfiguration();
772
opt.
Configuration
= new OpenIdConnectConfiguration();
794
opt.
Configuration
= new OpenIdConnectConfiguration();
833
opt.
Configuration
= new OpenIdConnectConfiguration();
867
opt.
Configuration
= new OpenIdConnectConfiguration();
901
opt.
Configuration
= new OpenIdConnectConfiguration();
940
opt.
Configuration
= new OpenIdConnectConfiguration();
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1282
o.
Configuration
= new OpenIdConnectConfiguration()
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1282
o.
Configuration
= new OpenIdConnectConfiguration()
OpenIdConnect\OpenIdConnectTests.cs (9)
39
opt.
Configuration
= new OpenIdConnectConfiguration
66
opt.
Configuration
= new OpenIdConnectConfiguration
91
opt.
Configuration
= new OpenIdConnectConfiguration
119
opt.
Configuration
= new OpenIdConnectConfiguration
144
opt.
Configuration
= new OpenIdConnectConfiguration
172
opt.
Configuration
= configuration;
233
o.
Configuration
= configuration;
266
o.
Configuration
= configuration;
293
opt.
Configuration
= new OpenIdConnectConfiguration();
OpenIdConnect\TestServerBuilder.cs (1)
33
Configuration
= CreateDefaultOpenIdConnectConfiguration()
21 references to Configuration
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
OpenIdConnectOptions.cs (1)
110
+ $"{nameof(
Configuration
)}, or {nameof(ConfigurationManager)} to {nameof(OpenIdConnectOptions)}");
OpenIdConnectPostConfigureOptions.cs (2)
78
if (options.
Configuration
!= null)
80
options.ConfigurationManager = new StaticConfigurationManager<OpenIdConnectConfiguration>(options.
Configuration
);
Microsoft.AspNetCore.Authentication.Test (18)
OpenIdConnect\OpenIdConnectChallengeTests.cs (15)
711
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
712
opt.
Configuration
.PushedAuthorizationRequestEndpoint = "https://testauthority/par";
749
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
773
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
775
opt.
Configuration
.RequirePushedAuthorizationRequests = true;
795
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
796
opt.
Configuration
.PushedAuthorizationRequestEndpoint = "https://testauthority/par";
834
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
835
opt.
Configuration
.PushedAuthorizationRequestEndpoint = "https://testauthority/par";
868
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
869
opt.
Configuration
.PushedAuthorizationRequestEndpoint = "https://testauthority/par";
902
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
903
opt.
Configuration
.PushedAuthorizationRequestEndpoint = "https://testauthority/par";
941
opt.
Configuration
.AuthorizationEndpoint = "https://testauthority/authorize";
942
opt.
Configuration
.PushedAuthorizationRequestEndpoint = "https://testauthority/par";
OpenIdConnect\TestSettings.cs (3)
222
expectedAuthority = _options.
Configuration
?.TokenEndpoint ?? _options.Authority + @"/oauth2/token";
225
expectedAuthority = _options.
Configuration
?.EndSessionEndpoint ?? _options.Authority + @"/oauth2/logout";
228
expectedAuthority = _options.
Configuration
?.AuthorizationEndpoint ?? _options.Authority + @"/oauth2/authorize";