Skip to content

Commit

Permalink
fix styling for upgrade 2 to 3 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Jan 7, 2024
1 parent 5ebeb15 commit bfbe7b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/en/upgrade-2-to-3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Upgrading from 2.x to 3.x
composer require cakephp/authentication:^3.0 -W
or adjust your `composer.json` file manually and perform `composer update -W`
or adjust your ``composer.json`` file manually and perform ``composer update -W``

Breaking changes
================
Expand All @@ -14,8 +14,8 @@ Breaking changes
to match the docblock annotations, but include fixes for incorrect annotations.
- Type declarations were added to all class properties where possible. These also include some fixes for
incorrect annotations.
- `\Authentication\Identifier\IdentifierInterface::CREDENTIAL_USERNAME` was moved to `\Authentication\Identifier\AbstractIdentifier::CREDENTIAL_USERNAME`.
- `\Authentication\Identifier\IdentifierInterface::CREDENTIAL_PASSWORD` was moved to `\Authentication\Identifier\AbstractIdentifier::CREDENTIAL_PASSWORD`.
- `\Authentication\Identifier\IdentifierInterface::CREDENTIAL_TOKEN` was moved to `\Authentication\Identifier\TokenIdentifier::CREDENTIAL_TOKEN`.
- `\Authentication\Identifier\IdentifierInterface::CREDENTIAL_JWT_SUBJECT` was moved to `\Authentication\Identifier\JwtSubjectIdentifier::CREDENTIAL_JWT_SUBJECT`.
- `AuthenticationMiddleware` cannot be configured anymore. Configuration needs to happen on the `AuthenticationService` object.
- ``\Authentication\Identifier\IdentifierInterface::CREDENTIAL_USERNAME`` was moved to ``\Authentication\Identifier\AbstractIdentifier::CREDENTIAL_USERNAME``.
- ``\Authentication\Identifier\IdentifierInterface::CREDENTIAL_PASSWORD`` was moved to ``\Authentication\Identifier\AbstractIdentifier::CREDENTIAL_PASSWORD``.
- ``\Authentication\Identifier\IdentifierInterface::CREDENTIAL_TOKEN`` was moved to ``\Authentication\Identifier\TokenIdentifier::CREDENTIAL_TOKEN``.
- ``\Authentication\Identifier\IdentifierInterface::CREDENTIAL_JWT_SUBJECT`` was moved to ``\Authentication\Identifier\JwtSubjectIdentifier::CREDENTIAL_JWT_SUBJECT``.
- ``AuthenticationMiddleware`` cannot be configured anymore. Configuration needs to happen on the ``AuthenticationService`` object.

0 comments on commit bfbe7b2

Please sign in to comment.