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 {#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 {#451
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#450 …}
}
7.30 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#894
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#134 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#404 …}
  -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.05 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#433
  #user: App\Entity\User {#861 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#438
      -userIdentifier: "guard_authenticator_5c0de09b42d308b3e3fd80c696eba03d"
      -userLoader: Closure() {#422 …}
      -user: App\Entity\User {#861 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#437
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#63
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#64 …}
          -entityManager: Doctrine\ORM\EntityManager {#50 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDY4MDI4MzAsImV4cCI6MTc0NjgxNzIzMCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTQxNTA4NzYiLCJ1c2VyX2lkIjoxMDF9.0752ju62GDaWeXxyfxTemJ_pIy9fAV2N9cp0nqoScw07bpuqEWtFklxKKDJK6fscx2neGDeCjnSV1KytUuvh_DDbFTqZy2fUkPMtLFtK9EA8CE9yI0NHSDbVG9GtP1zCZVzmowIKWq_neZ74zIdQNo60HuRLABAbcbwVxdIdLNa1wesdTwJaqwIOjXWvnkr8QBUbMvs1T0pofG8NA0PQNJiC-3_uA_Q6tQcvO1ovWvMmzGCUMLa-eARDtxGNP5ZceXD1DK16kW67JXZsM3is_zo-xLnSHxqbAhxzEvZVbtLxwtyx8lw8AVjGSbCxaTZo5Ae09PAI0zUchyVPl2yag7zel026ltxmOR4L_secVvv3SnY34VUQyPAH6a2rDvIgy4TJPx3-l-dsSa3gpIGahhkvm2L3Ej0Clxiw0GpLvsWe34HXiOSjqnHshbRBxslyjtqxqG3G23OBFfrV3HZ3C6dSn9qFo2OUfmjwH1InaugVHpEZYtt_wgf7o77fwX52xGJJZbaxY7JXcY3XDMv-CeWmvFxF7VvR-88J7v9lvEMzKi0yiyJrxVJONKvtc_BHLktX3-Fc2xIALTImCDfARXdl8to15mNlIaqgj_wYbA7UHdLoIt2zx9-hbSX_qIMj_TcIW1evetapCl_twLgT9bggtVWPS2N40kIp5rPfAmM"
      -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 {#322 …}
  +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":67316,"id":0,"is_cancelled":false,"parcel":1103194}"
  #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 {#1775 …}
  #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