Security

Token

matiasgutierrez.dev@gmail.com Username
Authenticated
Property Value
Roles
[
  "ROLE_BACKOFFICE"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#1055
  -user: App\Entity\User {#1211 …}
  -roleNames: [
    "ROLE_BACKOFFICE"
  ]
  -attributes: []
  -firewallName: "api"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzQ0MzY2NjEsImV4cCI6MTc3NDQ2NTQ2MSwicm9sZXMiOlsiUk9MRV9CQUNLT0ZGSUNFIl0sInVzZXJuYW1lIjoibWF0aWFzZ3V0aWVycmV6LmRldkBnbWFpbC5jb20ifQ.rpI6PNEU_54hjX3nv1g5m92DSC0o79edEgYrx1URsDe9egBBNQKaFdvvXdfOkjKL5CBWesOrOZUOSPro0cqlJAl7gxI_sfP-oWGIeWtltDTezOa7cb9FHJXw7FdO6BZxIA_JMdpNdcpWDkSyWNpSkwAfQliX9Xjl5FwvGNnZ5hlzbpSp4rH3YOU1ptC4xjD51OoHIxqsRIDGb-qP2S_cFs2eNQx1w9ydMvN8XgArUeJgwfQxSPNHcO9OTGj71ODPGF5KTXUQIH74pGj3ykypdc2D6ktjjyI-2V7vT5DQEdLyTiMzAdnmEJwNU1jjNBhVt47D9ee4MzIs0CbY6J9yjA"
}

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context (none)
entry_point security.authenticator.jwt.api
user_checker security.user_checker
access_denied_handler App\Security\AccessDeniedHandler
access_denied_url (none)
authenticators
[
  "jwt"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#417
  -map: Symfony\Component\Security\Http\AccessMap {#418 …}
  -logger: Monolog\Logger {#408 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#459
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#454 …}
}
346.33 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#466
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#601 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#461 …}
  -map: Symfony\Component\Security\Http\AccessMap {#418 …}
}
4.37 ms (none)

Authenticators

Status Authenticator
success
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
Lazy no
Duration 14.24 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#416
  #user: App\Entity\User {#1211 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#414
      -userLoader: Closure($userIdentifier) {#478 …}
      -user: App\Entity\User {#1211 …}
      -identifierNormalizer: null
      -userIdentifier: "matiasgutierrez.dev@gmail.com"
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1774436661
      "exp" => 1774465461
      "roles" => [
        "ROLE_BACKOFFICE"
      ]
      "username" => "matiasgutierrez.dev@gmail.com"
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzQ0MzY2NjEsImV4cCI6MTc3NDQ2NTQ2MSwicm9sZXMiOlsiUk9MRV9CQUNLT0ZGSUNFIl0sInVzZXJuYW1lIjoibWF0aWFzZ3V0aWVycmV6LmRldkBnbWFpbC5jb20ifQ.rpI6PNEU_54hjX3nv1g5m92DSC0o79edEgYrx1URsDe9egBBNQKaFdvvXdfOkjKL5CBWesOrOZUOSPro0cqlJAl7gxI_sfP-oWGIeWtltDTezOa7cb9FHJXw7FdO6BZxIA_JMdpNdcpWDkSyWNpSkwAfQliX9Xjl5FwvGNnZ5hlzbpSp4rH3YOU1ptC4xjD51OoHIxqsRIDGb-qP2S_cFs2eNQx1w9ydMvN8XgArUeJgwfQxSPNHcO9OTGj71ODPGF5KTXUQIH74pGj3ykypdc2D6ktjjyI-2V7vT5DQEdLyTiMzAdnmEJwNU1jjNBhVt47D9ee4MzIs0CbY6J9yjA"
  ]
}
Badges UserBadge

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
2
"App\Security\BackofficePermissionsVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_BACKOFFICE
Symfony\Component\HttpFoundation\Request {#13
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#64 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#51 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#63 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#67 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#66 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#65 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#68 …}
  #content: ""
  #languages: [
    "es"
  ]
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/backoffice/customer/get-own"
  #requestUri: "/api/backoffice/customer/get-own?search=&currentPage=1&sortOrder=ASC&limit=10&paginated=true"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#2280 …}
  #locale: "es"
  #defaultLocale: "es"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
GRANTED
The user has ROLE_BACKOFFICE.
Show voter details
2 GRANTED ROLE_BACKOFFICE
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
GRANTED
The user has ROLE_BACKOFFICE.
Show voter details
3 GRANTED customer_access
null
"App\Security\BackofficePermissionsVoter"
GRANTED
Show voter details