BankIDCaseInterface
interface BankIDCaseInterface
Interface for BankID Case plugins.
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 17
string
label()
Returns the translated plugin label.
at line 25
void
setPrivateData(array $private_data)
Set the private data.
at line 36
array
getRequirements()
Get the requirements for the order.
at line 47
string
getHiddenData()
Get the hidden data for the order.
at line 58
string
getVisibleData()
Get the visible data for the order.
at line 69
string
getVisibleDataFormat()
Get the visible data format for the order.
at line 85
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 99
BankIDOrderDoneData
orderCancelled(array $response, string $order_ref)
Called when the order is cancelled.
at line 111
BankIDOrderDoneData
orderFailed(array $response)
Called when the order fails.