public JwtTests(ServerFixture <Startup> serverFixture) { _serverFixture = serverFixture; _authService = _serverFixture.GetService <AuthService>(); _jwtProviderService = _serverFixture.GetService <IJwtProviderService>(); _jwtSettings = _serverFixture.GetService <IOptions <JwtSettings> >().Value; }
public AuthService(IJwtProviderService jwtProviderService, IPasswordHasher <object> hasherService) { _jwtProviderService = jwtProviderService; _hasherService = hasherService; }