2 writes to Authority
Aspire.Keycloak.Authentication (1)
AspireKeycloakExtensions.cs (1)
93options.Authority = GetAuthorityUri(serviceName, realm);
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerConfigureOptions.cs (1)
50options.Authority = configSection[nameof(options.Authority)] ?? options.Authority;
7 references to Authority
Aspire.Keycloak.Authentication.Tests (2)
AspireKeycloakExtensionTests.cs (2)
73Assert.Equal(options.Authority, $"https+http://{DefaultKeyName}/realms/{realm}"); 95Assert.Equal(options.Authority, $"https+http://{DefaultKeyName}/realms/{realm}");
Microsoft.AspNetCore.Authentication.JwtBearer (5)
JwtBearerConfigureOptions.cs (2)
50options.Authority = configSection[nameof(options.Authority)] ?? options.Authority;
JwtBearerPostConfigureOptions.cs (3)
34else if (!(string.IsNullOrEmpty(options.MetadataAddress) && string.IsNullOrEmpty(options.Authority))) 36if (string.IsNullOrEmpty(options.MetadataAddress) && !string.IsNullOrEmpty(options.Authority)) 38options.MetadataAddress = options.Authority;