matlab.net.http.field.AuthenticationInfoField 类
命名空间: matlab.net.http.field
超类: matlab.net.http.HeaderField
响应消息中的 HTTP Authentication-Info 标头字段
描述
AuthenticationInfoField
对象包含有关成功进行摘要式身份验证的信息。服务器或代理会在响应消息中创建 Authentication-Info 标头字段。有关这些字段的描述,请参阅 Internet Engineering Task Force (IETF®) 网站上的 RFC 7615 HTTP Authentication-Info and Proxy-Authentication-Info Response Header Fields、RFC 2617 section 3.2.3 The Authentication-Info Header,以及 RFC 2617 section 3.6 Proxy-Authentication and Proxy-Authorization。
由于此字段只出现在响应消息中,所以您通常不需要创建这些字段。只有当您实现自己的身份验证协议,或者实现 MATLAB® 不会自动支持的身份验证协议时,才需要使用此字段。
如果您通过在 HTTPOptions
中指定 Credentials
属性来使用 MATLAB 提供的自动身份验证,则不需要访问此字段。
创建对象
属性
方法
版本历史记录
在 R2016b 中推出