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

Security

Token

0714662845 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 {#85
  -map: Symfony\Component\Security\Http\AccessMap {#86 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#77 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#496
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#493 …}
}
16.37 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#655
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#148 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#494 …}
  -map: Symfony\Component\Security\Http\AccessMap {#86 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.28 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.38 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#429
  #user: App\Entity\User {#622 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#424
      -userIdentifier: "guard_authenticator_e2bf28012c4e644796c89d886d3201c5"
      -userLoader: Closure() {#423 …}
      -user: App\Entity\User {#622 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#428
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#68
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#69 …}
          -entityManager: Doctrine\ORM\EntityManager {#55 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Nzk5MDA1NDksImV4cCI6MTc3OTkxNDk0OSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MTQ2NjI4NDUiLCJ1c2VyX2lkIjo5NH0.Sx_SfzPinRa0LK0O1sM8Mbruf5J4nfL-UFzB3HcA_sFEASyPeNIAUFzVw8N0pztkE_Pd5nian-uOAKvPDRfVrK6tHSoVHtS_Z6U-4D_SsKDwWUBwFPyNLpM0s6oJEaa2sgXxDqvePc6luJBvLmfv8BQCWFfWyPS4_NUAiqMCqZHYlBHJNlAkyC5KS97okDAfooPqGFhhsZLVQMvp603IeNZoJ3_Qd-_7385sw1WYpfwQwS0xQ3NKU9S86IfUTnxd3bsrMGR27W-gDz0oc1etyWwHDE--hs6-te3NBxab067Lxon3LYNhvBQlt6R_GiT9E10b8r9Og25k6hpeXQN0NxpSqQnICmrgoeqzYu_uX7CbDjFYoe6a1bYKjez1PCSIkGgbS08qGBY2RyZ8Tu2L-5eNNZ5lJPpVoB8ipTXtUEJ0Z4QXMfTGdUQWYiloUKi60vKHZGol6l06RtJmCMNiqSfrVYwEbRSDMIkTjER9O2VbxjSyfacfqOmoJZcxbh5q5iWzWiARB91tDU8lwtZ6GYOP4Li7EvbRmoSCfkiX_kjVsIC5LOEOngCeHR2pUx7HAVO5zoVR4d2lXLT6NV8xSsZcQjKV0-HNoeq5No073R4sd3L9vdINvfVB67oxO2XJ9Jol6v8wJtRkj6CfnTmWDaaMrYHLzvg9fe4oiyrG-5Y"
      -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 {#325 …}
  +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":-1.1610870361328125,"longitude":36.95820999145508,"parcelValue":0,"parcels":[{"description":"sack wrap material "}],"receiverName":"LAURENCE","receiverPhoneNumber":"0721 568 061","senderName":"VERONICA","senderPhoneNumber":"0725 600 874","toStation":2,"transaction":{"amount":200,"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