https://sys.nenocourier.co.ke/api/parcels/2/1077534

Security

Token

0718940588 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 {#79
  -map: Symfony\Component\Security\Http\AccessMap {#80 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#71 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#409
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#451 …}
}
23.58 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 {#405 …}
  -map: Symfony\Component\Security\Http\AccessMap {#80 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.25 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.37 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#422
  #user: App\Entity\User {#860 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#443
      -userIdentifier: "guard_authenticator_f4e356bb2073e233a86aa24ed5271b6a"
      -userLoader: Closure() {#438 …}
      -user: App\Entity\User {#860 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#433
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#62
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#63 …}
          -entityManager: Doctrine\ORM\EntityManager {#49 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDQ3NDkxODcsImV4cCI6MTc0NDc2MzU4Nywicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTg5NDA1ODgiLCJ1c2VyX2lkIjoxMjd9.YL7QA1iP2hY6pQtyMGzolN-GRAWiQ0uAmV-3DwYdvyOdnNx67U4ohVIvbyPJ_b0IcsNPG9Sh9n-V5A9CqYjyk1Zb-3ywEx8cOY0JGmmnGfrSGoLJof6pdMXmYGM9iueMotDbYsylqP0XN3Gk87yzpWX_fpvv2pCWhqp67bWmW4Leu9f4-v0iNz9sUjCZhZf8xn7rt6mJwUaUjHTWEiUFto7HlxkQJY9qTJtv-8_jbFzHuv5r3hbxUJf7XsC749rA707mrA2rnYrW39acXhYLKN0h2Cwzrg5h_AJ6JoiS-ytX47VHdJoVWIX2jCTUcffNr8SyQKQLYIhm3-3V4pY1UKgyO5dSDJ7HQI5zOXUgPAMQRD10JXiK3uXndhgWkNV3L-ASkusnFrNcnFyA_r6jxC_kd_zS2LuF_y_t9C9VohDWyIxuEBznCDQk4iDKOqFEb9QLBaDe-FN69kMDEIQozO0HdFQtrwI9bDyO-nWf1w1Pt0klBfWHbqBeeTEOJMrxgRZPJ0-EMwMNGHBmwvcKKlmt-72JZ3MDLI9p_HAAVkMDXDgUik7K7qy4-g8nl-kj94wRAVGl1Rm2ykseHNO1bqnRGDrhcQNJmdUkGvlQrwxN3me8g9kMklvkAIqCX3EJc-gBoOTiiNzySHbvJC0GskyUVyeTvxl2b0kDSmUY0GE"
      -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/2/1077534"
  #requestUri: "/api/parcels/2/1077534"
  #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