SessionSecurityTokenHandler.ApplyTransforms(Byte[], Boolean) Method
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies the transforms specified by the Transforms property to either encode or decode the specified cookie.
protected:
virtual cli::array <System::Byte> ^ ApplyTransforms(cli::array <System::Byte> ^ cookie, bool outbound);
protected virtual byte[] ApplyTransforms(byte[] cookie, bool outbound);
abstract member ApplyTransforms : byte[] * bool -> byte[]
override this.ApplyTransforms : byte[] * bool -> byte[]
Protected Overridable Function ApplyTransforms (cookie As Byte(), outbound As Boolean) As Byte()
- cookie
- Byte[]
The cookie that will be transformed.
- outbound
- Boolean
true
if the cookie should be encoded; false
if the cookie should be decoded.
The encoded or decoded cookie.
The Transforms property is null
.
When encoding a cookie transforms are applied in the order in which they appear in the Transforms property. When decoding a cookie, they are applied in the reverse order.
Called from the WriteToken and ReadToken methods to encode and decode the cookie material.
Applies to
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: