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

Security

Token

0724518746 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.36 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.24 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_2e60d8c7e2cb4ac414078b60bccdefad"
      -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.eyJpYXQiOjE3ODI3NjA3OTIsImV4cCI6MTc4Mjc3NTE5Miwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MjQ1MTg3NDYiLCJ1c2VyX2lkIjoxNTl9.Mv673Kk7rCqLH2v0i2QBrfGY9FYoqe9tojLiXd8SccJMm2CwSWL56zKFiaFCjtQjIxRlW8R5bJEgtJmvGeC6Y2wWTYf_lCGUBGICYiMGKPkE2ZVfKJ7xeH44L_KpuBMbM5L1jdxJX6HGKH98O1ny3Ra-KTkJjx5pkf6VBWMP_Iht1eMZLrqlGgpAjRXS_iYxzjjiJG4zSlqI2oCoikW5LcCzszyzrC6DrBHHrvsQpg6eiIJZDG201wdvWuj29bKNFUL12g5nPnOAmB45ER-cSXMeqBfz7wqiJicOKmd5Febgh5CnzOv-xAR-Zv-cBEaZYHVyUBP918MGZCkB8bAoo_ru3Z7wTeG0ipmRB29D7-_eVnw92whFAjZYvsxmaCkwWY31AwpeHo8Jg1qAsZ79WEk3tmZlfJsy0_DfQVAcQ9ULQY3PA-28UoW2NkSr81iC_Bp6gCpXZpyaUvxf3KBmOgUniw4NvU90gafqvgldPSP4JA1TkrRcXo05-whadbByetqjQI10Ibgn53wi9iEfSSOAfXCrnMVOl2s8UfP8gwW0QB4FYBMV2WVe2g7TzE7dDvwGcyq2OT2T-7pjzBuBqdNrLFOk1WSIbqYIbkVqyoNMWJg34YOLwbpZdBLH-IrQ689mzkU5HwoBgLUfv_T11O0PPzPpPT2VE1zALIyPbYg"
      -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: "{"delivery":80287,"id":0,"is_cancelled":false,"parcel":1375612}"
  #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 {#1739 …}
  #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