Client-side implementation of:
This enables Erlang implementations to interface Microsoft SharePoint and other Microsoft Internet Information Services (IIS) based applications. Few sample functions are provided for interfacing the SharePoint 2013 REST API.
Constructs the NTLM NEGOTIATE_MESSAGE:
- NegotiateMessage = binary()
Parses the NTLM CHALLENGE_MESSAGE and constructs the NTLM AUTHENTICATE_MESSAGE:
- Workstation = workstationstring()
- DomainName = domainstring()
- UserName = httpc:userstring()
- Password = httpc:passwordstring()
- ChallengeMessage = binary()
- AuthenticateMessage = binary()
Replacement of httpc:request that supports NTLM authentication:
- Method = httpc:method()
- Request = httpc:request()
- Credentials = {workstationstring(), domainstring(), httpc:userstring(), httpc:passwordstring()}
- Result = {status_line(), headers(), Body}
- Body = binary()