BankIDCasePluginBase
abstract class BankIDCasePluginBase extends PluginBase implements BankIDCaseInterface
Base class for bank_id_case plugins.
Properties
| protected array<string, mixed> | $private | The private data. |
|
| protected string|null | $hashSalt | The hash salt. |
Methods
string
label()
Returns the translated plugin label.
void
setPrivateData(array $private_data)
Set the private data.
getBankIdRequestData()
Get the BankID request data.
void
setHashSalt(string|null $hashSalt)
Sets the hash salt.
string
hash(mixed $item)
Return hash of an item.
Details
at line 29
string
label()
Returns the translated plugin label.
at line 38
void
setPrivateData(array $private_data)
Set the private data.
at line 45
BankIDRequestDataInterface
getBankIdRequestData()
Get the BankID request data.
at line 59
abstract BankIDOrderDoneData
orderCompleted(BankIDResponse $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 64
BankIDOrderDoneData
orderCancelled(BankIDResponse $response)
Called when the order is cancelled.
at line 71
BankIDOrderDoneData
orderFailed(BankIDResponse $response)
Called when the order fails.
at line 86
void
setHashSalt(string|null $hashSalt)
Sets the hash salt.
at line 99
protected string
hash(mixed $item)
Return hash of an item.