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 {#625
  -user: App\Entity\User {#621 …}
  -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 {#78
  -map: Symfony\Component\Security\Http\AccessMap {#79 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#70 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#413
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#455 …}
}
15.83 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#654
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#136 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#409 …}
  -map: Symfony\Component\Security\Http\AccessMap {#79 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.22 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.26 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#426
  #user: App\Entity\User {#621 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#447
      -userIdentifier: "guard_authenticator_08af314cf144ed235d6cc4c09221df7b"
      -userLoader: Closure() {#442 …}
      -user: App\Entity\User {#621 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#437
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#61
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#62 …}
          -entityManager: Doctrine\ORM\EntityManager {#48 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjQ2NjE1MTUsImV4cCI6MTc2NDY3NTkxNSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTQxNTA4NzYiLCJ1c2VyX2lkIjoxMDF9.kk78LEkTLWUxdJT6II-yulA7N_nrr21JccHAERIz4xr9t8DZbuYHeFJ8Ys1q1WjDPnpefMbqLCA9-GQ8_UOoZ0i6RclNChA_fUzgQHx5jPIGc8_iZKuCn-qpgGOhQJxTg69OefbUEMp5O12ClEOJhpOHLtNlYcOIBK9m7OeDk6OEMl6590ChVr65bHTc3U4efNG4suQl1tBqWz9f7sOmXPF1L43Ba2GNzq8bhtV2SK3tttIOjhhqF1pI2-JrU6JldwfRIOeBDSm5rMRHps2G5hQRtowr4pjc9EAo7EeADIlgQ6SI46KWwDPXcnGs02eNSjE7GyHDGGJAWLgXsS-KzGNkzEZrsutnFxDBZADecYQW8zneBG_h8BIGxOfJQUqDjo54eZ9ZsEn-Iqp2yUw2IyaePd_6oAb-JXINZW6qXhDGjVlfUfeQswIZNqWYns8TAE5L_XSq4kGY0GjeIlMH7EE65w49QFmb6nMd1er3u5r-0yKKNCrLOUokGtzA2S_8M59YX73B2y4F5E3TBOZnN5hbHGLlElpIzwayFQuhsQcDGmbU_xh_pk-r5ZeEhmdbYZPmg9kg7wxF6nFEQ9CD1CPizHpQZfjqv2k39e6Te2cvOVi1HgY6OeR5WFr1_XRyXG_p5PyowDWQ5qX1N5MA0uFPibkgxeUSQ0gNfhEQW-w"
      -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 {#339 …}
  +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":74379,"id":0,"is_cancelled":false,"parcel":1235070}"
  #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 {#1730 …}
  #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