docs: public IdentityLinkEntity addIdentityLink(String userId, String groupId, String type) {
      ensureTaskActive();
  
      IdentityLinkEntity identityLink = newIdentityLink(userId, groupId, type);
      identityLink.insert();
      getIdentityLinks().add(identityLink);
  
      fireAddIdentityLinkAuthorizationProvider(type, userId, groupId);
      return identityLink;
    }