コード例 #1
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="CompatibleKeyVaultAuthentication"/> class.
        /// </summary>
        /// <param name="authenticator">The requested authentication type for connecting to the Azure Key Vault instance</param>
        internal CompatibleKeyVaultAuthentication(IKeyVaultAuthenticator authenticator)
        {
            Guard.NotNull(authenticator, nameof(authenticator));

            _authenticator = authenticator;
        }
コード例 #2
0
#pragma warning disable 618
        public KeyVaultSecretProvider(IKeyVaultAuthenticator authenticator, IKeyVaultConfiguration vaultConfiguration)
            : this(new CompatibleKeyVaultAuthentication(authenticator), vaultConfiguration)
        {
        }