public async Task BadInitialization()
 {
     // Missing AccountId
     var auth = await B2Client.AuthorizeAsync(new B2Options()
     {
         KeyId          = applicationKeyId,
         ApplicationKey = ""
     });
 }
Exemple #2
0
        public async Task ErrorAuthorizeNonMasterKeyWithMissingKeyID()
        {
            var key = "K001LarMmmWDIveFaZz3yvB4uattO+Q";

            var result = await B2Client.AuthorizeAsync("", key);
        }