Security

Token

mszczerba1204@gmail.com Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#2770
  -user: App\Entity\User {#1798 …}
  -roleNames: [
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "main"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDU4NDUwNDgsImV4cCI6MTc0NTkzMTQ0OCwidXNlcm5hbWUiOiJtc3pjemVyYmExMjA0QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.QhiUVxhq9_Hj3nd6R6kGRpWSnkaXIFSjMgN7qLhKm3U9WRknQpMuymhk5k7Q-JcBvCsI3nQLbVsuhEt7WznPL4-jVAIbkDy8SzUPr_YQOVdACLNeqTsFnFeHCirGMl4YOuCrcblFQkdAY2h-mc8zoIbxxUL7a-_ZsN8JMAM9zK0OPEZY_eJ4Ht-_o8ThGBTEaojhB9tbwJKYwd1LnOW1THCcTo4FP1GTz3hV188Vez0_qbnVvVtHVBG-wa4Q-yq849g0rRlMcIJqg-1OjaJieJ6tV8k8ovnGc3ogxZrRBFE1YmajLYsXNC3y1Mmg6z2D5BUJibTTz5kKRcaSLexMIQ"
}

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 {#1528
  -map: Symfony\Component\Security\Http\AccessMap {#1533 …}
  -logger: Monolog\Logger {#1478 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#2344
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#714 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#1478 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#2305 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2045 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#668 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#2336 …}
}
28.87 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1852
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1879 …}
}
46.29 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1899
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#715 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#1872 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1858 …}
  -firewallName: "main"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#703 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Monolog\Logger {#1478 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1219 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#996 …}
  -targetRoute: null
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#1857
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#183 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#715 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#1845 …}
}
0.02 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1898
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#715 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#703 …}
  -map: Symfony\Component\Security\Http\AccessMap {#1533 …}
}
55.95 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#1463
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#715 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#1195 …}
  -csrfTokenManager: null
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2045 …}
}
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"
5.66 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1827
  #user: App\Entity\User {#1798 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1761
      -userIdentifier: "mszczerba1204@gmail.com"
      -userLoader: Closure($userIdentifier) {#2743 …}
      -user: App\Entity\User {#1798 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1745845048
      "exp" => 1745931448
      "username" => "mszczerba1204@gmail.com"
      "mercure_token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdLCJzdWJzY3JpYmUiOlsiKiJdfX0.AvnCKE9wnsPVgpc6C9Huq-kzxncLf2NiLn7KupnjBo4"
      "webpush_server_key" => "r40zXLmT5fWpdU9fDBfemXUgyHUwpbfOYKEuLQQJKZ0"
      "active" => true
      "2fa" => false
      "TWO_FACTOR_COMPLETE" => false
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDU4NDUwNDgsImV4cCI6MTc0NTkzMTQ0OCwidXNlcm5hbWUiOiJtc3pjemVyYmExMjA0QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.QhiUVxhq9_Hj3nd6R6kGRpWSnkaXIFSjMgN7qLhKm3U9WRknQpMuymhk5k7Q-JcBvCsI3nQLbVsuhEt7WznPL4-jVAIbkDy8SzUPr_YQOVdACLNeqTsFnFeHCirGMl4YOuCrcblFQkdAY2h-mc8zoIbxxUL7a-_ZsN8JMAM9zK0OPEZY_eJ4Ht-_o8ThGBTEaojhB9tbwJKYwd1LnOW1THCcTo4FP1GTz3hV188Vez0_qbnVvVtHVBG-wa4Q-yq849g0rRlMcIJqg-1OjaJieJ6tV8k8ovnGc3ogxZrRBFE1YmajLYsXNC3y1Mmg6z2D5BUJibTTz5kKRcaSLexMIQ"
  ]
}
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 GRANTED IS_AUTHENTICATED_ANONYMOUSLY
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"
  ]
  #pathInfo: "/api/v2/autocompletes"
  #requestUri: "/api/v2/autocompletes?query=le&type=doctor&nfz=False&page=1&itemsPerPage=30&patient=%2fapi%2fv2%2fpatients%2f155455"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1548 …}
  #locale: "pl"
  #defaultLocale: "pl"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"App\Security\AdminVoter"
attribute IS_AUTHENTICATED_ANONYMOUSLY ACCESS ABSTAIN
"App\Security\PatientTokenVoter"
attribute IS_AUTHENTICATED_ANONYMOUSLY ACCESS ABSTAIN
"App\Security\SiteTokenVoter"
attribute IS_AUTHENTICATED_ANONYMOUSLY ACCESS ABSTAIN
"App\Security\UserPeselVoter"
attribute IS_AUTHENTICATED_ANONYMOUSLY ACCESS ABSTAIN
Show voter details
2 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
3 DENIED ROLE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_DOCTOR ACCESS DENIED
Show voter details
4 DENIED ROLE_NURSE
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_NURSE ACCESS DENIED
Show voter details
5 DENIED ROLE_BASE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_BASE_DOCTOR ACCESS DENIED
Show voter details
6 DENIED ROLE_CONSULTANT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_CONSULTANT ACCESS DENIED
Show voter details
7 DENIED ROLE_SUPER_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_SUPER_ADMIN ACCESS DENIED
Show voter details
8 DENIED ROLE_SUPER_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_SUPER_ADMIN ACCESS DENIED
Show voter details
9 GRANTED IS_AUTHENTICATED_REMEMBERED
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
attribute IS_AUTHENTICATED_REMEMBERED ACCESS GRANTED
"App\Security\AdminVoter"
attribute IS_AUTHENTICATED_REMEMBERED ACCESS ABSTAIN
"App\Security\PatientTokenVoter"
attribute IS_AUTHENTICATED_REMEMBERED ACCESS ABSTAIN
"App\Security\SiteTokenVoter"
attribute IS_AUTHENTICATED_REMEMBERED ACCESS ABSTAIN
"App\Security\UserPeselVoter"
attribute IS_AUTHENTICATED_REMEMBERED ACCESS ABSTAIN
Show voter details
10 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
11 DENIED ROLE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_DOCTOR ACCESS DENIED
Show voter details
12 DENIED ROLE_NURSE
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_NURSE ACCESS DENIED
Show voter details
13 DENIED ROLE_BASE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_BASE_DOCTOR ACCESS DENIED
Show voter details
14 DENIED ROLE_CONSULTANT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_CONSULTANT ACCESS DENIED
Show voter details