public UserAccountService() { repo = new AppRepository(); cipher = new AesCipher(); authService = null; authService = WCFClient.GetInstance().GetConnection <IAppAuthContract>("AuthService"); }
public StandartCryptor( IStrongKeyProvider strongKeyProvider, IAesCipher aes ) { this.strongKeyProvider = strongKeyProvider; this.aes = aes; }
public JwtService(IOptions <TokenLifeTimeOptions> tokenLifeTimeOptions, IOptions <AuthOptions> authOptions, IJwtSigningEncodingKey signInEncodingKey, IJwtEncryptingEncodingKey jwtEncryptionEncodingKey, IAesCipher crypt) { this.tokenLifeTimeOptions = tokenLifeTimeOptions; this.authOptions = authOptions; this.signInEncodingKey = signInEncodingKey; this.jwtEncryptionEncodingKey = jwtEncryptionEncodingKey; this.crypt = crypt; }
public MessangerCryptor( IServiceProvider serviceProvider, IAesCipher aes, IRsaCypher rsa, ISessionCacheService sessionCacheService, ICypherProvider cypherProvider, ISessionProvider sessionProvider, IStrongKeyProvider strongKeyProvider) { this.serviceProvider = serviceProvider; this.aes = aes; this.rsa = rsa; this.sessionCacheService = sessionCacheService; this.cypherProvider = cypherProvider; this.strongKeyProvider = strongKeyProvider; this.sessionProvider = sessionProvider; }
public SessionService(ISessionProvider sessionProvider, ITransactionProvider transactionProvider, IRsaCypher rsaCypher, UserManager <User> userManager, RoleManager <IdentityRole> roleManager, IStrongKeyProvider strongKeyProvider, ICypherProvider cypherProvider, IAesCipher aesCypher, ISessionCacheService sessionCacheService, ProcessingProvider processingProvider) { this.transactionProvider = transactionProvider; this.sessionProvider = sessionProvider; this.rsaCypher = rsaCypher; this.roleManager = roleManager; this.userManager = userManager; this.strongKeyProvider = strongKeyProvider; this.cypherProvider = cypherProvider; this.aesCypher = aesCypher; this.sessionCacheService = sessionCacheService; this.processingProvider = processingProvider; }
public CiperHelper(IAesCipher aesCipher, IConfiguration configuration) { this.aesCipher = aesCipher; this.configuration = configuration; }
public UserAuthService() { //Load from Replicator repo = new AuthRepository(); cipher = new AesCipher(); }
public AppRepository() { context = new DataContext(); cipher = new AesCipher(); }