Security
Token
jan.nowak@e-recepta.net
Username
Authenticated
Property | Value |
---|---|
Roles |
[ "ROLE_REGISTERED_USER" "ROLE_USER" ] |
Inherited Roles | none |
Token | Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#2775 -user: App\Entity\User {#1790 …} -roleNames: [ "ROLE_REGISTERED_USER" "ROLE_USER" ] -attributes: [] -firewallName: "main" -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDk2NDU5OTIsImV4cCI6MTc0OTczMjM5MiwidXNlcm5hbWUiOiJqYW4ubm93YWtAZS1yZWNlcHRhLm5ldCIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.P2NrRZxWK33T-YBo_iRI9G62uU13MZPpEo8q6Oan3_zyMUYdefd6bGDru39r7Mvp04l8gS4wkkZXYpvZxBQH__opC5yJzzh2xeFM1hkm9SK4FSNPDy-FtZdZIJndMia43aifo2kMKrQlCcLb1ht9EIQTPBfQ8uQkXYDaaNXP-AYpkHS07KNoq76A-8j2mRlo7ICagju7kaxqNI46OT-idJe4fKYp-h0GkomWeB6Z6wTT1HxRkZ14zvGK3rv4C1rS63qMRooQP0ZkLZNe9P4t5xoEV0EaegfxKOLvV9DZ7zs1nJx7uDAQmNkiMmV8kLU8kIK5Qyhgjga8A6x_gw5wgg" } |
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 {#2078 -map: Symfony\Component\Security\Http\AccessMap {#2059 …} -logger: Monolog\Logger {#2061 …} -httpPort: 80 -httpsPort: 443 } |
0.00 ms | (none) |
Symfony\Component\Security\Http\Firewall\ContextListener {#2346 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#818 …} -sessionKey: "_security_main" -logger: Monolog\Logger {#2061 …} -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#2343 …} -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2262 …} -registered: false -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#776 …} -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#2313 …} } |
27.01 ms | (none) |
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1476 -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1478 …} } |
26.44 ms | (none) |
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1473 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#817 …} -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#1477 …} -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1469 …} -firewallName: "main" -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#826 …} -usernameParameter: "_switch_user" -role: "ROLE_ALLOWED_TO_SWITCH" -logger: Monolog\Logger {#2061 …} -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 {#1772 -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#181 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#817 …} -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#1472 …} } |
0.02 ms | (none) |
Symfony\Component\Security\Http\Firewall\AccessListener {#1764 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#817 …} -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#826 …} -map: Symfony\Component\Security\Http\AccessMap {#2059 …} } |
49.91 ms | (none) |
Symfony\Component\Security\Http\Firewall\LogoutListener {#2065 -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 {#2262 …} } |
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" |
3.68 ms | Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1826 #user: App\Entity\User {#1790 …} -badges: [ "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1816 -userIdentifier: "jan.nowak@e-recepta.net" -userLoader: Closure($userIdentifier) {#2745 …} -user: App\Entity\User {#1790 …} -attributes: null } ] -attributes: [ "payload" => [ "iat" => 1749645992 "exp" => 1749732392 "username" => "jan.nowak@e-recepta.net" "mercure_token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdLCJzdWJzY3JpYmUiOlsiKiJdfX0.AvnCKE9wnsPVgpc6C9Huq-kzxncLf2NiLn7KupnjBo4" "webpush_server_key" => "r40zXLmT5fWpdU9fDBfemXUgyHUwpbfOYKEuLQQJKZ0" "active" => true "2fa" => false "TWO_FACTOR_COMPLETE" => false ] "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDk2NDU5OTIsImV4cCI6MTc0OTczMjM5MiwidXNlcm5hbWUiOiJqYW4ubm93YWtAZS1yZWNlcHRhLm5ldCIsIm1lcmN1cmVfdG9rZW4iOiJleUowZVhBaU9pSktWMVFpTENKaGJHY2lPaUpJVXpJMU5pSjkuZXlKdFpYSmpkWEpsSWpwN0luQjFZbXhwYzJnaU9sdGRMQ0p6ZFdKelkzSnBZbVVpT2xzaUtpSmRmWDAuQXZuQ0tFOXduc1BWZ3BjNkM5SHVxLWt6eG5jTGYyTmlMbjdLdXBuakJvNCIsIndlYnB1c2hfc2VydmVyX2tleSI6InI0MHpYTG1UNWZXcGRVOWZEQmZlbVhVZ3lIVXdwYmZPWUtFdUxRUUpLWjAiLCJhY3RpdmUiOnRydWUsIjJmYSI6ZmFsc2UsIlRXT19GQUNUT1JfQ09NUExFVEUiOmZhbHNlfQ.P2NrRZxWK33T-YBo_iRI9G62uU13MZPpEo8q6Oan3_zyMUYdefd6bGDru39r7Mvp04l8gS4wkkZXYpvZxBQH__opC5yJzzh2xeFM1hkm9SK4FSNPDy-FtZdZIJndMia43aifo2kMKrQlCcLb1ht9EIQTPBfQ8uQkXYDaaNXP-AYpkHS07KNoq76A-8j2mRlo7ICagju7kaxqNI46OT-idJe4fKYp-h0GkomWeB6Z6wTT1HxRkZ14zvGK3rv4C1rS63qMRooQP0ZkLZNe9P4t5xoEV0EaegfxKOLvV9DZ7zs1nJx7uDAQmNkiMmV8kLU8kIK5Qyhgjga8A6x_gw5wgg" ] } |
UserBadge |
Access Decision
unanimous
Strategy
Access decision log
# | Result | Attributes | Object | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | DENIED | ROLE_API_PANEL_CHAT | null |
|||||||||||||||
|
||||||||||||||||||
2 | DENIED | ROLE_CONSULTANT | null |
|||||||||||||||
|
||||||||||||||||||
3 | DENIED | ROLE_BASE_DOCTOR | null |
|||||||||||||||
|
||||||||||||||||||
4 | GRANTED | ROLE_USER | null |
|||||||||||||||
|
||||||||||||||||||
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 {#2056 …} #locale: "pl" #defaultLocale: "pl" -preferredFormat: null -isHostValid: true -isForwardedValid: true -isSafeContentPreferred: ? bool -trustedValuesCache: [] -isIisRewrite: false : "" } |
|||||||||||||||
|
||||||||||||||||||
6 | GRANTED | ROLE_USER | null |
|||||||||||||||
|
||||||||||||||||||
7 | DENIED | ROLE_DOCTOR | null |
|||||||||||||||
|
||||||||||||||||||
8 | DENIED | ROLE_NURSE | null |
|||||||||||||||
|
||||||||||||||||||
9 | DENIED | ROLE_BASE_DOCTOR | null |
|||||||||||||||
|
||||||||||||||||||
10 | DENIED | ROLE_CONSULTANT | null |
|||||||||||||||
|
||||||||||||||||||
11 | GRANTED | ROLE_USER | null |
|||||||||||||||
|
||||||||||||||||||
12 | DENIED | ROLE_DOCTOR | null |
|||||||||||||||
|
||||||||||||||||||
13 | DENIED | ROLE_NURSE | null |
|||||||||||||||
|
||||||||||||||||||
14 | DENIED | ROLE_BASE_DOCTOR | null |
|||||||||||||||
|
||||||||||||||||||
15 | DENIED | ROLE_CONSULTANT | null |
|||||||||||||||
|