語言

NegotiateAuthentication.GetOutgoingBlob 方法

定義

多載

名稱 Description
GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

評估對方發送的認證權杖並回傳一個權杖。

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

評估對方發送的認證權杖並回傳一個權杖。

GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs

評估對方發送的認證權杖並回傳一個權杖。

public:
 cli::array <System::Byte> ^ GetOutgoingBlob(ReadOnlySpan<System::Byte> incomingBlob, [Runtime::InteropServices::Out] System::Net::Security::NegotiateAuthenticationStatusCode % statusCode);
public byte[]? GetOutgoingBlob(ReadOnlySpan<byte> incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode);
member this.GetOutgoingBlob : ReadOnlySpan<byte> * NegotiateAuthenticationStatusCode -> byte[]
Public Function GetOutgoingBlob (incomingBlob As ReadOnlySpan(Of Byte), ByRef statusCode As NegotiateAuthenticationStatusCode) As Byte()

參數

incomingBlob
ReadOnlySpan<Byte>

輸入認證權杖,或在發起驗證交換時的空值。

statusCode
NegotiateAuthenticationStatusCode

認證提供者回傳的狀態碼。

傳回

Byte[]

一個發送給對方的認證令牌。

備註

在發起認證交換時,其中一方會以空的 incomingBlob 參數開始。

成功驗證後會回傳狀態ContinueNeeded碼或Completed狀態碼。 任何其他狀態碼表示無法恢復的錯誤。

當 ContinueNeeded 返回時,返回值即為一個認證令牌,需傳送給對方。

適用於

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs
來源:
NegotiateAuthentication.cs

評估對方發送的認證權杖並回傳一個權杖。

public:
 System::String ^ GetOutgoingBlob(System::String ^ incomingBlob, [Runtime::InteropServices::Out] System::Net::Security::NegotiateAuthenticationStatusCode % statusCode);
public string? GetOutgoingBlob(string? incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode);
member this.GetOutgoingBlob : string * NegotiateAuthenticationStatusCode -> string
Public Function GetOutgoingBlob (incomingBlob As String, ByRef statusCode As NegotiateAuthenticationStatusCode) As String

參數

incomingBlob
String

輸入認證權杖,或在發起驗證交換時的空值。 編碼為 base64。

statusCode
NegotiateAuthenticationStatusCode

認證提供者回傳的狀態碼。

傳回

一個發送給對方的認證憑證,編碼為 base64。

備註

在發起認證交換時,其中一方會以空的 incomingBlob 參數開始。

成功驗證後會回傳狀態ContinueNeeded碼或Completed狀態碼。 任何其他狀態碼表示無法恢復的錯誤。

當 ContinueNeeded 返回時,返回值即為一個認證令牌,需傳送給對方。

適用於