NegotiateAuthentication 类

定义

表示使用协商、NTLM 或 Kerberos 安全协议在客户端-服务器通信中对客户端或服务器进行身份验证的有状态身份验证交换。

public ref class NegotiateAuthentication sealed : IDisposable
public sealed class NegotiateAuthentication : IDisposable
type NegotiateAuthentication = class
    interface IDisposable
Public NotInheritable Class NegotiateAuthentication
Implements IDisposable
继承
NegotiateAuthentication
实现

构造函数

NegotiateAuthentication(NegotiateAuthenticationClientOptions)

初始化客户端身份验证会话的新实例 NegotiateAuthentication

NegotiateAuthentication(NegotiateAuthenticationServerOptions)

初始化服务器端身份验证会话的新实例 NegotiateAuthentication

属性

IsAuthenticated

获取一个值,该值指示是否已成功完成身份验证并建立会话。

IsEncrypted

获取一个值,该值指示是否协商数据加密。

IsMutuallyAuthenticated

获取一个值,该值指示是否已对服务器和客户端进行身份验证。

IsServer

获取一个值,该值指示身份验证的本地端是否表示服务器。

IsSigned

获取一个值,该值指示是否协商数据签名。

Package

获取协商身份验证包的名称。

ProtectionLevel

指示协商的保护级别。

RemoteIdentity

获取有关远程方标识的信息。

TargetName

获取服务器) (服务主体名称的目标名称。

方法

Dispose()

释放由 NegotiateAuthentication 占用的非托管资源,还可以另外再释放托管资源。

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

评估另一方发送的身份验证令牌,并在响应中返回令牌。

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

评估另一方发送的身份验证令牌,并在响应中返回令牌。

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于