DefaultIntegration
class DefaultIntegration extends IntegrationBase
Constants
| PROVIDER_NAME |
|
Properties
| protected ExternalAuthInterface | $externalAuth | The externalauth service. |
from IntegrationBase |
Methods
__construct(array $configuration, $plugin_id, $plugin_definition, ExternalAuthInterface $externalAuth)
Constructs a new \Drupal\bankid\IntegrationBase object.
from
IntegrationBase
static
create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
{@inheritdoc}
from
IntegrationBase
UserInterface|null
getUser(array $response)
Get user from a BankID JSON response.
UserInterface|null
createUser(array $response)
Create a user from a BankID JSON response.
Details
in
IntegrationBase at line 34
__construct(array $configuration, $plugin_id, $plugin_definition, ExternalAuthInterface $externalAuth)
Constructs a new \Drupal\bankid\IntegrationBase object.
in
IntegrationBase at line 42
static
create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
{@inheritdoc}
in
IntegrationBase at line 54
string
getLabel()
Provide the Integration label.
at line 25
UserInterface|null
getUser(array $response)
Get user from a BankID JSON response.
at line 34
UserInterface|null
createUser(array $response)
Create a user from a BankID JSON response.
in
IntegrationBase at line 71
string
hash(string $str)
Get the hash of a string.