SspiContextProvider.GenerateContext 方法

定義

根據收到的 blob 產生一個 SSPI 的外出 blob。

protected:
 abstract bool GenerateContext(ReadOnlySpan<System::Byte> incomingBlob, System::Buffers::IBufferWriter<System::Byte> ^ outgoingBlobWriter, Microsoft::Data::SqlClient::SspiAuthenticationParameters ^ authParams);
protected abstract bool GenerateContext(ReadOnlySpan<byte> incomingBlob, System.Buffers.IBufferWriter<byte> outgoingBlobWriter, Microsoft.Data.SqlClient.SspiAuthenticationParameters authParams);
abstract member GenerateContext : ReadOnlySpan<byte> * System.Buffers.IBufferWriter<byte> * Microsoft.Data.SqlClient.SspiAuthenticationParameters -> bool
Protected MustOverride Function GenerateContext (incomingBlob As ReadOnlySpan(Of Byte), outgoingBlobWriter As IBufferWriter(Of Byte), authParams As SspiAuthenticationParameters) As Boolean

參數

incomingBlob
ReadOnlySpan<Byte>

來襲的黏液

outgoingBlobWriter
IBufferWriter<Byte>

外出的 blob

authParams
SspiAuthenticationParameters

與此連線相關的認證參數。

傳回

true 如果上下文是產生的,否則 false

適用於