Class CurrentUser


public class CurrentUser extends AuthResource
Resource for the currently authorized user.
  • Constructor Details

    • CurrentUser

      public CurrentUser(FreshBooksClient freshBooksClient)
      Parameters:
      freshBooksClient - Initialized instance of FreshBooksClient
  • Method Details

    • get

      public Identity get() throws FreshBooksException
      Get the currently authorized identity from the FreshBooks /me endpoint.
      Returns:
      Identity of the authorized user.
      Throws:
      FreshBooksException - If the call is not successful