22 references to Scope
Aspire.Dashboard (4)
DashboardWebApplication.cs (4)
722
if (!options.
Scope
.Contains(OpenIdConnectScope.OpenId))
724
options.
Scope
.Add(OpenIdConnectScope.OpenId);
727
if (!options.
Scope
.Contains("profile"))
729
options.
Scope
.Add("profile");
Keycloak.Web (1)
Program.cs (1)
37
options.
Scope
.Add("weather:all");
Microsoft.AspNetCore.Authentication.OpenIdConnect (5)
OpenIdConnectConfigureOptions.cs (2)
75
ClearAndSetListOption(options.
Scope
, configSection.GetSection(nameof(options.
Scope
)));
OpenIdConnectHandler.cs (1)
407
Scope = string.Join(" ", properties.GetParameter<ICollection<string>>(OpenIdConnectParameterNames.Scope) ?? Options.
Scope
),
OpenIdConnectOptions.cs (2)
53
Scope
.Add("openid");
54
Scope
.Add("profile");
Microsoft.AspNetCore.Authentication.Test (12)
OpenIdConnect\OpenIdConnectChallengeTests.cs (6)
590
opt.
Scope
.Clear();
591
opt.
Scope
.Add("foo");
592
opt.
Scope
.Add("bar");
614
opt.
Scope
.Clear();
615
opt.
Scope
.Add("foo");
616
opt.
Scope
.Add("bar");
OpenIdConnect\OpenIdConnectTests.cs (5)
534
Assert.Equal(2, options.
Scope
.Count);
535
Assert.DoesNotContain("openid", options.
Scope
);
536
Assert.DoesNotContain("profile", options.
Scope
);
537
Assert.Contains("given_name", options.
Scope
);
538
Assert.Contains("birthdate", options.
Scope
);
OpenIdConnect\TestSettings.cs (1)
248
ValidateParameter(OpenIdConnectParameterNames.Scope, string.Join(" ", _options.
Scope
), actualParams, errors, htmlEncoded);