public protocol UnbluFileDownloadHandlerWithAuthorizationToken : UnbluFileDownloadHandler
This protocol is used to notify when a request has been made to download a file with the authorization header in the http request
Called when a request is made to download a file, e.g. in a conversation.
func downloadFile(atUrl url: URL, cookies: [HTTPCookie], token: String)
URLof the file to download
An array of
HTTPCookieobjects representing the Cookies which are needed for the file download.
The OAuth 2.0 token string will be added to the http request header “Authorization”.