Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dfccd79

Browse filesBrowse files
feature #42644 [Security] Make AuthenticationTrustResolverInterface::isAuthenticated() non-virtual (chalasr)
This PR was merged into the 6.0 branch. Discussion ---------- [Security] Make `AuthenticationTrustResolverInterface::isAuthenticated()` non-virtual | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - The method has been added in #42510 (5.4) as a replacement for `isAnonymous()`. Commits ------- 32952ca [Security] Make `AuthenticationTrustResolverInterface::isAuthenticated()` non-virtual
2 parents 9abadf3 + 32952ca commit dfccd79
Copy full SHA for dfccd79

File tree

1 file changed

+5
-2
lines changed
Filter options

1 file changed

+5
-2
lines changed

‎src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
* Interface for resolving the authentication status of a given token.
1818
*
1919
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
20-
*
21-
* @method bool isAuthenticated(TokenInterface $token = null)
2220
*/
2321
interface AuthenticationTrustResolverInterface
2422
{
23+
/**
24+
* Resolves whether the passed token implementation is authenticated.
25+
*/
26+
public function isAuthenticated(TokenInterface $token = null): bool;
27+
2528
/**
2629
* Resolves whether the passed token implementation is authenticated
2730
* using remember-me capabilities.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.