The B2 download URL from authorization (e.g., https://f004.backblazeb2.com).
The bucket containing the file.
The file name (path) to download.
A download authorization token from b2_get_download_authorization.
Compatibility-only value for the non-authoritative expires query.
The B2 native download-authorization URL string, not an S3 presigned URL.
Constructs a B2-native download URL using a token from
b2_get_download_authorization. This is not an S3 presigned URL.The token lifetime is fixed when
b2_get_download_authorizationcreates the token.validDurationInSecondsis retained only for compatibility with the legacypresignGetObjectUrlhelper's decorativeexpiresquery parameter; changing it here does not shorten or extend access. Because the returned URL carries a bearer token,downloadUrlmust be an HTTPS Backblaze download origin without userinfo, path, query, or fragment.