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