Global

Methods

# blockUsers(ids) → {Promise.<void>}

Block one or more users.
Parameters:
Name Type Description
ids UserIdList List of User IDs to block.
Returns:
Promise.
Type
Promise.<void>

# createWithProvider(providerId, id) → {UserId}

Creates a single identity user identifier for giver provider ID.
Parameters:
Name Type Description
providerId string custom identity provider ID.
id string identity user ID.
Returns:
new identifier.
Type
UserId

# getBlockedUsers(query) → {Promise.<PagingResult.<Array.<User>>>}

Get list of users blocked by the current user.
Parameters:
Name Type Description
query PagingQuery Pagination query.
Returns:
Promise with users and cursor for next query.
Type
Promise.<PagingResult.<Array.<User>>>

# unblockUsers(ids) → {Promise.<void>}

Unblock one or more users.
Parameters:
Name Type Description
ids UserIdList List of User IDs to unblock.
Returns:
Promise
Type
Promise.<void>