4 writes to MetadataAddress
Microsoft.AspNetCore.Authentication.JwtBearer (4)
JwtBearerConfigureOptions.cs (1)
61
options.
MetadataAddress
= configSection[nameof(options.MetadataAddress)] ?? options.MetadataAddress;
JwtBearerPostConfigureOptions.cs (3)
38
options.
MetadataAddress
= options.Authority;
41
options.
MetadataAddress
+= "/";
44
options.
MetadataAddress
+= ".well-known/openid-configuration";
7 references to MetadataAddress
Microsoft.AspNetCore.Authentication.JwtBearer (7)
JwtBearerConfigureOptions.cs (2)
61
options.MetadataAddress = configSection[nameof(options.
MetadataAddress
)] ?? options.
MetadataAddress
;
JwtBearerPostConfigureOptions.cs (5)
34
else if (!(string.IsNullOrEmpty(options.
MetadataAddress
) && string.IsNullOrEmpty(options.Authority)))
36
if (string.IsNullOrEmpty(options.
MetadataAddress
) && !string.IsNullOrEmpty(options.Authority))
39
if (!options.
MetadataAddress
.EndsWith("/", StringComparison.Ordinal))
47
if (options.RequireHttpsMetadata && !options.
MetadataAddress
.StartsWith("https://", StringComparison.OrdinalIgnoreCase))
60
options.ConfigurationManager = new ConfigurationManager<OpenIdConnectConfiguration>(options.
MetadataAddress
, new OpenIdConnectConfigurationRetriever(),