POST https://preprod-backapp.utech.care/api/firebases/tokens

Security

Token

23 Username
Authenticated
Property Value
Roles
[
  "ROLE_CUSTOMER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#1191
  -user: App\Entity\User\Customer {#2694 …}
  -roleNames: [
    "ROLE_CUSTOMER"
  ]
  -attributes: []
  -firewallName: "api"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODI4MjYxNzMsImV4cCI6MTc4MjkxMjU3Mywicm9sZXMiOlsiUk9MRV9DVVNUT01FUiJdLCJtYWlsIjoiY3VzdG9tZXIxQHV0ZWNoLmNhcmUiLCIyZmFfdmVyc2lvbiI6MH0.ZcP1ujpn9iS4xeOmf6zUWkRGu2RNr4geubFl9_V7YLGEZ460F73IJOPIO6vyJFNfTcMprekWwGBJ_bBEyEtBLsGalEK8jNFq1R59ftbIbz5xd20kJS_q9l-cbeQboWQORgnr93rRyGhpKcSAr3c7xS4Ah-vXWsT_Mw7dEfjbdWfDpV7CpVSIhq50fDXVZguYV7KlFohRNrFZyslYNgSe5PriuyzEWh4RqiJ_W8A4e8oeAvJt3IGehsaA2ff_Pn-_EOYW01OeSc1Xgz1VwMI_NX3vO2V7AmvbQVMPXfIlfd_3sfVqhoIMDCdFbswrjusWz8-o0JM3fkUv9rKqdtNj4A"
}

Firewall

api Name
Security enabled
Stateless

Configuration

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

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#896
  -map: Symfony\Component\Security\Http\AccessMap {#897 …}
  -logger: Monolog\Logger {#887 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1146
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1154 …}
}
956.29 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1144
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1507 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#879 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1143 …}
  -firewallName: "api"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#1218 …}
  -logger: Monolog\Logger {#887 …}
  -usernameParameter: "x-switch-user"
  -role: "ROLE_SUPER_ADMIN"
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1736 …}
  -stateless: true
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#1538 …}
  -targetRoute: null
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1141
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1507 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#1218 …}
  -map: Symfony\Component\Security\Http\AccessMap {#897 …}
}
10.90 ms (none)

Authenticators

Status Authenticator
skipped
"App\Security\PrivateKeyAuthenticator"

This authenticator did not support the request.

skipped
"Gesdinet\JWTRefreshTokenBundle\Security\Http\Authenticator\RefreshTokenAuthenticator"

This authenticator did not support the request.

success
"App\Security\JWTTokenAuthenticator"
Lazy no
Duration 838.45 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1085
  #user: App\Entity\User\Customer {#2694 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1082
      -userLoader: Closure($userIdentifier) {#969 …}
      -user: App\Entity\User\Customer {#2694 …}
      -identifierNormalizer: null
      -userIdentifier: "customer1@utech.care"
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1782826173
      "exp" => 1782912573
      "roles" => [
        "ROLE_CUSTOMER"
      ]
      "mail" => "customer1@utech.care"
      "2fa_version" => 0
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODI4MjYxNzMsImV4cCI6MTc4MjkxMjU3Mywicm9sZXMiOlsiUk9MRV9DVVNUT01FUiJdLCJtYWlsIjoiY3VzdG9tZXIxQHV0ZWNoLmNhcmUiLCIyZmFfdmVyc2lvbiI6MH0.ZcP1ujpn9iS4xeOmf6zUWkRGu2RNr4geubFl9_V7YLGEZ460F73IJOPIO6vyJFNfTcMprekWwGBJ_bBEyEtBLsGalEK8jNFq1R59ftbIbz5xd20kJS_q9l-cbeQboWQORgnr93rRyGhpKcSAr3c7xS4Ah-vXWsT_Mw7dEfjbdWfDpV7CpVSIhq50fDXVZguYV7KlFohRNrFZyslYNgSe5PriuyzEWh4RqiJ_W8A4e8oeAvJt3IGehsaA2ff_Pn-_EOYW01OeSc1Xgz1VwMI_NX3vO2V7AmvbQVMPXfIlfd_3sfVqhoIMDCdFbswrjusWz8-o0JM3fkUv9rKqdtNj4A"
  ]
}
Badges UserBadge

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"

Access decision log

# Result Attributes Object
1 GRANTED IS_AUTHENTICATED_REMEMBERED
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
GRANTED
The user is fully authenticated.
Show voter details
2 GRANTED
[
  "ROLE_CUSTOMER"
  "ROLE_INTERVENER"
  "ROLE_RELATIVE"
  "ROLE_HEALTH_PROFESSIONAL"
  "ROLE_UNAIDE"
  "ROLE_RESIDENT"
  "ROLE_CO_LIVING_MANAGER"
]
Symfony\Component\HttpFoundation\Request {#24
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#66 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#53 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#65 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#69 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#68 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#67 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#70 …}
  #content: "{"idDevice":"d1koNQ9E5Up7tvAQoSqJGO:APA91bHWYuz2mwcWMmiZxwtdXVoKIlC6z3ltHBflYzUmcZcCN79QRxMiRftjJlQ_00EiYZM6lKTcFIrEvp72K-UK0wgUk-OCNcZrxAKoOzFVskwJE0ys6gc","idOldDevice":"null"}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/firebases/tokens"
  #requestUri: "/api/firebases/tokens"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#4779 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_CUSTOMER.
Show voter details