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

Security

Token

fabioviscogliosi@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.eyJpYXQiOjE3Nzk5NTM3MzUsImV4cCI6MTc4MDU1ODUzNSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiZmFiaW92aXNjb2dsaW9zaUBnbWFpbC5jb20iLCJpZCI6NDc5LCJmaXJzdF9uYW1lIjoiRmFiaW8iLCJsYXN0X25hbWUiOiJWaXNjb2dsaW9zaSIsInRheF9pZCI6IlZTQ0ZCQTA1UjEwSDIyNFoiLCJtZW1iZXJzaGlwIjp7InR5cGUiOiJQcm9mZXNzaW9uYWwiLCJleHBpcmVzX2F0IjoiMjAyNy0wMS0yNVQxNjoxMzo0NiswMDowMCJ9fQ.I6JPq70O1ZHjmVfxmqxWlZ_ybIMhvOJ_bPKPMZ8B08A9CFn5p8e2wNNdiXWzmMk2O9bLQ6HS7gc0IGa6_Dm943ApZ0kmGdiMpYLcyPKjF69o95q4BKygQrt465dmTSRZAZe7Gvv-jDMLK_YhLpeuu4QwR8WzFOVJgIDh8tZGpWxQn4d5z3CdllFh0Di7kDmutSv6Yu1JtYzWyVQkVA9OUXXx23V2Pd1e8D-0F9mNag5qAVt6JBZZVzVG-lMASguXD-55aCJcpMWFAk_UhDSdVcpK46U8dea5Ektid8jaAH6uG9l1yFi2w9JLBdSwxggtiU3dRyfkXRZZ6GHgIHdkhw"
}

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.02 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#778
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#776 …}
}
7.94 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.50 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: "fabioviscogliosi@gmail.com"
      -userLoader: Closure($userIdentifier) {#787 …}
      -user: App\Entity\User {#841 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1779953735
      "exp" => 1780558535
      "roles" => [
        "ROLE_USER"
      ]
      "username" => "fabioviscogliosi@gmail.com"
      "id" => 479
      "first_name" => "Fabio"
      "last_name" => "Viscogliosi"
      "tax_id" => "VSCFBA05R10H224Z"
      "membership" => [
        "type" => "Professional"
        "expires_at" => "2027-01-25T16:13:46+00:00"
      ]
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Nzk5NTM3MzUsImV4cCI6MTc4MDU1ODUzNSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiZmFiaW92aXNjb2dsaW9zaUBnbWFpbC5jb20iLCJpZCI6NDc5LCJmaXJzdF9uYW1lIjoiRmFiaW8iLCJsYXN0X25hbWUiOiJWaXNjb2dsaW9zaSIsInRheF9pZCI6IlZTQ0ZCQTA1UjEwSDIyNFoiLCJtZW1iZXJzaGlwIjp7InR5cGUiOiJQcm9mZXNzaW9uYWwiLCJleHBpcmVzX2F0IjoiMjAyNy0wMS0yNVQxNjoxMzo0NiswMDowMCJ9fQ.I6JPq70O1ZHjmVfxmqxWlZ_ybIMhvOJ_bPKPMZ8B08A9CFn5p8e2wNNdiXWzmMk2O9bLQ6HS7gc0IGa6_Dm943ApZ0kmGdiMpYLcyPKjF69o95q4BKygQrt465dmTSRZAZe7Gvv-jDMLK_YhLpeuu4QwR8WzFOVJgIDh8tZGpWxQn4d5z3CdllFh0Di7kDmutSv6Yu1JtYzWyVQkVA9OUXXx23V2Pd1e8D-0F9mNag5qAVt6JBZZVzVG-lMASguXD-55aCJcpMWFAk_UhDSdVcpK46U8dea5Ektid8jaAH6uG9l1yFi2w9JLBdSwxggtiU3dRyfkXRZZ6GHgIHdkhw"
  ]
}
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"