code: public Maybe<ApplicationInfo> getApplicationInfo(String clientId) {
          return db.findClientCredentials(clientId).map(creds -> {
              ApplicationInfo appInfo = null;
              if (creds != null) {
                  appInfo = ApplicationInfo.loadFromClientCredentials(creds);
              }
              return appInfo;
          });
      }
docs: Get the full application info by application id
  
  @param clientId the application id
  @return the application info