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 {#865
  -user: App\Entity\User {#861 …}
  -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 {#84
  -map: Symfony\Component\Security\Http\AccessMap {#85 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#76 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#400
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#409 …}
}
13.11 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#894
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#138 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#411 …}
  -map: Symfony\Component\Security\Http\AccessMap {#85 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.23 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.31 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#436
  #user: App\Entity\User {#861 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#417
      -userIdentifier: "guard_authenticator_fe11c4f637c676bbdeb307b2c81ed58f"
      -userLoader: Closure() {#421 …}
      -user: App\Entity\User {#861 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#447
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#67
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#68 …}
          -entityManager: Doctrine\ORM\EntityManager {#54 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NTEzNjYzMDQsImV4cCI6MTc1MTM4MDcwNCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTQxNTA4NzYiLCJ1c2VyX2lkIjoxMDF9.xDmsFZN1uxpUS5K2adSFux5rQDRsWElgvB8pHCltAKIN4FEVvVBOmwsYn8y4shSuJmmVn5eWGgyfz77JhM0eR5etl88d5GrHTvkLdMxbKLdyJb3NpuvOLJaYQ04bDEPekBk50XjhAJhiEEqSdQoytydupktWotrZP_HoKzprjB_Mk4TjF6XOWvvrJKckUYmZNIjwsestA60kkgE--88CCk1YS3bLXjhghwTeXefsho-QTbYL1uIqgCvHEgs_bhvrdZvDBG7mWX8rmUzYrMUheeYqVizf7DV_iMzHV3B1Dg1BMze7RYL_z8gZHN20g-xPPvsS1PsDXJGL1vJ2xAa_R9zvZXLTypOt55sn7lOxm34GSXHiip25vwBn1FqmD8L1ZKIcreL0JwotOSEXSw47p3sFKJyCsptmRnh0ygsO-ufpS-Ot27CaSO86yk0dfiO7yhB0wt5qyw7qo27deRZ1w3wGD8qRr7oa-Y80RanhmxWLrY_wRGNvVzBXPDKeFpFsRduHSkA94uoEVGR8BaAOysvvXE6ULTxeq0sZR3hOkQkzVJh4U6MSyGQbS38kEdoFluZFLNvxgcvDIV9SXlCROjI_6zFBvjL4XMtCv9jy89jxZRP82zuCKjFJ6clKeGiwjZX44QwfC8qF58d3O3KS1V3HMc5X7fd6HLwQ0CacYTM"
      -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 {#313 …}
  +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":69236,"id":0,"is_cancelled":false,"parcel":1136427}"
  #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 {#1676 …}
  #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