NAME

Auth

FUNCTIONS

new($api)

Create a new object for accessing Auth API

Parameters

$api

API object
get_all
Get user roles

Return value

JSON response as a string
get_by_specific_user
Get by specific user

Parameters

$user_ref

User reference

Return value

JSON response as a string

AUTHOR

Maksym Novozhylov <mnovozhilov@upwork.com>

COPYRIGHT

Copyright © Upwork Global Corp., 2015