Pcore::App::API
Performs user authentication and returns instance of Pcore::App::API::Auth.
$user_name can be undefined.
$user_name
Performs private token authentication and returns instance of Pcore::App::API::Auth.
Private token structure is [ %token_type, $token_id, $token_hash ].
Creates user and returns user id.
$permissions - ArrayRef[ 'role1', 'role2', ... ]
$permissions
Returns all users.
To install Pcore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pcore
CPAN shell
perl -MCPAN -e shell install Pcore
For more information on module installation, please visit the detailed CPAN module installation guide.