2 writes to Authority
Aspire.Keycloak.Authentication (1)
AspireKeycloakExtensions.cs (1)
175options.Authority = GetAuthorityUri(serviceName, realm);
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectConfigureOptions.cs (1)
44options.Authority = configSection[nameof(options.Authority)] ?? options.Authority;
8 references to Authority
Aspire.Keycloak.Authentication.Tests (2)
AspireKeycloakExtensionTests.cs (2)
155Assert.Equal(options.Authority, $"https+http://{DefaultKeyName}/realms/{realm}"); 178Assert.Equal(options.Authority, $"https+http://{DefaultKeyName}/realms/{realm}");
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectConfigureOptions.cs (2)
44options.Authority = configSection[nameof(options.Authority)] ?? options.Authority;
OpenIdConnectOptions.cs (1)
109throw new InvalidOperationException($"Provide {nameof(Authority)}, {nameof(MetadataAddress)}, "
OpenIdConnectPostConfigureOptions.cs (3)
82else if (!(string.IsNullOrEmpty(options.MetadataAddress) && string.IsNullOrEmpty(options.Authority))) 84if (string.IsNullOrEmpty(options.MetadataAddress) && !string.IsNullOrEmpty(options.Authority)) 86options.MetadataAddress = options.Authority;