https://courier.ohau.co.ke/api/data2?last_parcel_id=1106311&last_vehicle=2250&station_id=1

Security

Token

0795497220 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 {#79
  -map: Symfony\Component\Security\Http\AccessMap {#80 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#71 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#409
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#451 …}
}
16.41 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 {#405 …}
  -map: Symfony\Component\Security\Http\AccessMap {#80 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.27 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
0.28 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#422
  #user: App\Entity\User {#860 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#443
      -userIdentifier: "guard_authenticator_43c3598653a44d417c9d80861fa4b756"
      -userLoader: Closure() {#438 …}
      -user: App\Entity\User {#860 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#433
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#62
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#63 …}
          -entityManager: Doctrine\ORM\EntityManager {#49 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDcyMTgxMjIsImV4cCI6MTc0NzIzMjUyMiwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3OTU0OTcyMjAiLCJ1c2VyX2lkIjo5N30.gyOVNJrBNnbGlF0TJAgXfu43NVt-9NFXYlxlTbpxMBpDDwGO2g6r5Yz6hUkdoU6ZRUXL0MhzLZGSwE0hAz_5Ovu-JAkMcDzkGcUMabHmH8CY1aSkWijeP_gNIHW3K1T7oheN36j1eVi604Z07VSO_i2gdINT4HxuEu2nN6eKNwk1Pe5ZVEBcpObAQNBBOVrQzLKxFaoRv8P-0CauCzhWfIsGjHBdfVbHJC_In0JGcAPKvslUw8UwJyFjUJbi8dcmfzMCAnDLrKTlNIz3wjAOcxXjQTj8De3PhlcfRIzcrMQuhLh4rnFyD6ZGznamZGyVTj7zkyEYSmrEobz1d6gKvMqknex61sY-eRxPfGDBu_bQ9DHcqwfa8LtNC_uyVpCOvGTd1imDj2mL6jpiRpZnx6V64sZoKCHw9JbS6sVWkSUPBwcipd_2Wvx9heeVXNQUiO6onfkenMRi72zJbMO3qaj1zQfMG_7Ik3-4NxjDrB-1FfLZ-Py6f5fFz-ZsyK7bkxueut0uAiP3co8S0PPsrgxD_zaCWpKQIlxAaOHHdJkFJsIw_PtoKnvuNfKDDkyKfdAm_uiBZLMRUJOU1EC7MeNQY443vmXCN0bCExELKNsoSmGFPGKKrmFhhnPw7e_7pLkK9U90bSRBxaT3QZkWMTZ8725thoWbztGX3pmSfdY"
      -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/data2"
  #requestUri: "/api/data2?station_id=1&last_vehicle=2250&last_parcel_id=1106311"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1165 …}
  #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