https://sys.nenocourier.co.ke/api/parcels/1/1127274

Security

Token

0728129749 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#864
  -user: App\Entity\User {#860 …}
  -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 {#83
  -map: Symfony\Component\Security\Http\AccessMap {#84 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#75 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#404
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#400 …}
}
9.69 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#893
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#138 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#412 …}
  -map: Symfony\Component\Security\Http\AccessMap {#84 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.19 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.07 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#421
  #user: App\Entity\User {#860 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#424
      -userIdentifier: "guard_authenticator_78ee5d041dbfa236a1afe4cf9e705459"
      -userLoader: Closure() {#417 …}
      -user: App\Entity\User {#860 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#436
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#66
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#67 …}
          -entityManager: Doctrine\ORM\EntityManager {#53 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NTE2MjY4ODQsImV4cCI6MTc1MTY0MTI4NCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MjgxMjk3NDkiLCJ1c2VyX2lkIjoxNTB9.YpMhbLqJzKKtE_E9VI8PXZs0tEO9lVhgeM0lqaRgCtKE31RKVrni3AxJoQ5bgIPBH8oX6ZQmdgv0quU7eyBJKaIp7Y3D8euadOAjV_v-VLUtN5JuNne1CnYRkAwyqa3OYxn0-yJgVXMoWIN-kZxe-KXsWUM5f_DfpZeOExGaNYK4_pYW1VCZ4RG5dlvN8TY2wyMmf2cl5KQmJn_CsQjLl7xdoAaiaL6GfBP9F4J1AEkxiWGOv-4uIkGzt1oIaCuXVuP_USO6mrsHdMQz9S3NW0ZlCeTv292bRBWtnXGCe6zv5pcVJ9QIXzixWV-bePHIDQW49P-1Asw0SM-Lr2Ln8O-Y8obcXD9YCcqwIrDX3Cz9Du9CfDerZ1yoOJ77h50kenJywx6vOPFanJDM1fY8qOteXXev5Xgbbgmw4MhGN47hjTki3irnyXYVoiklPs_aqWAJ7C2-yNVbcgZ_OFz3OIVGr0yZ3SbPxIea2JID6lT7kZi3iXt5NViEj1ABkz5w2rUNMaH6IR9ju8xR3zf9Llq4Yg-mt4ufbPcbR5l-fzz6nlWDx71l9bZK9ACp43imwm2my9tWCOTNEg_suVj_yKRdpQihMWXX7h7nbVH6Wmt_XxpvzH47IiFmHcUCsd03nSrs05mpkzltaW_-J6U2Q2Djeo9FoGk3zVZXa1OHSQ4"
      -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 {#10 …}
  +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: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/parcels/1/1127274"
  #requestUri: "/api/parcels/1/1127274"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1325 …}
  #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