listUserIdentityProviders(userId) {
    if (!userId) {
      return Promise.reject(new Error('OKTA API listUserIdentityProviders parameter userId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/users/${userId}/idps`;

    return new Collection(
      this,
      url,
      new ModelFactory(models.IdentityProvider),
    );
  }
/**
   *
   * @param userId {String}
   * @description
   * Lists the IdPs associated with the user.
   * @returns {Collection} A collection that will yield {@link IdentityProvider} instances.
   */
@param userId {String}
@description
Lists the IdPs associated with the user.
@returns {Collection} A collection that will yield  IdentityProvider instances.
@param userId { String } @description Lists the IdPs associated with the user . @returns { Collection } A collection that will yield IdentityProvider instances .
listUserIdentityProviders(userId) {
    if (!userId) {
      return Promise.reject(new Error('OKTA API listUserIdentityProviders parameter userId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/users/${userId}/idps`;
    return new Collection(
      this,
      url,
      new ModelFactory(models.IdentityProvider),
    );
  }
listUserIdentityProviders ( userId ) { if ( ! userId ) { return Promise . reject ( new Error ( 'OKTA API listUserIdentityProviders parameter userId is required.' ) ) ; } let url = ` ${ this . baseUrl } ${ userId } ` ; return new Collection ( this , url , new ModelFactory ( models . IdentityProvider ) , ) ; }
@param userId {String}
 @description
 Lists the IdPs associated with the user.
@param userId { String } @description Lists the IdPs associated with the user .