예제 #1
0
 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
         )
 {
 }
예제 #2
0
 public ApplicationDataProtectorTokenProvider(Microsoft.Owin.Security.DataProtection.IDataProtector protector)
     : base(protector)
 {
 }