Reference Source Test
public class | source

User

User methods

Static Method Summary

Static Public Methods
public static

create(data: UserCreateParams, originalCallback: function(err: ApiErrorResponse, res: UserCreateResponse))

Create new user account

public static

Retrieve user account details

public static

Sends email with verification link to user

Static Public Methods

public static create(data: UserCreateParams, originalCallback: function(err: ApiErrorResponse, res: UserCreateResponse)) source

Create new user account

Params:

NameTypeAttributeDescription
data UserCreateParams

create user payload

originalCallback function(err: ApiErrorResponse, res: UserCreateResponse)
  • optional

error first node.js callback

public static retrieve(data: UserGetParams, callback: function(err: ApiErrorResponse, res: UserGetResponse)) source

Retrieve user account details

Params:

NameTypeAttributeDescription
data UserGetParams

get user payload

callback function(err: ApiErrorResponse, res: UserGetResponse)
  • optional

error first node.js callback

public static verifyEmail(data: UserVerifyEmailParams, callback: function(err: ApiErrorResponse, res: UserVerifyEmailResponse)) source

Sends email with verification link to user

Params:

NameTypeAttributeDescription
data UserVerifyEmailParams

user verify email payload

callback function(err: ApiErrorResponse, res: UserVerifyEmailResponse)
  • optional

error first node.js callback