https://courier.ohau.co.ke/api/parcels/1/1059320

Security

Token

0720262705 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#864
  -user: App\Entity\User {#860 …}
  -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 {#78
  -map: Symfony\Component\Security\Http\AccessMap {#79 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#70 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#450
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#449 …}
}
13.11 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#893
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#134 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#403 …}
  -map: Symfony\Component\Security\Http\AccessMap {#79 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.24 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.22 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#432
  #user: App\Entity\User {#860 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#437
      -userIdentifier: "guard_authenticator_f1e58800dd027e864511e8c7049404f1"
      -userLoader: Closure() {#421 …}
      -user: App\Entity\User {#860 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#436
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#61
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#62 …}
          -entityManager: Doctrine\ORM\EntityManager {#48 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDIyOTUzMjQsImV4cCI6MTc0MjMwOTcyNCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3MjAyNjI3MDUiLCJ1c2VyX2lkIjo3MH0.A1-XVsWERf36tqqvwxrYSHyDuZ_kCg1MByeFKp6HWSlJcXmBy0OajStDuPlAt9GRujU8T9DSKhWY5Y265od6hd7KmwAI5Dj-_Hp9-A37b2HMrX0hVxbbebXdCfqsDbkxMcukzP2vi-icF3ZcJHBnL7O7Jcmk3P0xU8JQ2o73NjGof_H7u-av_UdU_kb-hDLXsIz0A_d9-vaDhjZ0lCTKkyQXu243koBTiMIgd6ZPa3kjxGX-RBS4axwUvEM5BAb8Gg8GHOwqrj6zNm30OvDUHAMKV8XxrxMA8T-BYtxNVizRicjBegilryXedbxUSu70Vyd5tppLTVPm_tG3Xub7OjXFdwZTVTtDzi2jIOsK5ppXLk780NYfzOIddaLMNi8ZvxULuqaBsVMB26WiBMZWXYF_06AWmLx-V0q8XE0E9la09A1YSQz9XNZEnd28qWLqlg2X7LcJ_B-Hcf0yRm1Ub4Xdtt3KrLINoipDP_JxM9Ee3PbIIhldt8PV8bxwsaxEGVrUC-xtrFEiK6saFz_-A2iiYugmn_d5tpI0WFRgMoQsdg4ELrNvqlpvOdiILjurjpI3vcKS5vBVjvhqfZV9VCnvP2LJLkVRvHKvWTFTg8U1bWHKAgL93tsQarDZI8Skt0jLtdSnSdD81rZkJOEa1pHqmM3T6pSh2YvMqrogqs0"
      -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 {#10 …}
  +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: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/parcels/1/1059320"
  #requestUri: "/api/parcels/1/1059320"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1325 …}
  #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