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

Security

Token

0714305424 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 {#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 {#450
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#449 …}
}
13.08 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#893
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#134 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#403 …}
  -map: Symfony\Component\Security\Http\AccessMap {#79 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.28 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.20 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#432
  #user: App\Entity\User {#860 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#437
      -userIdentifier: "guard_authenticator_1a236e8bbbf65acd174f4cabd3c1100e"
      -userLoader: Closure() {#421 …}
      -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 {#61
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#62 …}
          -entityManager: Doctrine\ORM\EntityManager {#48 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDIyNzgxNzksImV4cCI6MTc0MjI5MjU3OSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTQzMDU0MjQiLCJ1c2VyX2lkIjo5MH0.o2clQ5Twhp8Z1HXI5Fk4y063rYWUZOQbSV6Z4o9gO0DsX5c29P03OQX35tdhOnhw5QDbzW5oVn7uiNrRj3WU2RROPG63bzvIIXdhKcbM9BpZ0kD3XumGUh4V2uu61j_GlbPITNJAf_PL95yP2vC0z1uTsduiRqSXIaMPPm6SNp8Vbz3-20KT2XoLk1l_MzaxmRxiMgeWN9ZFxgDVEZrLwzyiMQpqvvaJGhZuEF_Bk3PxQ3ad2YjrCrHwGgdZ4vd0C6nv4LtQRnfNf6VBVvAqEItz6X7jDDetYNd7XUvsSjAwllO-oqFtqjnJK-a8yr1bI-oz8qVGwQQNUX63aBM05nprcn7iW9qfuKvC3Y5g4uuoQgdhc3-B-TanMRSzKVgqXmeGuhK2h9rBCAR-reyvxVPISqdeH_PgAJDE8Ep7xa0l5-stL7vE_mzywrbLMK7aCNLPKCzna-0A1owQBEDHIEqrRmNzygpT0Vb88FFZIbuxIksUVSs7HVg-AMoulvNxB6xF2WZhRoEz4psGQe9ldCgzbo-MkWhzY8NaEdA1684B6uT8XSj07R054M_Ffyl88uqh_ZXwqfMUcKCpbUQOyQJ-l0OBXp8tt5Ot_tSyq0RI9Lq2Np4pfx4y8SnWIbWB7u3xl8bBu4OQNbnHl5EXavY_bKqZ2b3O6A-Mj70OIo0"
      -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=2249&last_parcel_id=1069955"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1165 …}
  #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