public BewitFactory(ICryptoHelpers cryptoHelpers, ITextHelpers textHelpers) { Ensure.Argument.IsNotNull(cryptoHelpers, nameof(cryptoHelpers)); Ensure.Argument.IsNotNull(textHelpers, nameof(textHelpers)); this.cryptoHelpers = cryptoHelpers; this.textHelpers = textHelpers; }
public AuthRepository(XYZToDoSQLDbContext context, IJWTHelpers JWTHelpers, ICryptoHelpers cryptoHelpers, IMemberLicenseRepository licenses, SmtpClient smtpClient) { this.context = context; this.jwtHelpers = JWTHelpers; this.cryptoHelpers = cryptoHelpers; this.licenses = licenses; this.smtpClient = smtpClient; this.Configuration = new ConfigurationHelpers().Configuration; //Configuration["JWT:SecretKeyForTokenValidation:Key"]) }
public TentHawkSignature(ICryptoHelpers cryptoHelpers, ITextHelpers textHelpers, IUriHelpers uriHelpers) { Ensure.Argument.IsNotNull(cryptoHelpers, nameof(cryptoHelpers)); Ensure.Argument.IsNotNull(textHelpers, nameof(textHelpers)); Ensure.Argument.IsNotNull(uriHelpers, nameof(uriHelpers)); this.cryptoHelpers = cryptoHelpers; this.textHelpers = textHelpers; this.uriHelpers = uriHelpers; }
public TentHawkSignatureFactory(ICryptoHelpers cryptoHelpers, ITextHelpers textHelpers, IUriHelpers uriHelpers) { Ensure.Argument.IsNotNull(cryptoHelpers, "cryptoHelpers"); Ensure.Argument.IsNotNull(textHelpers, "textHelpers"); Ensure.Argument.IsNotNull(uriHelpers, "uriHelpers"); this.cryptoHelpers = cryptoHelpers; this.textHelpers = textHelpers; this.uriHelpers = uriHelpers; }
public HawkSignature( ICryptoHelpers cryptoHelpers, ITextHelpers textHelpers, IUriHelpers uriHelpers) { Ensure.Argument.IsNotNull(cryptoHelpers, nameof(cryptoHelpers)); Ensure.Argument.IsNotNull(textHelpers, nameof(textHelpers)); Ensure.Argument.IsNotNull(uriHelpers, nameof(uriHelpers)); this.cryptoHelpers = cryptoHelpers; this.textHelpers = textHelpers; this.uriHelpers = uriHelpers; }
public HawkSignatureFactory( ICryptoHelpers cryptoHelpers, ITextHelpers textHelpers, IUriHelpers uriHelpers) { Ensure.Argument.IsNotNull(cryptoHelpers, nameof(cryptoHelpers)); Ensure.Argument.IsNotNull(textHelpers, nameof(textHelpers)); Ensure.Argument.IsNotNull(uriHelpers, nameof(uriHelpers)); this.cryptoHelpers = cryptoHelpers; this.textHelpers = textHelpers; this.uriHelpers = uriHelpers; this.authorizationHeaderRegex = new Regex("(id|ts|nonce|mac|ext|hash|app)=\"([^\"\\\\]*)\""); }
public BewitLogic(IBewitRepository bewitRepository, IBewitFactory bewitFactory, ICryptoHelpers cryptoHelpers, IUriHelpers uriHelpers, IGeneralConfiguration configuration) { Ensure.Argument.IsNotNull(bewitRepository, nameof(bewitRepository)); Ensure.Argument.IsNotNull(bewitFactory, nameof(bewitFactory)); Ensure.Argument.IsNotNull(cryptoHelpers, nameof(cryptoHelpers)); Ensure.Argument.IsNotNull(uriHelpers, nameof(uriHelpers)); Ensure.Argument.IsNotNull(configuration, nameof(configuration)); this.bewitRepository = bewitRepository; this.bewitFactory = bewitFactory; this.cryptoHelpers = cryptoHelpers; this.uriHelpers = uriHelpers; this.configuration = configuration; }
public UserLogic( IUserRepository userRepository, IUserFactory userFactory, //IDiscoveryService discoveryService, ILoggingService loggerService, IUriHelpers uriHelpers, ICryptoHelpers cryptoHelpers) { Ensure.Argument.IsNotNull(userRepository, nameof(userRepository)); Ensure.Argument.IsNotNull(userFactory, nameof(userFactory)); //Ensure.Argument.IsNotNull(discoveryService, nameof(discoveryService)); Ensure.Argument.IsNotNull(loggerService, nameof(loggerService)); Ensure.Argument.IsNotNull(uriHelpers, nameof(uriHelpers)); Ensure.Argument.IsNotNull(cryptoHelpers, nameof(cryptoHelpers)); this.userRepository = userRepository; this.userFactory = userFactory; //this.discoveryService = discoveryService; this.loggerService = loggerService; this.uriHelpers = uriHelpers; this.cryptoHelpers = cryptoHelpers; }
public AuthController(IAuthRepository AuthRepository, IJWTHelpers JWTHelpers, ICryptoHelpers cryptoHelpers) { this.AuthRepository = AuthRepository; this.JWTHelpers = JWTHelpers; this.cryptoHelpers = cryptoHelpers; }
public MemberRepository(XYZToDoSQLDbContext context, IJWTHelpers JWTHelpers, ICryptoHelpers cryptoHelpers) { this.context = context; this.jwtHelpers = JWTHelpers; this.cryptoHelpers = cryptoHelpers; }
public MembersController(IMemberRepository iMemberRepository, ICryptoHelpers cryptoHelpers) { this.IMemberRepository = iMemberRepository; this.cryptoHelpers = cryptoHelpers; }