https://sys.nenocourier.co.ke/api/collections

Security

Token

0792198429 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 {#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 {#413
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#455 …}
}
26.37 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#654
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#136 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#409 …}
  -map: Symfony\Component\Security\Http\AccessMap {#79 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.19 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
1.12 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#426
  #user: App\Entity\User {#621 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#447
      -userIdentifier: "guard_authenticator_bba382d96851a0427a5f53c3d8658358"
      -userLoader: Closure() {#442 …}
      -user: App\Entity\User {#621 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#437
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#61
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#62 …}
          -entityManager: Doctrine\ORM\EntityManager {#48 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjQ2NzgyMjgsImV4cCI6MTc2NDY5MjYyOCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3OTIxOTg0MjkiLCJ1c2VyX2lkIjoxNjB9.Boa5r4b0LTieI9As_Mw2BAw6Agy9OvyPtxo7si2u_H1BKpdnLf15Uis0EW7KYfJ67ubwJqXbEdBWW5wJaaDs0Amzwe3MFQzzqMkSXKbbq6yL2WEakUjVQKrskt8w9xjEkg_dL-6dFD7TJtq7ezCIH3UeyUrcU9WO2RWZOyMOKzRwmCZaLaddjZmcxwrgYHb0L5E3WMNT1OPU8sO80t8UL8C99QFrd7eSRYKx32w4G7-N3sbL_QGVRWgN8XZx5b7hukBI7NObWP0DOm6fE2OzU5pHC0oE1tcEnvnabRTSht-TM0Pn5dbl_Pztg1XinOm-VSgD3W4U9pE5dY8hvkbjadTN16pz8pbH_0UuF7qAcqUcaaNPgaI74RUZQAahpKLi4M4HwP2JhDiz_elbMP3nzedy2f6hYCrWpE3RXVVWnSaUv48GXtwxZDdMJzVoLvlIhRI8e9OY4q-Qu9v8y-75xSOw8Nt9j1CuqdmRi87X6o_ps3PGpi-SiV7Gnay5KKK7iLDkyxTbY5tNq1zMXae4mmzxRXN-v5RXbh-hD07DKtKvda-7SUKY1R4DueeW5i9E3xfPq-sPnbCnQX4liV-OimTvwrRM_dQkapRX4fPqBhEctGNS0opQEIiTg1OLg74CKzlbpg5udfeW3KODhFXz4MqRi7zIjVir_VobTzlHEWs"
      -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 {#339 …}
  +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: "{"collector_name":"Josh ","consignee_national_id":"28724501","id":0,"is_consignee":false,"national_id":"28204779","waybill_id":1223346}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/collections"
  #requestUri: "/api/collections"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1948 …}
  #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