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

Security

Token

0795497220 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#898
  -user: App\Entity\User {#894 …}
  -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 {#81
  -map: Symfony\Component\Security\Http\AccessMap {#82 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#73 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#491
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#494 …}
}
10.54 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#927
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#145 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#325 …}
  -map: Symfony\Component\Security\Http\AccessMap {#82 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.23 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.08 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#432
  #user: App\Entity\User {#894 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#428
      -userIdentifier: "guard_authenticator_a5c335f505ff283400e32cb92039d9fa"
      -userLoader: Closure() {#427 …}
      -user: App\Entity\User {#894 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#477
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#64
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#65 …}
          -entityManager: Doctrine\ORM\EntityManager {#51 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODY2MzY3MDIsImV4cCI6MTc4NjY1MTEwMiwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3OTU0OTcyMjAiLCJ1c2VyX2lkIjo5N30.0PGzULmaSikJbmuMRlYMF0m9TcDVNd4YFatRMkeC5dD6ZmJsFcySivJzkbK5gHdI7ocqx_NKUEHm8382YSai-CD-zNy0PvaFioexesgoQaBnA3xCUXRqIexugsNko_rDZ9YlamP9SbPxxSU5Ju2xAlBoeXzU1k9V4-9MKvxE_0Cts5nX2LJq1ZjVhziAJ_gueNGExQhpRYpjLzF0vrmH8oIV22FWSajL-wfoRQNbDHRy8cbAuaIZmiQz693_nFkL-nP6W-JOOKCrpYPKWJSHQU9iEZdjQfjW4Ucl_n9i7Bl2jS2cKyXiA5F9UYjE7rhKsoV8LraZcVNIOxjLnxmkKGOxryqw80DL2cpghL4rAm-BqUu0mwf8EBZy3lyfFIabf33gBcqK6y8tg40vWnPxk5bkNpPKT-DqxMlc5-ezT38UDxsgd3zgorGN9u8MBoBb06nlkhLDni29oHemJVGp0icxldTjzzK10nK6p1by07CpVkydXvauYf-4mnSw3RXsY848n9D2sRXmTOWjIvBuLmw3esU0DSIzVHtu3FF9Znbj9viqD_MaeN35ekTV2djDYwWOLVyyrlbMh758N7dsRssscG3EZXx6QkFfS4Lc0KRnJ_Q_72FGi2UF1hRsT40BhezRJ4WsTXYc1qi10lPlYp5NPFNzIlNO-f5aVFR54uQ"
      -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/1397311"
  #requestUri: "/api/parcels/1/1397311"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1364 …}
  #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