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

Security

Token

chierailario42@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.eyJpYXQiOjE3NzQzNzcyNTUsImV4cCI6MTc3NDk4MjA1NSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiY2hpZXJhaWxhcmlvNDJAZ21haWwuY29tIiwiaWQiOjU3OSwiZmlyc3RfbmFtZSI6IklsYXJpbyIsImxhc3RfbmFtZSI6IkNoaWVyYSIsInRheF9pZCI6IkNIUkxSSTAxUDI0RDk3NkYiLCJtZW1iZXJzaGlwIjp7InR5cGUiOiJQcm9mZXNzaW9uYWwiLCJleHBpcmVzX2F0IjoiMjAyNy0wMy0yNFQxNzozOTo0MyswMDowMCJ9fQ.kuW0lWyrG_ZehJnDSP5dylnOuOimoMw1WmDx41eUuNCtpBmTF7dVKQ9e_7ZgEgjEaPELNDXH4tt9ExQpJGtzJnN1zDZGRCZ8hgTx2-r3GVynsWnIUjLwdCvnga8jxaBYxpgUoqw-8NT4uVwlItYMNcNVYRsq-uRzo_Y02BdwplOsVbza-aJ4vlNsOFXDiKSELC0EQBNVJbcO7xMtyKxaBAj6iQrej3-G6JUQEaVFdvYmc__dqVaBAc4kl-0f-N-9p0XJjd1ji39gkMb_LuUhhNSluj5hucKf0Qt5knJZuD3hSqo6O5lglqqVwJYgIZFnxAhtVc5zngUgqHWzn58BAQ"
}

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.03 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#778
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#776 …}
}
10.00 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.81 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: "chierailario42@gmail.com"
      -userLoader: Closure($userIdentifier) {#787 …}
      -user: App\Entity\User {#841 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1774377255
      "exp" => 1774982055
      "roles" => [
        "ROLE_USER"
      ]
      "username" => "chierailario42@gmail.com"
      "id" => 579
      "first_name" => "Ilario"
      "last_name" => "Chiera"
      "tax_id" => "CHRLRI01P24D976F"
      "membership" => [
        "type" => "Professional"
        "expires_at" => "2027-03-24T17:39:43+00:00"
      ]
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzQzNzcyNTUsImV4cCI6MTc3NDk4MjA1NSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiY2hpZXJhaWxhcmlvNDJAZ21haWwuY29tIiwiaWQiOjU3OSwiZmlyc3RfbmFtZSI6IklsYXJpbyIsImxhc3RfbmFtZSI6IkNoaWVyYSIsInRheF9pZCI6IkNIUkxSSTAxUDI0RDk3NkYiLCJtZW1iZXJzaGlwIjp7InR5cGUiOiJQcm9mZXNzaW9uYWwiLCJleHBpcmVzX2F0IjoiMjAyNy0wMy0yNFQxNzozOTo0MyswMDowMCJ9fQ.kuW0lWyrG_ZehJnDSP5dylnOuOimoMw1WmDx41eUuNCtpBmTF7dVKQ9e_7ZgEgjEaPELNDXH4tt9ExQpJGtzJnN1zDZGRCZ8hgTx2-r3GVynsWnIUjLwdCvnga8jxaBYxpgUoqw-8NT4uVwlItYMNcNVYRsq-uRzo_Y02BdwplOsVbza-aJ4vlNsOFXDiKSELC0EQBNVJbcO7xMtyKxaBAj6iQrej3-G6JUQEaVFdvYmc__dqVaBAc4kl-0f-N-9p0XJjd1ji39gkMb_LuUhhNSluj5hucKf0Qt5knJZuD3hSqo6O5lglqqVwJYgIZFnxAhtVc5zngUgqHWzn58BAQ"
  ]
}
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"