public DpapiDataProtector(string appName, string[] purposes)
 {
     _protector = new System.Security.Cryptography.DpapiDataProtector(appName, "Microsoft.Owin.Security.IDataProtector", purposes)
     {
         Scope = DataProtectionScope.CurrentUser
     };
 }
예제 #2
0
 public DpapiDataProtector(string appName, string[] purposes)
 {
     _protector = new System.Security.Cryptography.DpapiDataProtector(appName, "Microsoft.Owin.Security.IDataProtector", purposes)
     {
         Scope = DataProtectionScope.CurrentUser
     };
 }
예제 #3
0
 public DpapiDataProtector(string appName, string primaryPurpose, params string[] specificPurpose)
 {
     this._protector = new System.Security.Cryptography.DpapiDataProtector(appName, primaryPurpose, specificPurpose)
     {
         Scope = DataProtectionScope.CurrentUser
     };
 }