Server Authentication
MATLAB® provides programmatic interfaces to these Web service interfaces.
RESTful (Representational state transfer)—Use the
webread
,webwrite
, andwebsave
functions in Web Services to read content from RESTful Web services.HTTP (Hypertext Transfer Protocol)—Use the Use HTTP with MATLAB API to implement advanced HTTP messaging semantics.
To use a proxy server, see Proxy Server Authentication.
Server Authentication For RESTful Web Services
Kerberos is not supported on Linux® and macOS platforms.
Authentication | Platform |
| System Setup | |
---|---|---|---|---|
Basic | Windows® Linux macOS | Required |
| N/A |
Digest | Windows Linux macOS | Required |
| N/A |
NTLM | Windows | Optional | Do not specify | Logged into Windows domain |
NTLM | Linux macOS | Required |
| N/A |
Kerberos | Windows | Optional | Do not specify | Logged into Kerberos domain |
Server Authentication For HTTP Web Services
Kerberos is not supported on Linux and macOS platforms.
Server Authentication | Platform | matlab.net.http | matlab.net.http | System Setup |
---|---|---|---|---|
Basic | Windows Linux macOS | Credentials property | N/A | |
NTLM | Windows | Credentials property |
| Logged into Windows domain |
NTLM | Linux macOS | Credentials property | N/A | |
Kerberos | Windows | Credentials property |
| Logged into Kerberos domain |
Create Header Fields for OAuth
Authentication
The matlab.net.http.AuthenticationScheme
class does not support the
OAuth
authentication scheme. However, you can create the
specific header fields required by OAuth
. For an example, see
Accessing Twitter with HTTP Interface in MATLAB.
See Also
matlab.net.http.AuthenticationScheme
| matlab.net.http.HTTPOptions
| matlab.net.http.Credentials