https://courier.ohau.co.ke/api/deliveries/parcels

Security

Token

0743892151 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#623
  -user: App\Entity\User {#619 …}
  -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 {#410
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#452 …}
}
18.69 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#652
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#135 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#406 …}
  -map: Symfony\Component\Security\Http\AccessMap {#82 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.34 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.22 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#423
  #user: App\Entity\User {#619 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#444
      -userIdentifier: "guard_authenticator_507805d03ca20618dbf6418d461c2856"
      -userLoader: Closure() {#439 …}
      -user: App\Entity\User {#619 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#434
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#64
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#65 …}
          -entityManager: Doctrine\ORM\EntityManager {#51 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjA4MDE1NTUsImV4cCI6MTc2MDgxNTk1NSwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3NDM4OTIxNTEiLCJ1c2VyX2lkIjoxNTZ9.aa4UAnmm-4p-x4veL49bRE181Cu--YcMH3bh1yGN9xSHtA7F8IJi3XGcYXZHOtYhXX6IdfUgScgM_zcykOsE_VV5x2cvSoqFPcw4daWuQlNP7CZ6hhLUsNdp0NotXyK_LaaXgtAzXmKfIxxthsmPw8rU5p2YbjNghEMEyZ6z0Ztdf4B_92XB4eevqarQ37ZfEaTNUXmdIHSwUT4GNKC3IdDJuo9RuFFnt5KkuCzui7tZmTSnSA66nVjuqJzSsge3Z2-r8DpzhO7dVUlg8CichmBSmrqTHmpcLlai11KlLgohyuOSJZg3t6MIiB5MAjAXcEhIjNWt2iCfzRTbyFtQEaXTwaK14ihx0TuFpvOPOCyl9PLFOqzUFphBgHcJqR0Au2Ox4V4054nT1Gbi1QhCLFN9Wm506n0-bcorCtxgkKsX2ULNg8td_ki74Cdbsk2hiDuKizCHT4mrPSzr3XnD1qej3sD_-WuHhzbX5B4XLDSV6j_OO2deQ--aD1DQ0b1E1P8HGhlcl99vN621kGAWWHvfB3I_Sg04z8J8tZI4dL1k7s5wTBb9RDrJ-f-Ipm_hL-J_K0pmcQcOY2tqAy3YSSVMuWxAwt4BO6p6KfIgvcVszqk8oXJzoSM1L-WBEPjvoipLy6GdPrpqDhgQEje6Qyd_JfihnRAexhXhrSnn8fk"
      -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 {#351 …}
  +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: "{"delivery":72921,"id":0,"is_cancelled":false,"parcel":1206110}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/deliveries/parcels"
  #requestUri: "/api/deliveries/parcels"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#2067 …}
  #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