matlab.net.http.field.AuthenticationInfoField class

Package: matlab.net.http.field
Superclasses: matlab.net.http.HeaderField

HTTP Authentication-Info header field in response message

Description

An AuthenticationInfoField object contains information about a successful Digest authentication. A server or proxy creates an Authentication-Info header field in a response message.

Since this field appears only in response messages, you do not normally create one of these fields. Use this field only if you are implementing your own authentication protocol or one that MATLAB® does not automatically support.

If you use the automatic authentication provided by MATLAB by specifying the Credentials property in HTTPOptions, you do not need to access this field.

Class Attributes

Sealed

true

For information on class attributes, see Class Attributes.

Creation

Description

obj = matlab.net.http.field.AuthenticationInfoField(name) creates an Authentication-Info header field with the Name property set to name with no value.

obj = matlab.net.http.field.AuthenticationInfoField(name,value) creates a header field with the Value property set to value.

Properties

expand all

Header field name, specified as 'Authentication-Info' or 'Proxy-Authentication-Info'.

Attributes:

GetAccess

public

SetAccess

public

Header field value, specified as a comma-separated list of token=value strings.

Attributes:

GetAccess

public

SetAccess

public

Dependent

true

Methods

expand all

Introduced in R2016b