public TicketDataFormat(Microsoft.Owin.Security.DataProtection.IDataProtector protector = null) : base( new TicketSerializer(), protector ?? new DataProtectorShim((DataProtectionProvider.Create(new DirectoryInfo(Environment.GetEnvironmentVariable("Temp"))).CreateProtector("OAuth.AspNet.AuthServer", "Access_Token", "v1"))), TextEncodings.Base64Url ) { }
public ApplicationDataProtectorTokenProvider(Microsoft.Owin.Security.DataProtection.IDataProtector protector) : base(protector) { }