GET https://preprod-backapp.utech.care/api/users/53/badge-unlocks

Security

Token

53 Username
Authenticated
Property Value
Roles
[
  "ROLE_INTERVENER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#1223
  -user: App\Entity\User\Intervener {#2734 …}
  -roleNames: [
    "ROLE_INTERVENER"
  ]
  -attributes: []
  -firewallName: "api"
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODgyNjQ3NDIsImV4cCI6MTc4ODM1MTE0Miwicm9sZXMiOlsiUk9MRV9JTlRFUlZFTkVSIl0sIm1haWwiOiJpbnRlcnZlbmVyMUB1dGVjaC5jYXJlIiwiMmZhX3ZlcnNpb24iOjB9.a7Gsf0MQ5Y5mCBQyqmcQGFotVm_HkezHIlL8sK23I5ZvlmdZdF1RNK77rnTxGD9DHxsJl2xOJ1D4QXbl0ho05-zlFyrrHpkWgZlaxYHWISqGRQrdvuEYXMaVYH1kmAt92C8AS6wZWCADLmewz7SDz-T8W41AzUDVmhUl_xVREgFs32qUgyrLaSsggVjY7PaLrCMnFr0pPig4lUDHze0aOEoW-gZygb5DXLOAHzxtSWGuBdsItkdzjH_ZeE1GXhb7ZS_urTjjLLj2HlIdiTu-O4ovTIrmWfW9jMzX6oKhqEy12BG-kNmXlhuayqn11Paa8M5a2lYdmQYWa_mu-yruyA"
}

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 {#928
  -map: Symfony\Component\Security\Http\AccessMap {#929 …}
  -logger: Monolog\Logger {#919 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1178
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1186 …}
}
282.77 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1176
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1549 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#911 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1175 …}
  -firewallName: "api"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#1250 …}
  -logger: Monolog\Logger {#919 …}
  -usernameParameter: "x-switch-user"
  -role: "ROLE_SUPER_ADMIN"
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1778 …}
  -stateless: true
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#1580 …}
  -targetRoute: null
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1173
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1549 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#1250 …}
  -map: Symfony\Component\Security\Http\AccessMap {#929 …}
}
0.61 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 248.75 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1116
  #user: App\Entity\User\Intervener {#2734 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1113
      -userLoader: Closure($userIdentifier) {#1000 …}
      -user: App\Entity\User\Intervener {#2734 …}
      -identifierNormalizer: null
      -userIdentifier: "intervener1@utech.care"
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1788264742
      "exp" => 1788351142
      "roles" => [
        "ROLE_INTERVENER"
      ]
      "mail" => "intervener1@utech.care"
      "2fa_version" => 0
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODgyNjQ3NDIsImV4cCI6MTc4ODM1MTE0Miwicm9sZXMiOlsiUk9MRV9JTlRFUlZFTkVSIl0sIm1haWwiOiJpbnRlcnZlbmVyMUB1dGVjaC5jYXJlIiwiMmZhX3ZlcnNpb24iOjB9.a7Gsf0MQ5Y5mCBQyqmcQGFotVm_HkezHIlL8sK23I5ZvlmdZdF1RNK77rnTxGD9DHxsJl2xOJ1D4QXbl0ho05-zlFyrrHpkWgZlaxYHWISqGRQrdvuEYXMaVYH1kmAt92C8AS6wZWCADLmewz7SDz-T8W41AzUDVmhUl_xVREgFs32qUgyrLaSsggVjY7PaLrCMnFr0pPig4lUDHze0aOEoW-gZygb5DXLOAHzxtSWGuBdsItkdzjH_ZeE1GXhb7ZS_urTjjLLj2HlIdiTu-O4ovTIrmWfW9jMzX6oKhqEy12BG-kNmXlhuayqn11Paa8M5a2lYdmQYWa_mu-yruyA"
  ]
}
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: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/users/53/badge-unlocks"
  #requestUri: "/api/users/53/badge-unlocks"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "json"
  #session: Symfony\Component\HttpFoundation\Session\Session {#4588 …}
  #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_INTERVENER.
Show voter details