https://sys.nenocourier.co.ke/api/data2?last_parcel_id=1392783&last_vehicle=2309&station_id=2

Security

Token

0759475030 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 {#84
  -map: Symfony\Component\Security\Http\AccessMap {#85 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#76 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#491
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#496 …}
}
34.26 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#654
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#148 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#471 …}
  -map: Symfony\Component\Security\Http\AccessMap {#85 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.29 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.27 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#423
  #user: App\Entity\User {#621 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#431
      -userIdentifier: "guard_authenticator_a5ecfbf25ced3d5c9a8771bbf20ad6f0"
      -userLoader: Closure() {#424 …}
      -user: App\Entity\User {#621 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#429
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#67
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#68 …}
          -entityManager: Doctrine\ORM\EntityManager {#54 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODQ3NDc2NTksImV4cCI6MTc4NDc2MjA1OSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3NTk0NzUwMzAiLCJ1c2VyX2lkIjoxNDZ9.zARAH4RMdY_OiKHcWaY111_uo4n5UQwky86cfm2BAmQdVM5qAg6YMDTdPPg9Ncg2wZJdszaSaGrUvGhi9NHNMSdMd1-EYdW5jHJ4RrXs3Lgo-PbtTtwTe7JVbLOyMS5BSDmMN8jWEFt4qv3Wee-R87-1X-vd5Hud_hbMuRQsG0sCRu3dW-naU7SQ1vx2SgOnGGXa9N8iTpR4M6XMkssbN9VffpXXj_jmR8fwkTfWrPfKbaYIGWRH8ZLNemvFz-WXMGjcw6RTsu6vwj6GEgewuSeqXBsOjZNJ7rW9QYrmwgdAxq1vYjAFyYivL-j9-39tk9VEa7occkFH0Vgj3ZsYRgVwb6ylWdZOtr1Dc4NlMQVWBmzPaJtczyTRNmIgSURxX-k3uLUds8j54ky04wAjjU8FmBdFcw-izm25D-QGReNj_xlmTVQA7vZqZEYLW1cj1ZYZccBA4yuRC4oVoYcb0NH5Ctrfw83YCqlf-DCA30FoVyrZtRftqEGhE-uRvsIyGIKGqI8ZEaZqFVPsMhWmYy3kPyDKgF1JLFddQr8NVi6ifmuEj-XU9zUm9LbzGZ5QEGDNenD1FPBigrzRKtien-xNixWD4wWEDbXbqAvj--Jt3rKvFdWF-_aHQVIhFWybsE3yGr6RvwKGrTbux38NACyHVtYqUg0aA2PEvsBRB6E"
      -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=2&last_vehicle=2309&last_parcel_id=1392783"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#979 …}
  #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