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

Security

Token

0759509366 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#899
  -user: App\Entity\User {#895 …}
  -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 {#82
  -map: Symfony\Component\Security\Http\AccessMap {#83 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#74 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#494
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#475 …}
}
17.57 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#928
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#145 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#495 …}
  -map: Symfony\Component\Security\Http\AccessMap {#83 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.29 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.28 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#477
  #user: App\Entity\User {#895 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#427
      -userIdentifier: "guard_authenticator_0eb637e9eb8f0093c4a130d72f47df7f"
      -userLoader: Closure() {#432 …}
      -user: App\Entity\User {#895 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#476
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#65
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#66 …}
          -entityManager: Doctrine\ORM\EntityManager {#52 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODYxNjI4MDksImV4cCI6MTc4NjE3NzIwOSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3NTk1MDkzNjYiLCJ1c2VyX2lkIjoxNzJ9.CxZ92kBCr4fuzX7RzR5ZQ0oNx5-G1OcC2AryjFQgNorpP3nuQMSoUJyEY1UJKah4gmuYLuFXxSVYRESQwGhTCOexWejD5rXv7bUrRfvJJwJ7kfT5KxNjlKjzdo2FGavvyyHZcXSApwMD7CQUeNgTREYyASy8bT_Ixk1LvRgP5JoYcr8E8DcpPcXDFMbP4Ij4BTKcq6PKeC2VDtvRnSNm1f0ooGPtQXBqM40o_RVtUFbL26AjTuqO6Mrbgo77K0xhLPsnFWnrUs_TWWTgI87o9hw3Wt-QaZCoqJBryXl229_HTnszWthXiWOY2wtyOcB9naDquBWMZDsv9c8UjM2vaYNTfXr2Zl_kzleQjSn-4rxbWDG8FDqS-tvNO_cZHH6mRrAgA7PCZTrW-5eFTjQ2o4bIQFquHQp2Pv_dF4-8FSiyTu3LEAvkPNASKQqbnmEBWTgvFdt3AEBOKFFbL5P3_5uB8sCb0rveXPie0qGPNe-ePSbe-1YoQ4RGx6HN3b5suTPilT3nzm3bfzT98N6BJkW-PKS7bFNQr8mYvnAqL8RmxOxvH-qoE0SnlhuNNkfXtcejjWB8bTD2RZ733ivDzt1QdzV258uXtUlqmrq8pWn0iv-60BSZPrpGsQisZ1bCi3jby7yLM0C-wnkl8yqrjw6k4fX8wKujcPbkd4xsWA4"
      -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 {#359 …}
  +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.1608798503875732,"longitude":36.95789337158203,"parcelValue":0,"parcels":[{"description":"red pk  soap"}],"receiverName":"LINET NJUE ","receiverPhoneNumber":"0795 984 254","senderName":"WINNIE NJERI","senderPhoneNumber":"0721 568 672","toStation":25,"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 {#2379 …}
  #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