BankIDCasePluginBase
abstract class BankIDCasePluginBase extends PluginBase implements BankIDCaseInterface
Base class for bank_id_case plugins.
Properties
| protected array | $private | The private data. |
Methods
Returns the translated plugin label.
Set the private data.
Get the requirements for the order.
Get the hidden data for the order.
Get the visible data for the order.
Get the visible data format for the order.
Called when the authentication is complete.
Called when the order is cancelled.
Called when the order fails.
Details
at line 23
string
label()
Returns the translated plugin label.
at line 31
void
setPrivateData(array $private_data)
Set the private data.
at line 38
array
getRequirements()
Get the requirements for the order.
at line 45
string
getHiddenData()
Get the hidden data for the order.
at line 52
string
getVisibleData()
Get the visible data for the order.
at line 59
string
getVisibleDataFormat()
Get the visible data format for the order.
at line 66
abstract 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.
at line 71
BankIDOrderDoneData
orderCancelled(array $response, string $order_ref)
Called when the order is cancelled.
at line 78
BankIDOrderDoneData
orderFailed(array $response)
Called when the order fails.