AccidentalFish.ApplicationSupport.Azure.KeyVault.Implementation.KeyVault.KeyVault C# (CSharp) Method

KeyVault() public method

public KeyVault ( string clientId, string clientSecret, string vaultUri, bool checkIfKeyExistsBeforeGet ) : System
clientId string
clientSecret string
vaultUri string
checkIfKeyExistsBeforeGet bool
return System
        public KeyVault(string clientId, string clientSecret, string vaultUri, bool checkIfKeyExistsBeforeGet)
        {
            _clientId = clientId;
            _clientSecret = clientSecret;
            _vaultUri = vaultUri;
            _checkIfKeyExistsBeforeGet = checkIfKeyExistsBeforeGet;
            _keyVaultClient = new KeyVaultClient(new KeyVaultClient.AuthenticationCallback(GetAccessToken));
        }