http://staging.api.digidom.pro/v1/letters/505434?q=%2Fv1%2Fletters%2F505434

Security

Token

25745@digidom.pro Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_PREVIOUS_ADMIN"
]
Inherited Roles none
Token
Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken {#2018
  -originalToken: Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Token\JWTUserToken {#1807 …}
  -originatedFromUri: "/v1/letters/505434"
  -credentials: null
  -firewallName: "api"
  -user: Evo\Infrastructure\MappingORM\User {#2278 …}
  -roleNames: [
    "ROLE_USER"
    "ROLE_PREVIOUS_ADMIN"
  ]
  -authenticated: true
  -attributes: []
}

Firewall

api Name
Security enabled
Stateless
Allows anonymous

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context (none)
entry_point lexik_jwt_authentication.jwt_token_authenticator
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
listeners
[
  "switch_user"
  "guard"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#1706
  -map: Symfony\Component\Security\Http\AccessMap {#1705 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#1713 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Guard\Firewall\GuardAuthenticationListener {#1667
  -guardHandler: Symfony\Component\Security\Guard\GuardAuthenticatorHandler {#1676 …}
  -authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#1671 …}
  -providerKey: "api"
  -guardAuthenticators: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#1666 …}
  -logger: Symfony\Bridge\Monolog\Logger {#1713 …}
  -rememberMeServices: null
  -hideUserNotFoundExceptions: true
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#563 …}
}
66.50 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#1661
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#563 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#1649 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#1648 …}
  -firewallName: "api"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#558 …}
  -usernameParameter: "x-switch-user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Symfony\Bridge\Monolog\Logger {#1713 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#849 …}
  -stateless: true
}
67.54 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1763
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#563 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#558 …}
  -map: Symfony\Component\Security\Http\AccessMap {#1705 …}
  -authManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#1671 …}
  -exceptionOnNoToken: true
}
0.20 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
4
"Evo\Application\Security\Voter\AdminManageVoter"
5
"Evo\Application\Security\Voter\UserVoter"
6
"EasyCorp\Bundle\EasyAdminBundle\Security\SecurityVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_ALLOWED_TO_SWITCH
Evo\Infrastructure\MappingORM\User {#2278 …}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
2 GRANTED IS_AUTHENTICATED_ANONYMOUSLY
Symfony\Component\HttpFoundation\Request {#12
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#17 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#15 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#16 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#20 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#19 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#18 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#21 …}
  #content: "{"isRead":true}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "*/*"
  ]
  #pathInfo: "/v1/letters/505434"
  #requestUri: "/v1/letters/505434"
  #baseUrl: ""
  #basePath: null
  #method: "PUT"
  #format: "jsonld"
  #session: Symfony\Component\HttpFoundation\Session\Session {#1141 …}
  #locale: null
  #defaultLocale: "fr"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: null
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details
3 DENIED ROLE_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"Evo\Application\Security\Voter\AdminManageVoter"
ACCESS ABSTAIN
"Evo\Application\Security\Voter\UserVoter"
ACCESS ABSTAIN
"EasyCorp\Bundle\EasyAdminBundle\Security\SecurityVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED ROLE_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"Evo\Application\Security\Voter\AdminManageVoter"
ACCESS ABSTAIN
"Evo\Application\Security\Voter\UserVoter"
ACCESS ABSTAIN
"EasyCorp\Bundle\EasyAdminBundle\Security\SecurityVoter"
ACCESS ABSTAIN
Show voter details