code: @Deprecated
      BasicUser getCurrentUserBasic(AccessToken accessToken) {
          checkAccessTokenIsNotNull(accessToken);
  
          StatusType status;
          String content;
          try {
              Response response = targetEndpoint.path("me").request(MediaType.APPLICATION_JSON)
                      .header("Authorization", BEARER + accessToken.getToken())
                      .property(ClientProperties.CONNECT_TIMEOUT, getConnectTimeout())
                      .property(ClientProperties.READ_TIMEOUT, getReadTimeout())
                      .get();
  
              status = response.getStatusInfo();
              content = response.readEntity(String.class);
          } catch (ProcessingException e) {
              throw new ConnectionInitializationException(CONNECTION_SETUP_ERROR_STRING, e);
          }
  
          checkAndHandleResponse(content, status, accessToken);
  
          return mapToType(content, BasicUser.class);
      }
docs: See {@link OsiamConnector#getCurrentUserBasic(AccessToken)}
  
  @deprecated The BasicUser class has been deprecated. Use {@link #getMe(AccessToken)} with OSIAM 3.x. This method
  is going to go away with version 1.12 or 2.0.