https://sys.nenocourier.co.ke/api/parcels/new

Security

Token

0707579905 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#626
  -user: App\Entity\User {#622 …}
  -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 {#84
  -map: Symfony\Component\Security\Http\AccessMap {#85 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#76 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#492
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#491 …}
}
24.47 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#655
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#147 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#489 …}
  -map: Symfony\Component\Security\Http\AccessMap {#85 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.46 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.48 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#427
  #user: App\Entity\User {#622 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#422
      -userIdentifier: "guard_authenticator_b0395f36c2e8c0d209670b31f95b5544"
      -userLoader: Closure() {#428 …}
      -user: App\Entity\User {#622 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#432
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#67
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#68 …}
          -entityManager: Doctrine\ORM\EntityManager {#54 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODIwNDM1OTcsImV4cCI6MTc4MjA1Nzk5Nywicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MDc1Nzk5MDUiLCJ1c2VyX2lkIjo0NH0.mV2ObtvtsOcEsnNfmLF8waL8CMNLn_4HkbKxry6YWZZlQfZXGutIFPgMV-FsrC-_UqBaeptSgj7Vj06xS8uuFq0I5QgD45fJDcIPBOLWsTF7GRrIBq-lWT0lziDoNv-hUvkelXyBggfaumtlwAMo2YfuSg8CHciDiNj93JlBQ3EHVnzb-xDdXVvdcG9F374xPnbPPL8pIGiGjviva1iYI2jkAPigKs_VfS-R6fchXyU5sPecLa1q1eRNX91zMwW-iN7VretXNURVpChw5QjUatm0o_MSj1tPQD9qDJsMr_YCZVvKwGmsDd8x61iWfm8Rg-rru66QXyEiCqGJoODyNMWgtgqsJSyZWGNKGm-1oL0l0ULG50TYyKMlRz5ffxN2x0Pxr1f0OgAyPZH_zMUuDT86c2RzWoG67gEqdI6pYltWhGYGfh2KpIwsOfTwSeNHC8tgNeotDJeBAha8kd6bfwk9TU1zh2aZQXemH0HtFJ4BhzSsMdBQgGKksc1K7O6-hCgPatyhA1ZT6eaXYPDxwIyLSs0Nnx8tdQo2pFpsPyYbzLyIh7khZIkubv5GyQy2iPwAiMEtNmsAArXo2JHlqXF8sE02mdZdF0t2nBfugpDTImuVFcpUO69qHJsAgjNtE9iKbkC35iYW1f_6oll1Lb9tUBD7587qxQ9-4GBdhvQ"
      -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 {#345 …}
  +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: "{"latitude":-0.4253078103065491,"longitude":37.5702018737793,"parcelValue":0,"parcels":[{"description":"sack foodstuffs "}],"receiverName":"RUTHWANJIRU MUIRU","receiverPhoneNumber":"0725 878 782","senderName":"NJIRU","senderPhoneNumber":"0741 546 575","toStation":1,"transaction":{"amount":350,"pinNumber":""}}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/parcels/new"
  #requestUri: "/api/parcels/new"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#884 …}
  #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