POST https://dev.e-recepta.net/api/v2/user_subscriptions

Security

Token

mszczerba1204@gmail.com Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#2783
  -user: App\Entity\User {#1835 …}
  -roleNames: [
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "main"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDU4Mzg3MTksImV4cCI6MTc0NTkyNTExOSwidXNlcm5hbWUiOiJtc3pjemVyYmExMjA0QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.TFG71NIvrREiIMZ-V2bnT5fnHslIlipBV3aa_aleJoaTE49M8uLvQ1_f0W3EI_xWYhFOzPtppzwye8DLcjGc-pfBE-YpyOzH2D89-BkIlGlGEvDIetxjBLKbTj9FiWpPOCsFzv2dxRlsV9cEOgpSdVQfqE4gC_74ff5UmP4BiSCwKr1RIDfRVSZQwwYp0HNO2UQQAPZITx1CDaG-SSMDJpTLPxlUQriW4wxhRN9nrr1ZtaDvIiYRkm4GwBMYcOqe0PbKRvo2GLmRbUuqhrrhKA9ZA4lRYojpyNudJ0fF29S1CWm9ZuI2QKH2dzMdP9oevLfBsRDLspjlER-Q-g1xfg"
}

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 {#1580
  -map: Symfony\Component\Security\Http\AccessMap {#1581 …}
  -logger: Monolog\Logger {#1556 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#1741
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#714 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#1556 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#1748 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2030 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#668 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#2349 …}
}
45.81 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1870
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1853 …}
}
45.57 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1897
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#715 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#1860 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1877 …}
  -firewallName: "main"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#703 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Monolog\Logger {#1556 …}
  -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 {#1903
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#183 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#715 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#1874 …}
}
0.03 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1889
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#715 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#703 …}
  -map: Symfony\Component\Security\Http\AccessMap {#1581 …}
}
107.13 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#1568
  -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 {#2030 …}
}
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"
7.58 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#2747
  #user: App\Entity\User {#1835 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1829
      -userIdentifier: "mszczerba1204@gmail.com"
      -userLoader: Closure($userIdentifier) {#2756 …}
      -user: App\Entity\User {#1835 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1745838719
      "exp" => 1745925119
      "username" => "mszczerba1204@gmail.com"
      "mercure_token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdLCJzdWJzY3JpYmUiOlsiKiJdfX0.AvnCKE9wnsPVgpc6C9Huq-kzxncLf2NiLn7KupnjBo4"
      "webpush_server_key" => "r40zXLmT5fWpdU9fDBfemXUgyHUwpbfOYKEuLQQJKZ0"
      "active" => true
      "2fa" => false
      "TWO_FACTOR_COMPLETE" => false
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDU4Mzg3MTksImV4cCI6MTc0NTkyNTExOSwidXNlcm5hbWUiOiJtc3pjemVyYmExMjA0QGdtYWlsLmNvbSIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.TFG71NIvrREiIMZ-V2bnT5fnHslIlipBV3aa_aleJoaTE49M8uLvQ1_f0W3EI_xWYhFOzPtppzwye8DLcjGc-pfBE-YpyOzH2D89-BkIlGlGEvDIetxjBLKbTj9FiWpPOCsFzv2dxRlsV9cEOgpSdVQfqE4gC_74ff5UmP4BiSCwKr1RIDfRVSZQwwYp0HNO2UQQAPZITx1CDaG-SSMDJpTLPxlUQriW4wxhRN9nrr1ZtaDvIiYRkm4GwBMYcOqe0PbKRvo2GLmRbUuqhrrhKA9ZA4lRYojpyNudJ0fF29S1CWm9ZuI2QKH2dzMdP9oevLfBsRDLspjlER-Q-g1xfg"
  ]
}
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 ROLE_USER
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: "{"subscriptionHash":"fbOx2FqVQtCAzONhnJNMbR:APA91bGP5sDB1gGpwNR8uyTPdD5MKqAtnzFaMysbivFXpZAiP6icC2rKFTNgvbxjoZa2VoaHXrawoiNkxxrwLJnRYRtKPaHeXTg8uQJ8tAHGLkJMDRsAS-s","label":"NAZWA","type":"firebase_android","notifyNewChatMessage":true}"
  #languages: [
    "pl"
  ]
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "application/json"
    "text/json"
    "text/x-json"
    "text/javascript"
    "application/xml"
    "text/xml"
  ]
  #pathInfo: "/api/v2/user_subscriptions"
  #requestUri: "/api/v2/user_subscriptions"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1573 …}
  #locale: "pl"
  #defaultLocale: "pl"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"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
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 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
8 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
9 DENIED ROLE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_DOCTOR ACCESS DENIED
Show voter details
10 DENIED ROLE_NURSE
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_NURSE ACCESS DENIED
Show voter details
11 DENIED ROLE_BASE_DOCTOR
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_BASE_DOCTOR ACCESS DENIED
Show voter details
12 DENIED ROLE_CONSULTANT
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_CONSULTANT ACCESS DENIED
Show voter details