This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Encrypted { | |
| public string Value { get; set; } | |
| public string Salt { get; set; } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using SecurityDriven.Inferno; | |
| using System; | |
| public class InfernoEncryptionProvider : IEncryptionProvider { | |
| readonly IEncryptionConfiguration _configuration; | |
| public InfernoEncryptionProvider(IEncryptionConfiguration configuration) { | |
| _configuration = configuration; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.Data.Entity; | |
| using System.Linq; | |
| using System.Linq.Expressions; | |
| public class MemoryDbSet<T> : IDbSet<T> where T : class { | |
| readonly List<T> _list = new List<T>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define(function (require) { | |
| var Squire = require('Squire'); | |
| return { | |
| load: load | |
| }; | |
| function load(modelId, dependencies) { | |
| var s = new Squire(); | |
| addMockedDependencies(s, dependencies) |
NewerOlder