---
title: "backgroundDownload:didReceiveChallenge:completionHandler:"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/badownloaderextension-zuvm/backgrounddownload:didreceivechallenge:completionhandler:"
---

# backgroundDownload:didReceiveChallenge:completionHandler:

## Declaration

```occ
- (void) backgroundDownload:(BADownload *) download didReceiveChallenge:(NSURLAuthenticationChallenge *) challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential)) completionHandler;
```

## See Also

### Processing downloads

- [backgroundDownload:finishedWithFileURL:](backgroundassets/badownloaderextension-zuvm/backgrounddownload:finishedwithfileurl:.md)
- [backgroundDownload:failedWithError:](backgroundassets/badownloaderextension-zuvm/backgrounddownload:failedwitherror:.md)
