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

Security

Token

0720262705 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 {#83
  -map: Symfony\Component\Security\Http\AccessMap {#84 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#75 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#495
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#492 …}
}
17.70 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#654
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#147 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#43 …}
  -map: Symfony\Component\Security\Http\AccessMap {#84 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.24 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.59 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#428
  #user: App\Entity\User {#621 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#423
      -userIdentifier: "guard_authenticator_aa59908355cf1c7da1ec48dd1a3d0456"
      -userLoader: Closure() {#422 …}
      -user: App\Entity\User {#621 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#427
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#66
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#67 …}
          -entityManager: Doctrine\ORM\EntityManager {#53 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODQxMDExNDMsImV4cCI6MTc4NDExNTU0Mywicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MjAyNjI3MDUiLCJ1c2VyX2lkIjo3MH0.adgvyB0bs2nts_O3LeQJIQKHO7Gv2pcSQ35ozHyTxOWV8ZubLtLc2f5mp96AlsXLDzO7YeUGkbyCwGp9w0a1kHwus_bG6vWfn6L4twrbSMZ7CwIWbzhXzVZypRDY_Ycrk7oEnqXYqL9u9lo_PvX5eTppBtQJbuf6yeq3ceIr9gz5FLJfxDS7Ip2zjmN2ZmV6vPpxLKs5O9tDRpcdU8PrIOwRFC0gxYyeKSi-WK-coXufIPJxcT8ycCukCFu60j5Jjjo-mk42fnkzjrXsb0GwzB6y9GwdTua0lrf94KMDGQ4YeNC9Nz4ZRj_NnIk4Dvn0gd_FqQkZLxX6Jv8b4I8ObJY_pMgP43uuG_h_YMfB4Hen891XAC5F4kSHIfkJaSBP91qy1_K05lwoQ53kF9jVSG3YxlclxLX94GjXvKhJAvPm8mzS9GR8-vNfY8iBlB_NMpotGpTSYm0AnMZvzfeevZAZapb14VWmWbOMf-LuSjw4sn9rM1XyDkse5PK876Ei1EiQ0aZhVLDRE5x21sdcIG3nVL3EV2odFgL16jxr4Y21r1c9O52ZthZ0mI2t0j2m8ULWUeqpTae2hXZ0-nOFmsXOOfyhB3nJHht6kuD5VTJJa4K3I-kSRPz4WCy_Ts3b0BPTA0dyoXaJs4jbzbXmmCoCEeKXVaXPAcJL3CrvUeA"
      -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/1375231"
  #requestUri: "/api/parcels/1/1375231"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1157 …}
  #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