Redirect 201 redirect from POST @_api_/user_subscriptions.{_format}_post (33819f)

GET https://dev.e-recepta.net/api/v2/chats/check

Security

Token

denispawelek1307@gmail.com Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#2772
  -user: App\Entity\User {#1852 …}
  -roleNames: [
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "main"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NTAxNDk2MTgsImV4cCI6MTc1MDIzNjAxOCwidXNlcm5hbWUiOiJkZW5pc3Bhd2VsZWsxMzA3QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.dQ-YU3s3SEK5rgVjjtzWriq8s1iKZfbLxC28UltbTQCAMCY7KzmzdK9BsSE9ao9Sht8Mli44wSlKEIcFDJb7tn2YKKiLsu3upvz0aFClKmQfYKTlb-9wfxrpM0fvyBvgjVpNtmHDVDa4dnhuSvj4bIkL5K5k9zpCcpj9P2Wr6iC1ewx6-0WqTU5DV9SeeG5-mVF3KngYWH30JwB55A8SU6yVzO5XWWjD7xYkIXKudHMWXg7lmNcaWGfpRXjbwPKqfo1zD4M8N_UcvqIWKfjLAOLACYGYuFCZvmlTCKBwQgx7sZR9xNf7qNKslvQCiw8lbasPen_QTBAy6RVuGIs_7w"
}

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\AppAuthenticator
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "switch_user"
  "two_factor"
  "jwt"
  "App\Security\AppAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#2205
  -map: Symfony\Component\Security\Http\AccessMap {#2204 …}
  -logger: Monolog\Logger {#2069 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#2360
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#818 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#2069 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#2346 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2301 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#776 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#2305 …}
}
31.39 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1480
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#2286 …}
}
33.43 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1479
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#817 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#2276 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1471 …}
  -firewallName: "main"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#826 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Monolog\Logger {#2069 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1273 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#1017 …}
  -targetRoute: null
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#1474
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#182 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#817 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#1475 …}
}
0.03 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1476
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#817 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#826 …}
  -map: Symfony\Component\Security\Http\AccessMap {#2204 …}
}
69.03 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#2071
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#817 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#1261 …}
  -csrfTokenManager: null
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2301 …}
}
0.00 ms (none)

Authenticators

Authenticator Supports Authenticated Duration Passport Badges
"App\Security\AppAuthenticator"
0.00 ms (none) (none)
"Scheb\TwoFactorBundle\Security\Http\Authenticator\TwoFactorAuthenticator"
0.00 ms (none) (none)
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
4.69 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1797
  #user: App\Entity\User {#1852 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1841
      -userIdentifier: "denispawelek1307@gmail.com"
      -userLoader: Closure($userIdentifier) {#2742 …}
      -user: App\Entity\User {#1852 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1750149618
      "exp" => 1750236018
      "username" => "denispawelek1307@gmail.com"
      "mercure_token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdLCJzdWJzY3JpYmUiOlsiKiJdfX0.AvnCKE9wnsPVgpc6C9Huq-kzxncLf2NiLn7KupnjBo4"
      "webpush_server_key" => "r40zXLmT5fWpdU9fDBfemXUgyHUwpbfOYKEuLQQJKZ0"
      "active" => true
      "2fa" => false
      "TWO_FACTOR_COMPLETE" => false
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NTAxNDk2MTgsImV4cCI6MTc1MDIzNjAxOCwidXNlcm5hbWUiOiJkZW5pc3Bhd2VsZWsxMzA3QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.dQ-YU3s3SEK5rgVjjtzWriq8s1iKZfbLxC28UltbTQCAMCY7KzmzdK9BsSE9ao9Sht8Mli44wSlKEIcFDJb7tn2YKKiLsu3upvz0aFClKmQfYKTlb-9wfxrpM0fvyBvgjVpNtmHDVDa4dnhuSvj4bIkL5K5k9zpCcpj9P2Wr6iC1ewx6-0WqTU5DV9SeeG5-mVF3KngYWH30JwB55A8SU6yVzO5XWWjD7xYkIXKudHMWXg7lmNcaWGfpRXjbwPKqfo1zD4M8N_UcvqIWKfjLAOLACYGYuFCZvmlTCKBwQgx7sZR9xNf7qNKslvQCiw8lbasPen_QTBAy6RVuGIs_7w"
  ]
}
UserBadge

Access Decision

unanimous Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\AdminVoter"
6
"App\Security\PatientTokenVoter"
7
"App\Security\SiteTokenVoter"
8
"App\Security\UserPeselVoter"
9
"EasyCorp\Bundle\EasyAdminBundle\Security\SecurityVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_API_PANEL_CHAT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_API_PANEL_CHAT ACCESS DENIED
Show voter details
2 DENIED ROLE_CONSULTANT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_CONSULTANT ACCESS DENIED
Show voter details
3 DENIED ROLE_BASE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_BASE_DOCTOR ACCESS DENIED
Show voter details
4 GRANTED ROLE_USER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_USER ACCESS GRANTED
"App\Security\AdminVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\PatientTokenVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\SiteTokenVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\UserPeselVoter"
attribute ROLE_USER ACCESS ABSTAIN
Show voter details
5 GRANTED PATIENT_TOKEN
Symfony\Component\HttpFoundation\Request {#20
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#23 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#21 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#22 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#26 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#25 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#24 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#27 …}
  #content: ""
  #languages: [
    "pl"
  ]
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "application/json"
    "text/json"
    "text/x-json"
    "text/javascript"
    "application/xml"
    "text/xml"
  ]
  #pathInfo: "/api/v2/chats/check"
  #requestUri: "/api/v2/chats/check"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1659 …}
  #locale: "pl"
  #defaultLocale: "pl"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"App\Security\AdminVoter"
attribute PATIENT_TOKEN ACCESS ABSTAIN
"App\Security\PatientTokenVoter"
attribute PATIENT_TOKEN ACCESS GRANTED
"App\Security\SiteTokenVoter"
attribute PATIENT_TOKEN ACCESS ABSTAIN
"App\Security\UserPeselVoter"
attribute PATIENT_TOKEN ACCESS ABSTAIN
Show voter details
6 GRANTED ROLE_USER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_USER ACCESS GRANTED
"App\Security\AdminVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\PatientTokenVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\SiteTokenVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\UserPeselVoter"
attribute ROLE_USER ACCESS ABSTAIN
Show voter details
7 DENIED ROLE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_DOCTOR ACCESS DENIED
Show voter details
8 DENIED ROLE_NURSE
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_NURSE ACCESS DENIED
Show voter details
9 DENIED ROLE_BASE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_BASE_DOCTOR ACCESS DENIED
Show voter details
10 DENIED ROLE_CONSULTANT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_CONSULTANT ACCESS DENIED
Show voter details
11 GRANTED ROLE_USER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_USER ACCESS GRANTED
"App\Security\AdminVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\PatientTokenVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\SiteTokenVoter"
attribute ROLE_USER ACCESS ABSTAIN
"App\Security\UserPeselVoter"
attribute ROLE_USER ACCESS ABSTAIN
Show voter details
12 DENIED ROLE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_DOCTOR ACCESS DENIED
Show voter details
13 DENIED ROLE_NURSE
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_NURSE ACCESS DENIED
Show voter details
14 DENIED ROLE_BASE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_BASE_DOCTOR ACCESS DENIED
Show voter details
15 DENIED ROLE_CONSULTANT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_CONSULTANT ACCESS DENIED
Show voter details