Main Content

Server Authentication

MATLAB® provides programmatic interfaces to these Web service interfaces.

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

weboptions

weboptions Arguments

System Setup

Basic

Windows®
Linux
macOS

Required

Username and Password

N/A

Digest

Windows
Linux
macOS

Required

Username and Password

N/A

NTLM

Windows

Optional

Do not specify Username or Password

Logged into Windows domain

NTLM

Linux
macOS

Required

Username and Password

N/A

Kerberos
Negotiate (SPNEGO)

Windows

Optional

Do not specify Username or Password

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 HTTPOptions Object

matlab.net.http Credentials Properties

System Setup

Basic
Digest

Windows
Linux
macOS

Credentials property

Username and Password

N/A

NTLM

Windows

Credentials property

Username and Password ignored

Logged into Windows domain

NTLM

Linux
macOS

Credentials property

Username and Password

N/A

Kerberos
Negotiate (SPNEGO)

Windows

Credentials property

Username and Password ignored

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

| |

Related Topics