private IUserAuthRepository CreateAuthRepo(IPocoDynamo db) { var authRepo = new DynamoDbAuthRepository <CustomUserAuth, CustomUserAuthDetails>(db); authRepo.InitSchema(); return(authRepo); }
IUserAuthRepository CreateAuthRepo(IPocoDynamo db) { var authRepo = new DynamoDbAuthRepository(db); authRepo.InitSchema(); return(authRepo); }
public override IUserAuthRepository CreateAuthRepo() { var db = new PocoDynamo(DynamoConfig.CreateDynamoDBClient()); var dynamoDbRepo = new DynamoDbAuthRepository(db); InitTest(dynamoDbRepo); dynamoDbRepo.InitSchema(); return dynamoDbRepo; }
public override IUserAuthRepository CreateAuthRepo() { var db = new PocoDynamo(DynamoConfig.CreateDynamoDBClient()); var dynamoDbRepo = new DynamoDbAuthRepository(db); InitTest(dynamoDbRepo); dynamoDbRepo.InitSchema(); return(dynamoDbRepo); }
public override IUserAuthRepository CreateAuthRepo() { var dynamoClient = new AmazonDynamoDBClient("keyId", "key", new AmazonDynamoDBConfig { ServiceURL = ConfigUtils.GetAppSetting("DynamoDbUrl", "http://localhost:8000"), }); var db = new PocoDynamo(dynamoClient); var dynamoDbRepo = new DynamoDbAuthRepository(db); InitTest(dynamoDbRepo); dynamoDbRepo.InitSchema(); return dynamoDbRepo; }
IUserAuthRepository CreateAuthRepo(IPocoDynamo db) { var authRepo = new DynamoDbAuthRepository(db); authRepo.InitSchema(); return authRepo; }
private IUserAuthRepository CreateAuthRepo(IPocoDynamo db) { var authRepo = new DynamoDbAuthRepository<CustomUserAuth, CustomUserAuthDetails>(db); authRepo.InitSchema(); return authRepo; }