public void saveCredentials(RemoteSdkAdditionalData data, CredentialsCase<T>... cases) {
    for (var credentialsCase : cases) {
      if (credentialsCase.getType() == this) {
        T credentials = createCredentials();
        credentialsCase.process(credentials);
        data.setCredentials(getCredentialsKey(), credentials);
      }
    }
  }
public void saveCredentials(RemoteSdkAdditionalData data, CredentialsCase<T>... cases)