NegotiateAuthentication.GetOutgoingBlob 方法

定義

多載

GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

評估另一方傳送的驗證權杖,並傳迴響應中的權杖。

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

評估另一方傳送的驗證權杖,並傳迴響應中的權杖。

GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

來源:
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 參數開頭。

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

傳回時 ContinueNeeded ,傳回值是要傳輸給另一方的驗證權杖。

適用於

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

來源:
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 參數開頭。

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

傳回時 ContinueNeeded ,傳回值是要傳輸給另一方的驗證權杖。

適用於