Security

Token

denispawelek1307@gmail.com Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#2771
  -user: App\Entity\User {#1777 …}
  -roleNames: [
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "main"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDU4MzYwNDcsImV4cCI6MTc0NTkyMjQ0NywidXNlcm5hbWUiOiJkZW5pc3Bhd2VsZWsxMzA3QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.Uld6SCXgb66vPrsr-_GAl401Cyg9RUYUTN3szeMg8D0Dfs5HHJJaVofehqp9yhcwpXQuOg2ULSSFf1efnf_2gwkcaQTQcr3ssEjsa5OjVBqIrkcUkZPJXr5gTt_nK0r_5DL4mPcJUDLnE3ULHZ798comObEKuvR6ivUYTt-dndx2pDXb_TqFnNMdsVJPJ2im5g-n2cSToPQOWlCRwe1NFAh0EvbZ6r7XIjGs5i3eH1RbAAGiUzJqeQwPWcbxUUZicjqNMta7zR2ng3Gupl_L_efRN-vnxeVHhHasEbm4lbzGCR3UuzQ3lo83_46yRS6MVwcVOSUI-YWKS_vySC-iFA"
}

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 {#1533
  -map: Symfony\Component\Security\Http\AccessMap {#1529 …}
  -logger: Monolog\Logger {#1477 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#2305
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#713 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#1477 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#2337 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2054 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#667 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#2296 …}
}
28.48 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1893
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1864 …}
}
32.68 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1858
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#714 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#1879 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1863 …}
  -firewallName: "main"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#702 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Monolog\Logger {#1477 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1219 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#995 …}
  -targetRoute: null
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#1867
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#182 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#714 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#1857 …}
}
0.02 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1844
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#714 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#702 …}
  -map: Symfony\Component\Security\Http\AccessMap {#1529 …}
}
55.46 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#1479
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#714 …}
  -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 {#2054 …}
}
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.60 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1785
  #user: App\Entity\User {#1777 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1772
      -userIdentifier: "denispawelek1307@gmail.com"
      -userLoader: Closure($userIdentifier) {#2744 …}
      -user: App\Entity\User {#1777 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1745836047
      "exp" => 1745922447
      "username" => "denispawelek1307@gmail.com"
      "mercure_token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdLCJzdWJzY3JpYmUiOlsiKiJdfX0.AvnCKE9wnsPVgpc6C9Huq-kzxncLf2NiLn7KupnjBo4"
      "webpush_server_key" => "r40zXLmT5fWpdU9fDBfemXUgyHUwpbfOYKEuLQQJKZ0"
      "active" => true
      "2fa" => false
      "TWO_FACTOR_COMPLETE" => false
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDU4MzYwNDcsImV4cCI6MTc0NTkyMjQ0NywidXNlcm5hbWUiOiJkZW5pc3Bhd2VsZWsxMzA3QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.Uld6SCXgb66vPrsr-_GAl401Cyg9RUYUTN3szeMg8D0Dfs5HHJJaVofehqp9yhcwpXQuOg2ULSSFf1efnf_2gwkcaQTQcr3ssEjsa5OjVBqIrkcUkZPJXr5gTt_nK0r_5DL4mPcJUDLnE3ULHZ798comObEKuvR6ivUYTt-dndx2pDXb_TqFnNMdsVJPJ2im5g-n2cSToPQOWlCRwe1NFAh0EvbZ6r7XIjGs5i3eH1RbAAGiUzJqeQwPWcbxUUZicjqNMta7zR2ng3Gupl_L_efRN-vnxeVHhHasEbm4lbzGCR3UuzQ3lo83_46yRS6MVwcVOSUI-YWKS_vySC-iFA"
  ]
}
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=gda&type=institution&nfz=False&page=1&itemsPerPage=30&patient=%2fapi%2fv2%2fpatients%2f155490"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1528 …}
  #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 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
9 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
10 DENIED ROLE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_DOCTOR ACCESS DENIED
Show voter details
11 DENIED ROLE_NURSE
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_NURSE ACCESS DENIED
Show voter details
12 DENIED ROLE_BASE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_BASE_DOCTOR ACCESS DENIED
Show voter details
13 DENIED ROLE_CONSULTANT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_CONSULTANT ACCESS DENIED
Show voter details