You are here

public function CredentialsCheckFloodInterface::isAllowedAccount in Commerce Core 8.2

Whether or not a credentials check with the given account is allowed.

Parameters

string $ip: The client IP address.

string $name: The account name.

Return value

bool TRUE if credentials check is allowed, FALSE otherwise.

1 method overrides CredentialsCheckFloodInterface::isAllowedAccount()
CredentialsCheckFlood::isAllowedAccount in src/CredentialsCheckFlood.php
Whether or not a credentials check with the given account is allowed.

File

src/CredentialsCheckFloodInterface.php, line 64

Class

CredentialsCheckFloodInterface
Provides a flood service tailored to login credential checks.

Namespace

Drupal\commerce

Code

public function isAllowedAccount($ip, $name);