You are here

public static function OpenIdConnectSettingsForm::create in Simple OAuth (OAuth2) & OpenID Connect 5.x

Creates the form.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

Return value

\Drupal\simple_oauth\Form\OpenIdConnectSettingsForm The form.

Overrides ConfigFormBase::create

File

src/Form/OpenIdConnectSettingsForm.php, line 47

Class

OpenIdConnectSettingsForm
The settings form.

Namespace

Drupal\simple_oauth\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.factory'), $container
    ->getParameter('simple_oauth.openid.claims'));
}