https://staging.troskovi.com/apiV2/residents/flats/186504/dashboard

Security

Token

Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_FLAT_USER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#216
  -user: App\Entity\Resident {#1135 …}
  -roleNames: [
    "ROLE_USER"
    "ROLE_FLAT_USER"
  ]
  -attributes: []
  -firewallName: "apiv2_resident"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJpYXQiOjE3NDE4NzQxMzgsImV4cCI6MTc3Mjk3ODEzOCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9GTEFUX1VTRVIiXSwiZW1haWwiOiJtaWxhbmphbmppYysyQGdtYWlsLmNvbSIsImJ1aWxkaW5nSWQiOls4MDIyXX0.MSctH1tVRrfRVr2043S7KouEcH3WFiGaJR7RKAqxo7HhCpsuDkeBhR2j8xwbt3r7NUgxvMru-aV8ZVNk4ljSjE2I43FwaIZEPlV8BiPa6RB5p25Kc4B_67AeMcyfEe--UGGd0T7a9cU1Er9ISGovcqn2PW8ax4kVEeZCc_UPtYRWlK5y4nkX0XZxkCf2ZWefZ1XklXf2jiwcqPnDWOzdmOHC3wrMTk8DUC_l8n0O9wrEOy5ss2Csqgpcp2TrF74bjB8J47qJoLSHDqNjsZPk23PCpxRcwJwvz1KQz5XUco7HQgJiljaMy7MdcAmjkgGp1Bup8VC9ti1Jg3U6BnF9iw"
}

Firewall

apiv2_resident Name
Security enabled
Stateless

Configuration

Key Value
provider (none)
context (none)
entry_point security.authenticator.jwt.apiv2_resident
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "jwt"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#269
  -map: Symfony\Component\Security\Http\AccessMap {#270 …}
  -logger: Symfony\Bridge\Monolog\Logger {#261 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#290
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#291 …}
}
23.65 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#301
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#401 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#480 …}
  -map: Symfony\Component\Security\Http\AccessMap {#270 …}
}
0.11 ms (none)

Authenticators

Authenticator Supports Duration Passport
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
1.35 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#288
  #user: App\Entity\Resident {#1135 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#305
      -userIdentifier: "[email protected]"
      -userLoader: Closure($userIdentifier) {#307 …}
      -user: App\Entity\Resident {#1135 …}
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1741874138
      "exp" => 1772978138
      "roles" => [
        "ROLE_USER"
        "ROLE_FLAT_USER"
      ]
      "email" => "[email protected]"
      "buildingId" => [
        8022
      ]
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJpYXQiOjE3NDE4NzQxMzgsImV4cCI6MTc3Mjk3ODEzOCwicm9sZXMiOlsiUk9MRV9VU0VSIiwiUk9MRV9GTEFUX1VTRVIiXSwiZW1haWwiOiJtaWxhbmphbmppYysyQGdtYWlsLmNvbSIsImJ1aWxkaW5nSWQiOls4MDIyXX0.MSctH1tVRrfRVr2043S7KouEcH3WFiGaJR7RKAqxo7HhCpsuDkeBhR2j8xwbt3r7NUgxvMru-aV8ZVNk4ljSjE2I43FwaIZEPlV8BiPa6RB5p25Kc4B_67AeMcyfEe--UGGd0T7a9cU1Er9ISGovcqn2PW8ax4kVEeZCc_UPtYRWlK5y4nkX0XZxkCf2ZWefZ1XklXf2jiwcqPnDWOzdmOHC3wrMTk8DUC_l8n0O9wrEOy5ss2Csqgpcp2TrF74bjB8J47qJoLSHDqNjsZPk23PCpxRcwJwvz1KQz5XUco7HQgJiljaMy7MdcAmjkgGp1Bup8VC9ti1Jg3U6BnF9iw"
  ]
}

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
4
"App\Security\Voter\FlatPollVoter"
5
"App\Security\Voter\FlatVoter"
6
"EasyCorp\Bundle\EasyAdminBundle\Security\SecurityVoter"

Access decision log

# Result Attributes Object
1 GRANTED PUBLIC_ACCESS
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#16 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#12 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#11 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#19 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#18 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#17 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#20 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/apiV2/residents/flats/186504/dashboard"
  #requestUri: "/apiV2/residents/flats/186504/dashboard"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#2154 …}
  #locale: null
  #defaultLocale: "sr_Latn"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details