listAuthorizationServerKeys(authServerId) {
    if (!authServerId) {
      return Promise.reject(new Error('OKTA API listAuthorizationServerKeys parameter authServerId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/authorizationServers/${authServerId}/credentials/keys`;

    return new Collection(
      this,
      url,
      new ModelFactory(models.JsonWebKey),
    );
  }
/**
   *
   * @param authServerId {String}
   * @description
   * Success
   * @returns {Collection} A collection that will yield {@link JsonWebKey} instances.
   */
@param authServerId {String}
@description
Success
@returns {Collection} A collection that will yield  JsonWebKey instances.
@param authServerId { String } @description Success @returns { Collection } A collection that will yield JsonWebKey instances .
listAuthorizationServerKeys(authServerId) {
    if (!authServerId) {
      return Promise.reject(new Error('OKTA API listAuthorizationServerKeys parameter authServerId is required.'));
    }
    let url = `${this.baseUrl}/api/v1/authorizationServers/${authServerId}/credentials/keys`;
    return new Collection(
      this,
      url,
      new ModelFactory(models.JsonWebKey),
    );
  }
listAuthorizationServerKeys ( authServerId ) { if ( ! authServerId ) { return Promise . reject ( new Error ( 'OKTA API listAuthorizationServerKeys parameter authServerId is required.' ) ) ; } let url = ` ${ this . baseUrl } ${ authServerId } ` ; return new Collection ( this , url , new ModelFactory ( models . JsonWebKey ) , ) ; }
@param authServerId {String}
 @description
 Success
 @returns {Collection} A collection that will yield {@link JsonWebKey} instances.
@param authServerId { String } @description Success @returns { Collection } A collection that will yield { @link JsonWebKey } instances .