Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (29 sloc) 0.98 kb
* Copyright (c) Dominick Baier & Brock Allen. All rights reserved.
* see license.txt
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Microsoft.IdentityModel.Tokens;
using Microsoft.IdentityModel.Web;
namespace Thinktecture.IdentityModel.Web
public class MachineKeySessionSecurityTokenHandler : SessionSecurityTokenHandler
public MachineKeySessionSecurityTokenHandler()
: base(CreateTransforms())
{ }
public MachineKeySessionSecurityTokenHandler(SecurityTokenCache cache, TimeSpan tokenLifetime)
: base(CreateTransforms(), cache, tokenLifetime)
{ }
private static ReadOnlyCollection<CookieTransform> CreateTransforms()
return new List<CookieTransform>
new DeflateCookieTransform(),
new MachineKeyCookieTransform()
Jump to Line
Something went wrong with that request. Please try again.