public AADTokenBaseValidator(IAADSettings aadSettings, string wellKnownOpenIdConfigurationPath)
        {
            _aadSettings = aadSettings;

            var wellKnownEndpoint = $"{aadSettings.Instance}{aadSettings.TenantId}{wellKnownOpenIdConfigurationPath}";

            _configurationManager = new ConfigurationManager <OpenIdConnectConfiguration>(
                wellKnownEndpoint, new OpenIdConnectConfigurationRetriever());
        }
Exemple #2
0
 public AADTokenV1Validator(IAADSettings aadSettings) : base(aadSettings, "/.well-known/openid-configuration")
 {
 }