public async Task TestWebPersistDelete() { var testObj = new BlobStorageAuthorizationChallengeProvider(ConfigurationManager.AppSettings[AppSettingsAuthConfig.authorizationChallengeBlobStorageAccount], "$web"); await testObj.PersistsChallengeFile(FilePath, FileContent); await testObj.CleanupChallengeFile(FilePath); }
public async Task TestWebPersistDelete() { var testObj = new BlobStorageAuthorizationChallengeProvider(ConfigurationManager.AppSettings[AppSettingsAuthConfig.authorizationChallengeBlobStorageAccount], "$web"); ACMESharp.ACME.HttpChallenge challenge = new ACMESharp.ACME.HttpChallenge("http", new HttpChallengeAnswer()) { FileContent = "test", FilePath = "/.well-known/acme-challenge/aBAasda234" }; await testObj.PersistsChallengeFile(challenge); await testObj.CleanupChallengeFile(challenge); }