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

Security

Token

0758633914 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 …}
}
14.16 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.20 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.36 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_dc54fccdd4509bad67bdac80217edb68"
      -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.eyJpYXQiOjE3NzY0NDc2MjMsImV4cCI6MTc3NjQ2MjAyMywicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3NTg2MzM5MTQiLCJ1c2VyX2lkIjoxMTh9.MGvOs3Eg2gmxBy5VCgNDIMMv5L7Ti7BTJx0dhoUaf-AhGa5dIl6ElZD5okC57Kn_Ct2f4nx8Wf2kQwXFp-7g2gaGnmo5c4P21sGMVJvhsHc2EqLMCCajvcLH_WMxpvJ4KjsXRDL0YZYzCS5xQ-qUBNCesxaetpX3NNyW9ONMn2ogZujfmFbzMknJqXX505E-z7k48qEA6dlJEInzdDObdWdqMDSWiDtZanlSNkLn9rctlElCnpfECWahtj_3FfC5gbf0RmW4I4GMTBQsClLCBADV6147Mz9pY9gqcyby7y6YRtOYgikTzaKEweVmdZ2oZ30f0f3GYCyO73DhPClo0cqUYZV-7hrHMm_8BHrbtkVpqztnaWkzOkgwz5HnJsQJ91pp1SUdN1vJi7JotEpCVEE85IhLUOpR7MRJbHdZdvDj4Z33iHPX7hgC0LZBqJvHZ17V1vgKSz6eRkDxhTcFR44TvytN5BQrx4SZG5VxeuaMdmt-lu4Is4tFSe7AhoMb3NBgUo0jyn8UiNIwNTGE9VDifStpDUVCscBHkw3dUguKYEZIRBHPMCABFvFBEgiRrbvmfHb5nwVOIN5g5KLy-3eWY0MBp7bAGztY7x6D4LeUV-byELP9KICT52xmfa-eASea1lvNGtNg6P7oK_KdviZdIgCJwk0bq8nNnC-lBTg"
      -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: "{"delivery":78249,"id":0,"is_cancelled":false,"parcel":1328433}"
  #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 {#1776 …}
  #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