Above module is used to authenticate services calls using Basic access authentication technique.. You will use your Drupal Username and password to authenticate services calls by adding Authorization header to service call as follows
When the user agent wants to send the server authentication credentials it may use the Authorization header.
The Authorization header is constructed as follows:
Username and password are combined into a string "username:password"
The resulting string literal is then encoded using the RFC2045-MIME
variant of Base64, except not limited to 76 char/line The
authorization method and a space i.e. "Basic " is then put before the
For example, if the user agent uses 'Aladdin' as the
username and 'open sesame' as the password then the header is formed
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
For Example below is the call using curl..
curl -H "Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" http://www.example.com/endpoint/yourservice