@@ -1094,7 +1094,7 @@ Type: Ruby 4.x API
10941094
10951095A function that returns the checksum value of an artifact stored in Artifactory
10961096
1097- #### ` archive::artifactory_checksum(Stdlib::HTTPUrl $url, Optional[Enum['sha1','sha256','md5']] $checksum_type) `
1097+ #### ` archive::artifactory_checksum(Stdlib::HTTPUrl $url, Optional[Enum['sha1','sha256','md5']] $checksum_type, Optional[Array] $headers ) `
10981098
10991099The archive::artifactory_checksum function.
11001100
@@ -1113,13 +1113,19 @@ Data type: `Optional[Enum['sha1','sha256','md5']]`
11131113The checksum type.
11141114Note the function will raise an error if you ask for sha256 but your artifactory instance doesn't have the sha256 value calculated.
11151115
1116+ ##### ` headers `
1117+
1118+ Data type: ` Optional[Array] `
1119+
1120+ Array of headers to pass source, like an authentication token
1121+
11161122### <a name =" archive--artifactory_latest_url " ></a >` archive::artifactory_latest_url `
11171123
11181124Type: Ruby 4.x API
11191125
11201126The archive::artifactory_latest_url function.
11211127
1122- #### ` archive::artifactory_latest_url(Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl] $url, Hash $maven_data) `
1128+ #### ` archive::artifactory_latest_url(Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl] $url, Hash $maven_data, Optional[Array ] $headers ) `
11231129
11241130The archive::artifactory_latest_url function.
11251131
@@ -1137,6 +1143,12 @@ Data type: `Hash`
11371143
11381144
11391145
1146+ ##### ` headers `
1147+
1148+ Data type: ` Optional[Array ] `
1149+
1150+
1151+
11401152### <a name =" archive--parse_artifactory_url " ></a >` archive::parse_artifactory_url `
11411153
11421154Type: Ruby 4.x API
0 commit comments