class BankIDDialogForm extends FormBase

BankID Authenticate form.

Properties

protected ImmutableConfig $config

The configuration.

Methods

__construct(IntegrationManager $integrationManager, ConfigFactoryInterface $config_factory, ExternalAuthInterface $externalAuth, AuthmapInterface $authmap, BankIDManager $bankIDManager, EntityTypeManagerInterface $entityTypeManager)

Constructs a new BankIDDialogForm.

static 
create(ContainerInterface $container)

{@inheritdoc}

string
getFormId()

{@inheritdoc}

array
buildForm(array $form, FormStateInterface $form_state, OrderOperation $operation = OrderOperation::Auth, string $plugin_id = 'default', array $plugin_configuration = [], array|null $private_data = NULL)

Form constructor.

void
submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Details

at line 49
__construct(IntegrationManager $integrationManager, ConfigFactoryInterface $config_factory, ExternalAuthInterface $externalAuth, AuthmapInterface $authmap, BankIDManager $bankIDManager, EntityTypeManagerInterface $entityTypeManager)

Constructs a new BankIDDialogForm.

Parameters

IntegrationManager $integrationManager

The integration manager.

ConfigFactoryInterface $config_factory

The config factory.

ExternalAuthInterface $externalAuth

The externalauth service.

AuthmapInterface $authmap

The authmap service.

BankIDManager $bankIDManager

The BankID manager.

EntityTypeManagerInterface $entityTypeManager

The entity type manager.

at line 63
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

at line 77
string getFormId()

{@inheritdoc}

Return Value

string

at line 100
array buildForm(array $form, FormStateInterface $form_state, OrderOperation $operation = OrderOperation::Auth, string $plugin_id = 'default', array $plugin_configuration = [], array|null $private_data = NULL)

Form constructor.

Parameters

array $form

An associative array containing the structure of the form.

FormStateInterface $form_state

The current state of the form.

OrderOperation $operation

The order operation.

string $plugin_id

The plugin id.

array $plugin_configuration

The plugin configuration.

array|null $private_data

The private data, will break if cached by pagecache..

Return Value

array

The form structure.

at line 149
void submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Parameters

array $form
FormStateInterface $form_state

Return Value

void