API docs     >     Users and Permissions     >     User

User->generateToken

Description

generateToken ( $expireTS )
Generates a token for this User which expires on the given timestamp

Parameters

$expireTS
int
Timestamp

Returns

string|false
Token or FALSE in case of an error