SspiContextProvider.GenerateContext 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據收到的 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。