public function buildConfigurationForm()

in modules/quanthub_core/src/Plugin/OpenidConnectRealm/QuantHubOpenidConnectRealm.php [97:136]


  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
    $form = parent::buildConfigurationForm($form, $form_state);

    $form[self::AUDIENCE_TOKEN_KEY] = [
      '#type' => 'textfield',
      '#title' => $this->t('Audience'),
      '#default_value' => $this->configuration[self::AUDIENCE_TOKEN_KEY],
      '#required' => TRUE,
    ];

    $form[self::TOKEN_ENDPOINT] = [
      '#type' => 'textfield',
      '#title' => $this->t('User Info Endpoint'),
      '#default_value' => $this->configuration[self::TOKEN_ENDPOINT],
      '#required' => TRUE,
    ];

    $form[self::REFRESH_TOKEN_ENDPOINT] = [
      '#type' => 'textfield',
      '#title' => $this->t('User Info Endpoint Refresh Token'),
      '#default_value' => $this->configuration[self::REFRESH_TOKEN_ENDPOINT],
      '#required' => TRUE,
    ];

    $form[self::ANONYMOUS_TOKEN_ENDPOINT] = [
      '#type' => 'textfield',
      '#title' => $this->t('User Info Endpoint Anonymous Token'),
      '#default_value' => $this->configuration[self::ANONYMOUS_TOKEN_ENDPOINT],
      '#required' => TRUE,
    ];

    $form[self::USER_ATTRIBUTES_ENDPOINT] = [
      '#type' => 'textfield',
      '#title' => $this->t('User Info Endpoint Anonymous Token'),
      '#default_value' => $this->configuration[self::USER_ATTRIBUTES_ENDPOINT],
      '#required' => TRUE,
    ];

    return $form;
  }