https://courier.ohau.co.ke/api/deliveries/parcels

Security

Token

0795893412 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#615
  -user: App\Entity\User {#611 …}
  -roleNames: [
    "ROLE_USER"
    "ROLE_CLERK"
  ]
  -authenticated: true
  -attributes: []
  -providerKey: "api"
}

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.sys_users
context (none)
entry_point security.authenticator.guard.api.0
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "guard"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#81
  -map: Symfony\Component\Security\Http\AccessMap {#82 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#73 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#321
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#318 …}
}
23.03 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#644
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#142 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#313 …}
  -map: Symfony\Component\Security\Http\AccessMap {#82 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.84 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.17 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#425
  #user: App\Entity\User {#611 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#420
      -userIdentifier: "guard_authenticator_7ad604de66684670f4bd88844c18679e"
      -userLoader: Closure() {#418 …}
      -user: App\Entity\User {#611 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#434
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#64
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#65 …}
          -entityManager: Doctrine\ORM\EntityManager {#52 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MzczODc0MjIsImV4cCI6MTczNzQwMTgyMiwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3OTU4OTM0MTIiLCJ1c2VyX2lkIjoxMDR9.d3pmBpfnHyV7t_kFzB9AuXl1ztFb2x39qGuQtMUr7EjOnFpEZyw1qb6KD9JrHjJCXQG6VTvx7h-PgEBIH9nw1cYUwfUGJUs68-GwvK_3gNE5NB6G5eru37f_GQzKbyYaMPy61MYiqS3FR3xvZvLlDMhiSiu3t8kF2sjiJggp2U1kARcdR9btcB-wC4ADHJ7roZ9Rd_zVmIpEbP948jNnSxhtnCEEaCnyPfx3E7c1Bbh6vXxZ59RFk7AoQby8FkMiPWTCu6RjwJQlqTdwCU1-OkSPHdVVGsnI0RFwJqO--ZYU5fX9khcLNlk9-4uLfGOnj8YibzS4bBEKTrk1axGUAKejeL8WoXIeDZ0l9eFpZqsFjehFBoxn992eym1Nf8hqbvrk8xL4A5OPMEyEgA6vAnwv-A3jw09nY_xeHMCWViuAhe8csZrauOsiOwPxnHEEhYIUbD5wbcoa8KLTHmi3v7UVftOaGWMCeNLxRCYB-WkVmupbJuI_JeXxCrtwLtncR3PCLBpIszWM6BWDKl9nlIDoiy2TH4bbxR1E74BjcG1XPe-1OPZpHs70TUe5pIIDA7Mf1Y4Pqtc8xXRxVFY1XyLfiJKD0ZwoeCap-gJXb_BehhE9V0o83tTY7pfHdQ125cen8XQV9_LH6svJ86-w7OGRFHvOrcKX_Kfwp4Un7vA"
      -resolved: true
    }
  ]
  -attributes: []
}

Access Decision

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

Access decision log

# Result Attributes Object
1 GRANTED ROLE_CLERK
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#14 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#374 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#9 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#17 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#16 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#15 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#18 …}
  #content: "{"delivery":63293,"id":0,"is_cancelled":false,"parcel":1032172}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/deliveries/parcels"
  #requestUri: "/api/deliveries/parcels"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1920 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: null
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
ACCESS GRANTED
Show voter details