Main Content

matlab.net.http.field.AuthenticationInfoField Class

Namespace: 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. For a description of these fields, see RFC 7615 HTTP Authentication-Info and Proxy-Authentication-Info Response Header Fields, RFC 2617 section 3.2.3 The Authentication-Info Header, and RFC 2617 section 3.6 Proxy-Authentication and Proxy-Authorization on the RFC Editor website.

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

Version History

Introduced in R2016b