Namespace: User

sfs. User

Creates a user object to utilize the APi in a more human manner

Source:

Methods


isSpammer()

The User object implements isSpammer

Source:
Example
var sfsUser = stopforumspam.User('123.456.789.100', 'test@test.com', 'Spammer!');
sfsUser.isSpammer().then(function (result) {
  // do something with result
});

isSpammerSync()

The User object implements isSpammerSync

Source:

submit()

The User object implements submit

Source:
Example
var sfsUser = stopforumspam.User('123.456.789.100', 'test@test.com', 'Spammer!');
sfsUser.submit();

submitSync()

The User object implements submitSync

Source: