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

Security

Token

0729804398 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 …}
}
32.92 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.89 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.16 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_5a505c921c659169b2a931bec9f9ed75"
      -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.eyJpYXQiOjE3MzcxNzM0MTUsImV4cCI6MTczNzE4NzgxNSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3Mjk4MDQzOTgiLCJ1c2VyX2lkIjo1N30.cm3liiIcKnrwcTiatGnJk3G-PHSynz5KofsfxJIaLwN5NEouPbIPH1zeMqay-TIehPpirCJ5gYhPlLqisdT1hkZBOPBXF0wAYt5WQBdcSWg0n8r6n7-f0tI3HvSIhQFvuZ9gWFHmOoS2P_OuMifUeMx9f5krpjpTmAJaNE5aH13v5iNR0Xn4C9qTFj8c0vV3eJcE-g3kSFaHQRoirOff3Ew-zeTGVkI_oyY2QFPMpJ-evtj2To4aF4vrTrk_gKjLw_MFgzNySgIg4Gvj44ih5R0BjuDM1u22RTxSmlAIXNhEh7oT9c_QGNeAhPH_NonyYFerPdULooGX8QiK7urqPPVzbG0-Wzp6oZvC2X1Ft5SuIZ9Or6O35dlOlZv3l8waowNLq28Wsq4xBGAYgy2s3m2mAq8VhOaYvZ5xZ6Hf7I5hAlq0LNdg9qFqN7fsyRg-8OC56U98qOxqhi3teLM0SFSiXNOU_jnXl1RcKRi_jQsRYZ3p4z-RCzQZ6g5WYT2DoESB5m1hAoz3MDyQH1H93ud_o6B_KTtl9sjnd2umNSFhXu1Nq-ledeuzxnoMQIYQrC_sefmwhWM6wbmKuCiUmBDdQ6pyKTpPn-O3HTzELC7hvnHPHsEyTV2gcfjKauj72NyYpQmTRAVPMGRozAJHV9O75rV2xg9Oo1lpNP58Zr8"
      -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: "{"parcels":[{"description":"c/sack spare"}],"receiverName":"BENJAMIN GITONGA","receiverPhoneNumber":"0726 687 501","senderName":"LYDIA","senderPhoneNumber":"0703 908 314","toStation":1,"transaction":{"amount":300,"pinNumber":""}}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/parcels/new"
  #requestUri: "/api/parcels/new"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#843 …}
  #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