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