Class CurrentUser
java.lang.Object
net.amcintosh.freshbooks.resources.api.Resource
net.amcintosh.freshbooks.resources.api.AuthResource
net.amcintosh.freshbooks.resources.CurrentUser
Resource for the currently authorized user.
-
Field Summary
Fields inherited from class net.amcintosh.freshbooks.resources.api.Resource
freshBooksClient
-
Constructor Summary
-
Method Summary
Methods inherited from class net.amcintosh.freshbooks.resources.api.AuthResource
getResourceType, getUrl, handleRequest, handleRequest
Methods inherited from class net.amcintosh.freshbooks.resources.api.Resource
buildQueryString
-
Constructor Details
-
CurrentUser
- Parameters:
freshBooksClient
- Initialized instance of FreshBooksClient
-
-
Method Details
-
get
Get the currently authorized identity from the FreshBooks /me endpoint.- Returns:
- Identity of the authorized user.
- Throws:
FreshBooksException
- If the call is not successful
-