https://sys.nenocourier.co.ke/api/collections

Security

Token

0795893412 Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_CLERK"
]
Inherited Roles none
Token
Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken {#615
  -user: App\Entity\User {#611 …}
  -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 {#80
  -map: Symfony\Component\Security\Http\AccessMap {#81 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#72 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#317
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#319 …}
}
25.12 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#644
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#141 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#314 …}
  -map: Symfony\Component\Security\Http\AccessMap {#81 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.28 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Api\Authentication\Authenticator"
1.57 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#433
  #user: App\Entity\User {#611 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#417
      -userIdentifier: "guard_authenticator_84128ceee632a8c0dfc037a3454f0b3b"
      -userLoader: Closure() {#424 …}
      -user: App\Entity\User {#611 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#409
      -customCredentialsChecker: [
        App\Api\Authentication\Authenticator {#63
          -JWTEncoder: Lexik\Bundle\JWTAuthenticationBundle\Encoder\LcobucciJWTEncoder {#64 …}
          -entityManager: Doctrine\ORM\EntityManager {#51 …}
        }
        "checkCredentials"
      ]
      -credentials: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Mjc1NDE1NTgsImV4cCI6MTcyNzU1NTk1OCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9DTEVSSyJdLCJ1c2VybmFtZSI6IjA3OTU4OTM0MTIiLCJ1c2VyX2lkIjoxMDR9.hmGNBOCEUcjJOnyFPzwaAq9L_jIShfUBbr1PPj6scrpy2GvMPZ9RxIYApjIE0ldj3JNw1Nr4Uz-62-95bRagIyf2UQ4-vH7xulxgadcoaT-_qasxndYuim71jkpFBpEfpY64MXIwCcjnRcVniFPwtomoaKYC51g3RVc9cafTlhHyfAiR5pvUqps7t_PaV-ilEpcHbkuu3SeNIBZxELg0OZTbL4zd0hd5mu56-45ZNYyP8vFGeuSicSjXl_XQN_VrTlLn7Xys-Ee2Zx43P3Dhh8wxFOL7mT-gFES6YnIi97TOaLCX24m6LLFjWv8NugFFimpCXcIp8zV0oZMlTagrlVzBidaJemppwwo9WjCGgq3GDRDRLK-Q-uDx8WgDRU6ggSaOSEQ6io6pblsfN00MvJYg_NJ_7ijvyUxnJDfKHbiN3OjWNIkrTW-FvzkeaiE_sGhQOPFQmKq1JWG2qiQab6DY8bITssBLmmcbUZV-iCNip7MAHPxe8EhM0rdAh6_MtLfieBHu08D4NISJlsEFvMGxKHYz1518qbqHU4J7eWsW1rFLWv6EkSstBYTYzDsqD9HD9AMv5lF5Q9dsNedRUH71bY95AkgNQS07dvGiwqYqZcQa32ifuGC6eTS5O6pnrWvaXUazaCB36fNu5MyNtzz4Gg4VVqBK1jzXEAbiXmY"
      -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: "{"collector_name":"MOSES LEKAIPEI","consignee_national_id":"29372433","id":0,"is_consignee":true,"national_id":"29372433","waybill_id":949941}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/collections"
  #requestUri: "/api/collections"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1726 …}
  #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