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 {#626
  -user: App\Entity\User {#622 …}
  -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 {#85
  -map: Symfony\Component\Security\Http\AccessMap {#86 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#77 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#496
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#493 …}
}
13.67 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#655
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#147 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#494 …}
  -map: Symfony\Component\Security\Http\AccessMap {#86 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.27 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.24 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#429
  #user: App\Entity\User {#622 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#424
      -userIdentifier: "guard_authenticator_abfb611d8c249b0b875c78abc4191e11"
      -userLoader: Closure() {#423 …}
      -user: App\Entity\User {#622 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#428
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#68
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#69 …}
          -entityManager: Doctrine\ORM\EntityManager {#55 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzUyMzE5MjgsImV4cCI6MTc3NTI0NjMyOCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3OTU4OTM0MTIiLCJ1c2VyX2lkIjoxMDR9.1b8soJN4wdx7FhZZFlt18KkshhNvtTWRsLmU1KW-qvvPJcem3hcKHrHjj3ZeaGW5aq3PlrSKBaJ5f_gZCZ9M9oKLxHO1rlNEcY2CFwBebjKZ3dzwPIm28ASTKSkViNNVaPoePx_lfkS9YQBG1kpwuWl146ZyNwnxPclYMqBzcPoiVivmGnAz_D-auROe0CFWJNRB_zrLnOJO6c6R1mcAeBBc87Sxf_4rO3gtO_IY6fWZ8wTpQfLjAEmJfzdGfi0ydurAEObg_4js9vP8p3pDZqv1s7MCxz99jQFhXLIJoNR4XW3YxgST06gxei6b3M_kVaf5W4v_tlJoLq6uncXV_YODBDGVPhbqm71Lp4fXgsLfDlwtDX9r6QN3WX1sFymLR-x_v-PeZADTqNOgi0h_xmybpvJPSviEcZk6AarchXEjownJLyVd8yZiqundxZ4sm8A1G4QSs5Hn40SnDSQzWz8V3lxaS__gh5nn_-oumYPpZKfbvMdFpL62kBd4MAWFzSdqywtx9-lQpVUbLSUppHzJnCwChPUldrfZGa88A1VmpNTidBos4bMJROlxAWeqN7mDr0IivRmPYD3vKG1EGLk1Fl4n3F49THpV16oSUMhR8KCoS2n8Fn-ylT14TMh0zhzBytiGULOSxrdg_hrNuCg4QeQGQbdPX8pwYX9D3FA"
      -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 {#316 …}
  +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":77839,"id":0,"is_cancelled":false,"parcel":1319407}"
  #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 {#1935 …}
  #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