Optionalapi_OptionalidOptionallanguageOptionallast_Optionalreset_Optionalreset_Optionalverification_Optionalverified_Create session object for user
StatictableChange password
new password string
OptionalexpireToken: booleanif true than force reset password token
no result
Check password
password string
Delete user based on session object
Add new API token to user
Get new reset token
List API tokens for this user
Remove API token for user
Revoke a single API token by id
Revoke original API token stored on users.api_token Also delete any matching row from _sc_api_tokens for this user
Optionalreq: anyOptionalopts: { new_verification_token?: string }Set language for User in database
update 'last_mobile_login' columnwill
new login_date or null for logout (invalidates all jwts)
StaticauthenticateStaticcountStaticcreateStaticdestroy_Optionaltenant: stringStaticfindFind users list
where object
Optionalselectopts: SelectOptionsselect options
StaticfindStaticfindStaticfindStaticfindFind or Create User
Optionaluo: any = {}Staticgenerate_Generate password
Staticget_Get available roles
StatichashGet bcrypt hash for Password
password string
Staticmatches_StaticnonStaticresetReset password using token
email address string
Staticunacceptable_Validate password
Staticvalid_Validate email
StaticverifyVerification with token
email string
true if verification passed, error string if not
User