Unlike GitHub, GitLab or BitBucket there is no way of verifying Azure webhook requests.
Azure allows setting basic authentication for webhooks more info. This PR uses basic authentication to perform requests validation. Basic auth can be set when creating a Webhook with the New method just like it is done for the other git providers.
It doesn't perform any validation if the username and password are not provided, which means that it doesn't introduce a breaking change.
coverage: 88.889% (+0.1%) from 88.765%
when pulling 3b5f78bd354ee00177c0c4ac49dfd9ca5b1dab90 on raulcabello:master
into 53694f85d27d5446a0790b0408b6799ac9709b98 on go-playground:master.
Unlike
GitHub
,GitLab
orBitBucket
there is no way of verifyingAzure
webhook requests.Azure allows setting basic authentication for webhooks more info. This PR uses basic authentication to perform requests validation. Basic auth can be set when creating a
Webhook
with theNew
method just like it is done for the other git providers.It doesn't perform any validation if the username and password are not provided, which means that it doesn't introduce a breaking change.