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 ,傳回值是要傳輸給另一方的驗證令牌。

適用於