Security

Token

simon@kayo.digital Username
Authenticated
Property Value
Roles
[
  "ROLE_ADMIN"
  "ROLE_USER"
]
Inherited Roles none
Token
Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken {#385
  -user: App\Entity\User {#373 …}
  -roleNames: [
    "ROLE_ADMIN"
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "dev"
}

Firewall

dev Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context dev
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\Security\ApiTokenAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#209
  -map: Symfony\Component\Security\Http\AccessMap {#207 …}
  -logger: Symfony\Component\HttpKernel\Log\Logger {#63 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#216
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#121 …}
  -sessionKey: "_security_dev"
  -logger: Symfony\Component\HttpKernel\Log\Logger {#63 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#215 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#210 …}
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#190 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#222 …}
}
1.90 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#246
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#245 …}
}
53.46 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#421
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#127 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#223 …}
  -map: Symfony\Component\Security\Http\AccessMap {#207 …}
}
0.52 ms (none)

Authenticators

Authenticator Supports Authenticated Duration Passport Badges
"App\Security\ApiTokenAuthenticator"
48.60 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#369
  #user: App\Entity\User {#373 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#466
      -userIdentifier: "simon@kayo.digital"
      -userLoader: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider::loadUserByIdentifier(string $identifier): UserInterface {#402 …}
      -user: App\Entity\User {#373 …}
      -attributes: null
    }
  ]
  -attributes: []
}
UserBadge

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_ADMIN
Symfony\Component\HttpFoundation\Request {#17
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#58 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#56 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#57 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#61 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#60 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#59 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#62 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/customer/details"
  #requestUri: "/api/customer/details?barcode=5000000000005&token=ba6096ebb45f4444e65a392e086b4527"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#240 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
ACCESS GRANTED
Show voter details