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