GET https://www.lynux.me/notifications/api/unread-count

Security

Token

lzjtfj@126.com Username
Authenticated
3d48fc From
Property Value
Roles
[
  1 => "ROLE_USER"
  2 => "ROLE_SUPER_ADMIN"
]
Inherited Roles none
Token
Symfony\Component\Security\Core\Authentication\Token\RememberMeToken {#689
  -user: App\Entity\User {#827 …}
  -roleNames: [
    1 => "ROLE_USER"
    2 => "ROLE_SUPER_ADMIN"
  ]
  -attributes: []
  -firewallName: "main"
}

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point security.authenticator.form_login.main
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "form_login"
  "remember_me"
]

Listeners

Listener Duration Response
"Symfony\Component\Security\Http\Firewall\ChannelListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\ContextListener"
28.97 ms (none)
"Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
0.21 ms (none)
"Symfony\Component\Security\Http\Firewall\AccessListener"
0.76 ms (none)
"Symfony\Component\Security\Http\Firewall\LogoutListener"
(none) (none)

Authenticators

Status Authenticator
skipped
"Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"

This authenticator did not support the request.

skipped
"Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"

This authenticator did not support the request.

Access Decision

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

Access decision log

# Result Attributes Object
1 GRANTED ROLE_SUPER_ADMIN
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#17 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#5 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#15 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#23 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#21 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#19 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#25 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/notifications/api/unread-count"
  #requestUri: "/notifications/api/unread-count"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#682 …}
  #locale: null
  #defaultLocale: "en"
  -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_SUPER_ADMIN.
Show voter details
2 GRANTED ROLE_SUPER_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
GRANTED
The user has ROLE_SUPER_ADMIN.
Show voter details