PATCH https://api.simulatorestrategico.com/scheduled_learnings/2626

Security

Token

Gabrielecina22@gmail.com Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#863
  -user: App\Entity\User {#841 …}
  -roleNames: [
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "main"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Nzk4NzIzOTgsImV4cCI6MTc4MDQ3NzE5OCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiR2FicmllbGVjaW5hMjJAZ21haWwuY29tIiwiaWQiOjQzNywiZmlyc3RfbmFtZSI6IkdhYnJpZWxlIiwibGFzdF9uYW1lIjoiQ2luw6AiLCJ0YXhfaWQiOiJDTklHUkwwN0EwOEcyNzNMIiwibWVtYmVyc2hpcCI6eyJ0eXBlIjoiUHJvZmVzc2lvbmFsIiwiZXhwaXJlc19hdCI6IjIwMjYtMTEtMjBUMDk6NDE6MzgrMDA6MDAifX0.CQX5_V12Bink7355pGMyOMClkE9Zloh9-fErnyMNqWttFRkaAjgcQdpOeAbFaXvIls2EC5nJ4v1NA8ozT9qM4pCvnLCDQ1BkQx5syiVl5PhpDFEN7stznigIFu9LyJ_wKZr7M0js4wvVGJfoT2bz3HtkmQzMMXgKkLOwATx0vc9_U3XVkBtNPjI2D8cTL2zkoII2wv7_TCZeJ-7FUgVec3Hljh0mSgHshbCd-yjPEsxDjwQ3gQN-ID5k9zXahPO5Dfp8B1ULFHdtErH0kZ10cw1b7gKjAmyTRg_mnosNHdFTmcrMHdE2xdoxnlcqr3iVO62ROX8Lv5V-1DAvnJs9vw"
}

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.users
context main
entry_point security.authenticator.jwt.main
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "jwt"
  "json_login"
  "refresh_jwt"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#626
  -map: Symfony\Component\Security\Http\AccessMap {#627 …}
  -logger: Monolog\Logger {#616 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#643
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#264 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#616 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#644 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#633 …}
  -registered: true
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#373 …}
  -sessionTrackerEnabler: null
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#778
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#776 …}
}
10.20 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#780
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#264 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#257 …}
  -map: Symfony\Component\Security\Http\AccessMap {#627 …}
}
0.01 ms (none)

Authenticators

Authenticator Supports Authenticated Duration Passport Badges
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
0.00 ms (none) (none)
"Gesdinet\JWTRefreshTokenBundle\Security\Http\Authenticator\RefreshTokenAuthenticator"
0.00 ms (none) (none)
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
1.69 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#623
  #user: App\Entity\User {#841 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#785
      -userIdentifier: "Gabrielecina22@gmail.com"
      -userLoader: Closure($userIdentifier) {#787 …}
      -user: App\Entity\User {#841 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1779872398
      "exp" => 1780477198
      "roles" => [
        "ROLE_USER"
      ]
      "username" => "Gabrielecina22@gmail.com"
      "id" => 437
      "first_name" => "Gabriele"
      "last_name" => "Cinà"
      "tax_id" => "CNIGRL07A08G273L"
      "membership" => [
        "type" => "Professional"
        "expires_at" => "2026-11-20T09:41:38+00:00"
      ]
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Nzk4NzIzOTgsImV4cCI6MTc4MDQ3NzE5OCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiR2FicmllbGVjaW5hMjJAZ21haWwuY29tIiwiaWQiOjQzNywiZmlyc3RfbmFtZSI6IkdhYnJpZWxlIiwibGFzdF9uYW1lIjoiQ2luw6AiLCJ0YXhfaWQiOiJDTklHUkwwN0EwOEcyNzNMIiwibWVtYmVyc2hpcCI6eyJ0eXBlIjoiUHJvZmVzc2lvbmFsIiwiZXhwaXJlc19hdCI6IjIwMjYtMTEtMjBUMDk6NDE6MzgrMDA6MDAifX0.CQX5_V12Bink7355pGMyOMClkE9Zloh9-fErnyMNqWttFRkaAjgcQdpOeAbFaXvIls2EC5nJ4v1NA8ozT9qM4pCvnLCDQ1BkQx5syiVl5PhpDFEN7stznigIFu9LyJ_wKZr7M0js4wvVGJfoT2bz3HtkmQzMMXgKkLOwATx0vc9_U3XVkBtNPjI2D8cTL2zkoII2wv7_TCZeJ-7FUgVec3Hljh0mSgHshbCd-yjPEsxDjwQ3gQN-ID5k9zXahPO5Dfp8B1ULFHdtErH0kZ10cw1b7gKjAmyTRg_mnosNHdFTmcrMHdE2xdoxnlcqr3iVO62ROX8Lv5V-1DAvnJs9vw"
  ]
}
UserBadge

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"