Security
Token
| Property | Value |
|---|---|
| Roles |
[ "ROLE_ADMIN" "ROLE_USER" ] |
| Inherited Roles | [
"IS_AUTHENTICATED_ANONYMOUSLY"
] |
| Token | Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken {#611 -user: App\Entity\User {#898 …} -roleNames: [ "ROLE_ADMIN" "ROLE_USER" ] -attributes: [] -firewallName: "main" } |
Firewall
main
Name
Security enabled
Stateless
Configuration
| Key | Value |
|---|---|
| provider | security.user.provider.concrete.app_user_provider |
| context | main |
| entry_point | App\Security\AppCustomAuthenticator |
| user_checker | security.user_checker |
| access_denied_handler | (none) |
| access_denied_url | (none) |
| authenticators | [ "two_factor" "remember_me" "App\Security\AppCustomAuthenticator" ] |
Listeners
| Listener | Duration | Response |
|---|---|---|
Symfony\Component\Security\Http\Firewall\ChannelListener {#613 -map: Symfony\Component\Security\Http\AccessMap {#614 …} -logger: Monolog\Logger {#603 …} -httpPort: 80 -httpsPort: 443 } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\ContextListener {#660 -sessionKey: "_security_main" -registered: false -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#601 …} -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#663 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#246 …} -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#661 …} -logger: Monolog\Logger {#603 …} -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#550 …} } |
20.11 ms | (none) |
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#695 -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#671 …} } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\LogoutListener {#606 -options: [ "csrf_parameter" => "_csrf_token" "csrf_token_id" => "logout" "logout_path" => "app_logout" ] -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#245 …} -httpUtils: Symfony\Component\Security\Http\HttpUtils {#77 …} -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#550 …} -csrfTokenManager: Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#318 …} } |
(none) | (none) |
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#697 -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#175 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#245 …} -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#698 …} } |
0.02 ms | (none) |
Symfony\Component\Security\Http\Firewall\AccessListener {#701 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#245 …} -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#325 …} -map: Symfony\Component\Security\Http\AccessMap {#614 …} } |
7.82 ms | (none) |
Authenticators
| Status | Authenticator |
|---|---|
| skipped |
"App\Security\AppCustomAuthenticator" This authenticator did not support the request. |
| skipped |
"Scheb\TwoFactorBundle\Security\Http\Authenticator\TwoFactorAuthenticator" This authenticator did not support the request. |
| skipped |
"Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator" This authenticator did not support the request. |
Access Decision
affirmative
Strategy
Access decision log
| # | Result | Attributes | Object | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | GRANTED | ROLE_ADMIN | null |
||||||||
|
|||||||||||
| 2 | GRANTED | IS_AUTHENTICATED_FULLY | null |
||||||||
|
|||||||||||
| 3 | GRANTED | ADMIN_2FA | null |
||||||||
|
|||||||||||
| 4 | GRANTED |
Expression:
|
Symfony\Component\HttpFoundation\Request {#2 +attributes: Symfony\Component\HttpFoundation\ParameterBag {#17 …} +request: Symfony\Component\HttpFoundation\InputBag {#7 …} +query: Symfony\Component\HttpFoundation\InputBag {#12 …} +server: Symfony\Component\HttpFoundation\ServerBag {#20 …} +files: Symfony\Component\HttpFoundation\FileBag {#19 …} +cookies: Symfony\Component\HttpFoundation\InputBag {#18 …} +headers: Symfony\Component\HttpFoundation\HeaderBag {#21 …} #content: "" #languages: null #charsets: null #encodings: null #acceptableContentTypes: null #pathInfo: "/admin/api-docs" #requestUri: "/admin/api-docs" #baseUrl: "" #basePath: "" #method: "GET" #format: null #session: Symfony\Component\HttpFoundation\Session\Session {#573 …} #locale: "ru" #defaultLocale: "en" -preferredFormat: null -isHostValid: true -isForwardedValid: true -isSafeContentPreferred: ? bool -trustedValuesCache: [ "2\x0092.77.126.60\x00172.23.0.6\x00" => [ "92.77.126.60" ] "4\x00\x00\x00" => [] "32\x00\x00\x00" => [] "8\x00https\x00\x00" => [ "https" ] "16\x00\x00\x00" => [] ] -isIisRewrite: false : "html" } |
||||||||
|
|||||||||||
| 5 | GRANTED | ROLE_ADMIN | null |
||||||||
|
|||||||||||
| 6 | GRANTED | ROLE_ADMIN | null |
||||||||
|
|||||||||||