GET https://topavi.dracoder.com/api/distributor/product/cf2e73e1-7927-5e95-a16b-831a03e29090/image

Security

Token

distribuidortopavi Username
Authenticated
c0ff54 From
Property Value
Roles
[
  "ROLE_DISTRIBUTOR"
  "ROLE_USER"
]
Inherited Roles none
Token
Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken {#480
  -user: App\Entity\User {#636 …}
  -roleNames: [
    "ROLE_DISTRIBUTOR"
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "main"
  -originatedFromUri: "/api/switch-to-user"
  -originalToken: Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#470 …}
}

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\AuthenticationEntryPoint
user_checker security.user_checker
access_denied_handler App\Security\AccessDeniedHandler
access_denied_url (none)
authenticators
[
  "switch_user"
  "two_factor"
  "json_login"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#90
  -map: Symfony\Component\Security\Http\AccessMap {#75 …}
  -logger: Symfony\Component\HttpKernel\Log\Logger {#297 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#95
  -sessionKey: "_security_main"
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#30 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#71 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#162 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#96 …}
  -logger: Symfony\Component\HttpKernel\Log\Logger {#297 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#34 …}
}
47.59 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#462
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#439 …}
}
(none) (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#452
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#429 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#434 …}
  -firewallName: "main"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#453 …}
  -logger: Symfony\Component\HttpKernel\Log\Logger {#297 …}
  -usernameParameter: "switch_to_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#268 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#177 …}
  -targetRoute: "app_me"
}
(none) (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#427
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#209 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#423 …}
}
0.24 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#422
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#453 …}
  -map: Symfony\Component\Security\Http\AccessMap {#75 …}
}
2.45 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#113
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "api_logout"
  ]
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …}
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#159 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#34 …}
  -csrfTokenManager: null
}
(none) (none)

Authenticators

Status Authenticator
skipped
"Scheb\TwoFactorBundle\Security\Http\Authenticator\TwoFactorAuthenticator"

This authenticator did not support the request.

skipped
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"

This authenticator did not support the request.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_DISTRIBUTOR
Symfony\Component\HttpFoundation\Request {#11
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#63 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#61 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#62 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#66 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#65 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#64 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#67 …}
  #content: ""
  #languages: [
    "en"
    "es_ES"
    "es"
    "en_US"
  ]
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/distributor/product/cf2e73e1-7927-5e95-a16b-831a03e29090/image"
  #requestUri: "/api/distributor/product/cf2e73e1-7927-5e95-a16b-831a03e29090/image"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#409 …}
  #locale: "en"
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_DISTRIBUTOR.
Show voter details