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

Security

Token

0714150876 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 {#80
  -map: Symfony\Component\Security\Http\AccessMap {#81 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#72 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#317
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#319 …}
}
10.31 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#644
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#141 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#314 …}
  -map: Symfony\Component\Security\Http\AccessMap {#81 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.17 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.14 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#433
  #user: App\Entity\User {#611 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#417
      -userIdentifier: "guard_authenticator_7ed4a4b0919884d65e624b7dc9fc337b"
      -userLoader: Closure() {#424 …}
      -user: App\Entity\User {#611 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#409
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#63
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#64 …}
          -entityManager: Doctrine\ORM\EntityManager {#51 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Mjc1Mzk3MDksImV4cCI6MTcyNzU1NDEwOSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTQxNTA4NzYiLCJ1c2VyX2lkIjoxMDF9.HhAeRtY_o8Mw4GKBSWXaFZlv0T0-Ea4Ce_oIbE-6tQnBVZ-WKeyeqHXqmrCDxfHhW-2pbGQAeEKerbof_FjfyN9uKuIopJ2WiBHwa3kP3D5LDNr2gy9gDZpqvFXeDwA1zfoZzx2FJW2KGKahee8ifwLnP2jfgQwDp7uRv5aX4ZH0Uw0vOdVqhBTtZLXtMjMPNTimuSE6_Uf4rnRqm7zpcn8Ych3fBtQoiefazepp2Mahzjny7SK2DIvFgDMVysmG14ZIO6qI725InzMtqbKmJe5lyW-0cosq66mQ5gVShs-jiZk4ABRm52ey-DhJ0NEr_8-ifICsr3wlS9FqvPqrcpcC1uuc_6RlznbVLadNWhWp3om1K5MayFr55fIUB96WRQlmubOsWZSTfKSFNXa6SytKEOYUM-5TocRENhYv2b06b0I2wgC38YE_CmdRgQ3MLIQNm8_rb2PEA10XIfpQ3eojubT1vyY9-jg1hA9S2SIPaxhgPBSYWQIKsxCm-3w4UHnE_yxEiBkQ3LFKxq-zJua7g0PDSmsuwFL59GUrEffWDZWiDu35wpNJyJLGlP0DNmnj_On74LK1wAf8q0KlPPXOhZkahGC9_sn0pYPTumxwMZ_Hk-QNkx_r4THazCXHqVtQBnuQtOTX3tLWs9zLe5QjFuZEJXstczuScrfsBV0"
      -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 {#351 …}
  +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":59156,"id":0,"is_cancelled":false,"parcel":960826}"
  #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 {#1707 …}
  #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