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