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

Security

Token

matteocremascoli61@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.eyJpYXQiOjE3NzQxNzg0NTMsImV4cCI6MTc3NDc4MzI1Mywicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoibWF0dGVvY3JlbWFzY29saTYxQGdtYWlsLmNvbSIsImlkIjoxMDUsImZpcnN0X25hbWUiOiJNYXR0ZW8iLCJsYXN0X25hbWUiOiJDcmVtYXNjb2xpIiwidGF4X2lkIjoiQ1JNTVRUMDBSMDdJNTc3QSIsIm1lbWJlcnNoaXAiOnsidHlwZSI6IlByb2Zlc3Npb25hbCIsImV4cGlyZXNfYXQiOiIyMDI2LTA0LTE1VDE1OjAxOjA0KzAwOjAwIn19.gkMDqNwKq7gjUWhbZiDju47GUcb57s4wdmXmcpP5skXE1_q3t4qmq7oygZgcArEQmcx0xWVDeksmcqQvMlRq6MJ6Ty6EX15qjZhngNeeNMdEvyqkmNpQjBVWFQa5EfJa_YfmqF4e1AQAisATuBkgYOyoTNz218yJJZGAph5k1KM50AHIG_C_1kG8V2jMhzs9uWGcUVEfwB1W3IeQe1M_JruRFjwVwXKwnEjRWn3aroTIh3FyqvMpiENc20AnU3BEeFEVN849x0PLbJpkbtSb3NPc2ca5s3ffDQytouU8wRBX6fP1q365g_meTRVRzChdBRoPTj46GfsvwTYzyEvRjg"
}

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 {#279 …}
  -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.02 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#778
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#776 …}
}
7.82 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#780
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#279 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#244 …}
  -map: Symfony\Component\Security\Http\AccessMap {#627 …}
}
0.00 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.07 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: "matteocremascoli61@gmail.com"
      -userLoader: Closure($userIdentifier) {#787 …}
      -user: App\Entity\User {#841 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1774178453
      "exp" => 1774783253
      "roles" => [
        "ROLE_USER"
      ]
      "username" => "matteocremascoli61@gmail.com"
      "id" => 105
      "first_name" => "Matteo"
      "last_name" => "Cremascoli"
      "tax_id" => "CRMMTT00R07I577A"
      "membership" => [
        "type" => "Professional"
        "expires_at" => "2026-04-15T15:01:04+00:00"
      ]
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzQxNzg0NTMsImV4cCI6MTc3NDc4MzI1Mywicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoibWF0dGVvY3JlbWFzY29saTYxQGdtYWlsLmNvbSIsImlkIjoxMDUsImZpcnN0X25hbWUiOiJNYXR0ZW8iLCJsYXN0X25hbWUiOiJDcmVtYXNjb2xpIiwidGF4X2lkIjoiQ1JNTVRUMDBSMDdJNTc3QSIsIm1lbWJlcnNoaXAiOnsidHlwZSI6IlByb2Zlc3Npb25hbCIsImV4cGlyZXNfYXQiOiIyMDI2LTA0LTE1VDE1OjAxOjA0KzAwOjAwIn19.gkMDqNwKq7gjUWhbZiDju47GUcb57s4wdmXmcpP5skXE1_q3t4qmq7oygZgcArEQmcx0xWVDeksmcqQvMlRq6MJ6Ty6EX15qjZhngNeeNMdEvyqkmNpQjBVWFQa5EfJa_YfmqF4e1AQAisATuBkgYOyoTNz218yJJZGAph5k1KM50AHIG_C_1kG8V2jMhzs9uWGcUVEfwB1W3IeQe1M_JruRFjwVwXKwnEjRWn3aroTIh3FyqvMpiENc20AnU3BEeFEVN849x0PLbJpkbtSb3NPc2ca5s3ffDQytouU8wRBX6fP1q365g_meTRVRzChdBRoPTj46GfsvwTYzyEvRjg"
  ]
}
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"