diff --git a/docs/es/authenticators.rst b/docs/es/authenticators.rst
index 5935099e..12d4a74c 100644
--- a/docs/es/authenticators.rst
+++ b/docs/es/authenticators.rst
@@ -276,8 +276,8 @@ se desconecta explícitamente vía ``AuthenticationComponent::logout()``, la coo
// Reuse fields in multiple authenticators.
$fields = [
- IdentifierInterface::CREDENTIAL_USERNAME => 'email',
- IdentifierInterface::CREDENTIAL_PASSWORD => 'password',
+ AbstractIdentifier::CREDENTIAL_USERNAME => 'email',
+ AbstractIdentifier::CREDENTIAL_PASSWORD => 'password',
];
// Put form authentication first so that users can re-login via
@@ -285,8 +285,8 @@ se desconecta explícitamente vía ``AuthenticationComponent::logout()``, la coo
$service->loadAuthenticator('Authentication.Form', [
'loginUrl' => '/users/login',
'fields' => [
- IdentifierInterface::CREDENTIAL_USERNAME => 'email',
- IdentifierInterface::CREDENTIAL_PASSWORD => 'password',
+ AbstractIdentifier::CREDENTIAL_USERNAME => 'email',
+ AbstractIdentifier::CREDENTIAL_PASSWORD => 'password',
],
]);
// Then use sessions if they are active.
diff --git a/docs/es/index.rst b/docs/es/index.rst
index 339ebfd9..206e9514 100644
--- a/docs/es/index.rst
+++ b/docs/es/index.rst
@@ -29,7 +29,7 @@ de clase::
use Authentication\AuthenticationService;
use Authentication\AuthenticationServiceInterface;
use Authentication\AuthenticationServiceProviderInterface;
- use Authentication\Identifier\IdentifierInterface;
+ use Authentication\Identifier\AbstractIdentifier;
use Authentication\Middleware\AuthenticationMiddleware;
use Cake\Http\MiddlewareQueue;
use Cake\Routing\Router;
@@ -76,8 +76,8 @@ el ``AuthenticationService`` que quiere usar. Agregue el siguiente método a su
]);
$fields = [
- IdentifierInterface::CREDENTIAL_USERNAME => 'email',
- IdentifierInterface::CREDENTIAL_PASSWORD => 'password'
+ AbstractIdentifier::CREDENTIAL_USERNAME => 'email',
+ AbstractIdentifier::CREDENTIAL_PASSWORD => 'password'
];
// Load the authenticators. Session should be first.
$service->loadAuthenticator('Authentication.Session');
diff --git a/docs/fr/authenticators.rst b/docs/fr/authenticators.rst
index 3638c81f..246f81e4 100644
--- a/docs/fr/authenticators.rst
+++ b/docs/fr/authenticators.rst
@@ -349,8 +349,8 @@ détruit**. Un exemple de configuration serait::
// Réutiliser les champs dans plusieurs authentificateurs.
$fields = [
- IdentifierInterface::CREDENTIAL_USERNAME => 'email',
- IdentifierInterface::CREDENTIAL_PASSWORD => 'password',
+ AbstractIdentifier::CREDENTIAL_USERNAME => 'email',
+ AbstractIdentifier::CREDENTIAL_PASSWORD => 'password',
];
// Placer l'authentification par formulaire en premier de façon à ce que les
@@ -358,8 +358,8 @@ détruit**. Un exemple de configuration serait::
$service->loadAuthenticator('Authentication.Form', [
'loginUrl' => '/users/login',
'fields' => [
- IdentifierInterface::CREDENTIAL_USERNAME => 'email',
- IdentifierInterface::CREDENTIAL_PASSWORD => 'password',
+ AbstractIdentifier::CREDENTIAL_USERNAME => 'email',
+ AbstractIdentifier::CREDENTIAL_PASSWORD => 'password',
],
]);
// Ensuite utiliser les sessions si elles sont actives.
diff --git a/docs/fr/index.rst b/docs/fr/index.rst
index 1f003eb2..5108a741 100644
--- a/docs/fr/index.rst
+++ b/docs/fr/index.rst
@@ -34,7 +34,7 @@ authentification. Tout d'abord, mettons en place le middleware. Dans votre
use Authentication\AuthenticationService;
use Authentication\AuthenticationServiceInterface;
use Authentication\AuthenticationServiceProviderInterface;
- use Authentication\Identifier\IdentifierInterface;
+ use Authentication\Identifier\AbstractIdentifier;
use Authentication\Middleware\AuthenticationMiddleware;
use Cake\Http\MiddlewareQueue;
use Cake\Routing\Router;
@@ -98,8 +98,8 @@ utiliser. Ajoutez la méthode suivante à votre **src/Application.php**::
]);
$fields = [
- IdentifierInterface::CREDENTIAL_USERNAME => 'email',
- IdentifierInterface::CREDENTIAL_PASSWORD => 'password'
+ AbstractIdentifier::CREDENTIAL_USERNAME => 'email',
+ AbstractIdentifier::CREDENTIAL_PASSWORD => 'password'
];
// Chargez les authentificateurs. Session est censé figurer en premier.
$service->loadAuthenticator('Authentication.Session');
diff --git a/docs/ja/index.rst b/docs/ja/index.rst
index 9d419922..6023daa0 100644
--- a/docs/ja/index.rst
+++ b/docs/ja/index.rst
@@ -32,7 +32,7 @@ CakePHPから `composer `_ でプラグインをイン
use Authentication\AuthenticationService;
use Authentication\AuthenticationServiceInterface;
use Authentication\AuthenticationServiceProviderInterface;
- use Authentication\Identifier\IdentifierInterface;
+ use Authentication\Identifier\AbstractIdentifier;
use Authentication\Middleware\AuthenticationMiddleware;
use Cake\Http\MiddlewareQueue;
use Psr\Http\Message\ServerRequestInterface;
@@ -69,8 +69,8 @@ CakePHPから `composer `_ でプラグインをイン
]);
$fields = [
- IdentifierInterface::CREDENTIAL_USERNAME => 'email',
- IdentifierInterface::CREDENTIAL_PASSWORD => 'password'
+ AbstractIdentifier::CREDENTIAL_USERNAME => 'email',
+ AbstractIdentifier::CREDENTIAL_PASSWORD => 'password'
];
// 認証者を読み込みます。セッションを優先してください。