DefaultCase
class DefaultCase extends BankIDCasePluginBase implements ContainerFactoryPluginInterface
Plugin implementation of the 'default' BankID case.
Properties
| protected array | $private | The private data. |
from BankIDCasePluginBase |
Methods
Called when the authentication is complete.
Called when the order is cancelled.
Called when the order fails.
No description
{@inheritDoc}
Details
in
BankIDCasePluginBase at line 23
string
label()
Returns the translated plugin label.
in
BankIDCasePluginBase at line 31
void
setPrivateData(array $private_data)
Set the private data.
in
BankIDCasePluginBase at line 38
array
getRequirements()
Get the requirements for the order.
in
BankIDCasePluginBase at line 45
string
getHiddenData()
Get the hidden data for the order.
in
BankIDCasePluginBase at line 52
string
getVisibleData()
Get the visible data for the order.
in
BankIDCasePluginBase at line 59
string
getVisibleDataFormat()
Get the visible data format for the order.
at line 80
BankIDOrderDoneData
orderCompleted(array $response)
Called when the authentication is complete.
This method can be responsible, for example, for creating a user account or logging in an existing user based on the response from the BankID service.
in
BankIDCasePluginBase at line 71
BankIDOrderDoneData
orderCancelled(array $response, string $order_ref)
Called when the order is cancelled.
in
BankIDCasePluginBase at line 78
BankIDOrderDoneData
orderFailed(array $response)
Called when the order fails.
at line 43
__construct(array $configuration, $plugin_id, $plugin_definition, AuthmapInterface $authmap, ExternalAuthInterface $externalAuth, ConfigFactoryInterface $config_factory, IntegrationManager $integrationManager)
No description
at line 60
static
create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
{@inheritDoc}