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

Security

Token

0792198429 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 {#77
  -map: Symfony\Component\Security\Http\AccessMap {#78 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#69 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#408
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#413 …}
}
8.47 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 {#403 …}
  -map: Symfony\Component\Security\Http\AccessMap {#78 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.16 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.05 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#442
  #user: App\Entity\User {#620 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#436
      -userIdentifier: "guard_authenticator_ad0f1093939316d24fc69aaa3ba4bd9c"
      -userLoader: Closure() {#447 …}
      -user: App\Entity\User {#620 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#426
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#60
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#61 …}
          -entityManager: Doctrine\ORM\EntityManager {#47 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjU3MTE0NTQsImV4cCI6MTc2NTcyNTg1NCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3OTIxOTg0MjkiLCJ1c2VyX2lkIjoxNjB9.1Gh-Z4AF7dIUrQw8hyy_VB_Ix8koQtwSoFfYnae51kcWSy5nRSNSE5d8XwYTvgiceUeRhuC6ylrNIoEts2m4KOKV0EBOv2zBFKnQX2CgPa6HhNqPqbkeX9lv7FnggyMCAqsuShrQvYoVEwij0pPgvgswI9M-dHNLsEHR3Pr67lBweeIFQtByiC7Z_TGCwueTotI26qpqzbeSRNPbNbXXZi87vB0PcqZHzWOXbQro6-aaLu5xkOVlyQZN5zRJo5GtTWfFW1K2tfvVTtpfLSWPw0FrGQkwWWmrStrQxnocT7qLeRoKP56jH3cDlc_JbOit2tWqdKj_1TyuU75OY3_M0ptDVZfYf5TYjE6nWBCRsMIJ4COePt0KE3iw7_bNq1jXu9xZ94tDCzQOOEytoFP5ISzLgtXBEFfe5lKUanFuRHVlW45pQL5d_KwMfb4Jv88NQHIC7zPz8U5CoXrFSqaiJZYL4E7I5jDBPOhlec_xH8BbH--A26h89xKGCH7pRE51vgSXajrWotdVDOQhie87w-Yz3_XuavYflvs8EdAufd45cI5MLPafRacTn0MIwsudOkrJWEtIafVmUnhigAJXokB0WY0jQ1vAv0_z3jArmM72JetSRC4PgRx2bsmlR32ShMBP2M0B9OekXDl9xmiwVFJJMRXvjI-bjXpJ3H_JBmM"
      -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/1232560"
  #requestUri: "/api/parcels/1/1232560"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1154 …}
  #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