https://sys.nenocourier.co.ke/api/data2?last_parcel_id=1247215&last_vehicle=2268&station_id=1

Security

Token

0714597505 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#624
  -user: App\Entity\User {#620 …}
  -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 {#410
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#409 …}
}
23.83 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#653
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#136 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#405 …}
  -map: Symfony\Component\Security\Http\AccessMap {#79 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.48 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.36 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#448
  #user: App\Entity\User {#620 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#422
      -userIdentifier: "guard_authenticator_65d32272b848ba5af6d6b1771eb50df0"
      -userLoader: Closure() {#437 …}
      -user: App\Entity\User {#620 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#443
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#61
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#62 …}
          -entityManager: Doctrine\ORM\EntityManager {#48 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjYwNjMxMTEsImV4cCI6MTc2NjA3NzUxMSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTQ1OTc1MDUiLCJ1c2VyX2lkIjo2OX0.gP1S6Igb4Xn6UgQiW3lYT2a9CHcMNCo96pFnRGwxm13f6NkZSlS47meL1jAgiAUGIyM2XxT3SMVphxILbfuzAcBi_Pn2EbpNTHU0tnKUitwZ_LHoL-xIbIljryveprDnF527432jbQJHhO98dZGu0haRNuJa6ShJU7fQ3tzf0qlxbVpK81rnqRdXAI1RG5xyQVK9gzzG6erpILePTUuIclw-rqK40W6KAJAYABfBQkoo9PO2fa08bfilJPseenqHTzWhJ-ubnjpxq2jF2rpuMqy2n0f_G-we9Qd-Mu1sKjB8bGKrLjZDJvMnmFjvIcQ4yt_39crMTMhJrD8Ja4QQ9efLkVf2z3DxW6yq-gBCsUqYHKaIW5M4lq5fqmcPwGr6n-dcVAguNwM-IZExNtzYf0gi4APzgI_QuPIFyWOjrOF2rT78tDOr6zvxoOeShszEiEWG2JVherVZn0IKteX-R4pYvdbfpgHkf_jN1_ivjy-A8_YcG_9NVmMIiTlQMUhyB-zp0xyqhKdqM6nu8MhPr0zAHKpz3eWdMEBcp16-dwL5ez2ilzrlBtJs75ZMXKLSRDrwpsdoWBtX3HCyVRv4E6MxYi1y1G2YSfZDw3ht2HN_u8DvKH5vlLzD2IgurslwtQBMSj9sWUl7uarqQU8xeEoXBdOBto3mZLcu18irU8A"
      -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/data2"
  #requestUri: "/api/data2?station_id=1&last_vehicle=2268&last_parcel_id=1247215"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#981 …}
  #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