interface IntegrationInterface

An interface for all Integration type plugins.

Methods

string
getLabel()

Provide the Integration label.

UserInterface|null
getUser(array $response)

Get the user from the response.

UserInterface|null
createUser(array $response)

Create the user from the response.

string
hash(string $str)

Get the hash of a string.

Details

at line 20
string getLabel()

Provide the Integration label.

Return Value

string

A string label of the Integration.

at line 31
UserInterface|null getUser(array $response)

Get the user from the response.

Parameters

array $response

The response from the BankID service.

Return Value

UserInterface|null

The user object.

at line 42
UserInterface|null createUser(array $response)

Create the user from the response.

Parameters

array $response

The response from the BankID service.

Return Value

UserInterface|null

The user object.

at line 53
string hash(string $str)

Get the hash of a string.

Parameters

string $str

The string to hash.

Return Value

string

The hashed string.