DataProtectorBinaryTokenExtensions.UnprotectBinary method

namespace: Serenity   assemblySerenity.Net.Web

Decrypts the given token in base64 URL encoded format and return a binary reader with the decrypted data

public static BinaryReader UnprotectBinary(this IDataProtector protector, string token)
parameter description
protector Data protector
token Encrypted token in base 64 URL encoded format

See Also