3 writes to Authority
Aspire.Keycloak.Authentication (1)
AspireKeycloakExtensions.cs (1)
90options.Authority = GetAuthorityUri(serviceName, realm);
JwtBearerSample (1)
Startup.cs (1)
32o.Authority = Configuration["oidc:authority"];
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerConfigureOptions.cs (1)
50options.Authority = configSection[nameof(options.Authority)] ?? options.Authority;
9 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;
Microsoft.AspNetCore.Authentication.Test (2)
JwtBearerTests_Handler.cs (2)
1069Assert.Equal("https://localhost:5001", jwtBearerOptions.Authority); 1091Assert.Equal("https://localhost:5001", jwtBearerOptions.Authority);