Security

Token

jacek.tchorzewski@coderslab.pl Username
Authenticated
Property Value
Roles
[
  "ROLE_SUPER_ADMIN"
  "ROLE_MENTOR"
  "ROLE_LECTURER"
  "ROLE_USER"
]
Inherited Roles
[
  "ROLE_ADMIN"
  "ROLE_CS"
]
Token
HWI\Bundle\OAuthBundle\Security\Core\Authentication\Token\OAuthToken {#669
  -user: AppBundle\Entity\User {#904 …}
  -roleNames: [
    "ROLE_SUPER_ADMIN"
    "ROLE_MENTOR"
    "ROLE_LECTURER"
    "ROLE_USER"
  ]
  -authenticated: true
  -attributes: []
  -accessToken: "ya29.a0AS3H6NxRDCUsL0S_biB0FTdV3_deo7v77Aa1HMYFnuAcONPkpeNGbIwbpcNioHUNkWJkH9CRaaqVg-LwywMG__9ta36W4UxySTi71i9zhXlnN8rMaD5yvhU9IqrWzVdgIQTs0s_b7Hy6IypTkqcCowjSgsrA16kWEyDUx1Img1wMGDVM7nh-bAUQfE_zvRD-H4Jeov3b6QaCgYKAUcSARcSFQHGX2MiFDTsdvAEceOMvnpVbRDhlg0209"
  -rawToken: [
    "access_token" => "ya29.a0AS3H6NxRDCUsL0S_biB0FTdV3_deo7v77Aa1HMYFnuAcONPkpeNGbIwbpcNioHUNkWJkH9CRaaqVg-LwywMG__9ta36W4UxySTi71i9zhXlnN8rMaD5yvhU9IqrWzVdgIQTs0s_b7Hy6IypTkqcCowjSgsrA16kWEyDUx1Img1wMGDVM7nh-bAUQfE_zvRD-H4Jeov3b6QaCgYKAUcSARcSFQHGX2MiFDTsdvAEceOMvnpVbRDhlg0209"
    "expires_in" => 3599
    "scope" => "openid https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile"
    "token_type" => "Bearer"
    "id_token" => "eyJhbGciOiJSUzI1NiIsImtpZCI6IjljNjI1MTU4Nzk1MDg0NGE2NTZiZTM1NjNkOGM1YmQ2Zjg5NGM0MDciLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwiYXpwIjoiOTAyNzUwMTEzNTkxLWJ2ZTlucGtpOGxrMDMxdTVnMm9vZ3EzcDZjNWJib3VvLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwiYXVkIjoiOTAyNzUwMTEzNTkxLWJ2ZTlucGtpOGxrMDMxdTVnMm9vZ3EzcDZjNWJib3VvLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwic3ViIjoiMTE1MDM0NTAxMTg4MzYzMzY0MjA1IiwiaGQiOiJjb2RlcnNsYWIucGwiLCJlbWFpbCI6ImphY2VrLnRjaG9yemV3c2tpQGNvZGVyc2xhYi5wbCIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiVzA4TjVnNmJTT1ctOFhCX3d3ejZuUSIsImlhdCI6MTc1NzU3NzgyOSwiZXhwIjoxNzU3NTgxNDI5fQ.piGv-R6NljgF6lss_l_KgYMqsOnzfa3KmEBXkPfBUPEO_KKvqqoSDx1BQeBBCqqWYDISq_cX4lIY9sLgKRHOhc1AcEpLgVw5HIdxZxhDkHrVoyUFWTVd0RG49BvbeXnuy7SUxYLfPzFVbwGUu01GU-t4ggI5OzI-zJ0yPXvpHuvbPZVh-oviSnXiHWx-AlF-2Ki2SbQQLkzFZYxZumhEUJ3NeaMVdaLHUB7bwtPoB1dfdh6tlZ6SKWnQEhSPRQuwcCPUY63o0h6JP1zZUpl_5wQuMxOoMJ98aa_eU3Oo5fY_iJwKs9P9A0BH6uMh-5MVbA0nC17NEHMZePm8Mf2gsg"
  ]
  -expiresIn: 3599
  -createdAt: 1757577829
  -resourceOwnerName: "google"
  -tokenSecret: null
  -refreshToken: null
}

Firewall

main Name
Security enabled
Stateless
Allows anonymous

Configuration

Key Value
provider fos_user.user_provider.username_email
context main
entry_point security.authentication.form_entry_point.main
user_checker CodersLab\Lms\SharedKernel\Infrastructure\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
listeners
[
  "oauth"
  "form_login"
  "remember_me"
  "anonymous"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#87
  -map: Symfony\Component\Security\Http\AccessMap {#88 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#289 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#111
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#473 …}
  -sessionKey: "_security_main"
  -logger: Symfony\Bridge\Monolog\Logger {#289 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#112 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#53 …}
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#285 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#114 …}
  -sessionTrackerEnabler: [
    Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#474 …}
    "enableUsageTracking"
  ]
}
7.89 ms (none)
HWI\Bundle\OAuthBundle\Security\Http\Firewall\OAuthListener {#872
  #options: [
    "check_path" => "/login_check"
    "login_path" => "/login"
    "always_use_default_target_path" => false
    "default_target_path" => "/"
    "target_path_parameter" => "_target_path"
    "use_referer" => false
    "failure_path" => null
    "failure_forward" => false
    "require_previous_session" => false
    "use_forward" => false
  ]
  #logger: Symfony\Bridge\Monolog\Logger {#289 …}
  #authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#707 …}
  #providerKey: "main"
  #httpUtils: Symfony\Component\Security\Http\HttpUtils {#286 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#474 …}
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#1103 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#53 …}
  -successHandler: Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler {#1123 …}
  -failureHandler: Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler {#1119 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#114 …}
  -resourceOwnerMap: HWI\Bundle\OAuthBundle\Security\Http\ResourceOwnerMap {#1118 …}
  -checkPaths: [
    "google" => "/login/check-google"
    "github" => "/login/check-github"
  ]
}
0.00 ms (none)
HWI\Bundle\OAuthBundle\Security\Http\Firewall\RefreshAccessTokenListenerOld {#770
  #tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#474 …}
  #resourceOwnerMap: HWI\Bundle\OAuthBundle\Security\Http\ResourceOwnerMap {#1118 …}
  #enabled: false
  -oAuthProvider: HWI\Bundle\OAuthBundle\Security\Core\Authentication\Provider\OAuthProvider {#1115 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener {#1116
  #options: [
    "check_path" => "/login_check"
    "login_path" => "/login"
    "always_use_default_target_path" => false
    "default_target_path" => "/"
    "target_path_parameter" => "_target_path"
    "use_referer" => false
    "failure_path" => null
    "failure_forward" => false
    "require_previous_session" => false
    "username_parameter" => "_username"
    "password_parameter" => "_password"
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "authenticate"
    "post_only" => true
    "use_forward" => false
    "enable_csrf" => false
    "form_only" => false
  ]
  #logger: Symfony\Bridge\Monolog\Logger {#289 …}
  #authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#707 …}
  #providerKey: "main"
  #httpUtils: Symfony\Component\Security\Http\HttpUtils {#286 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#474 …}
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#1103 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#53 …}
  -successHandler: Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler {#1159 …}
  -failureHandler: Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler {#1170 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#114 …}
  -csrfTokenManager: null
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\RememberMeListener {#1111
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#473 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#114 …}
  -authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#707 …}
  -logger: Symfony\Bridge\Monolog\Logger {#289 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#53 …}
  -catchExceptions: true
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#1103 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener {#1172
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#473 …}
  -secret: "Kc1QfFY"
  -authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#707 …}
  -logger: Symfony\Bridge\Monolog\Logger {#289 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#74
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#474 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "/logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#286 …}
  -csrfTokenManager: null
  -eventDispatcher: Symfony\Component\EventDispatcher\EventDispatcher {#75 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1175
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#474 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#1220 …}
  -map: Symfony\Component\Security\Http\AccessMap {#88 …}
  -authManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#707 …}
  -exceptionOnNoToken: true
}
0.44 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"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_USER
Symfony\Component\HttpFoundation\Request {#11
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#16 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#14 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#15 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#19 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#18 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#17 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#20 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/build/TEA/en/4.0/O/M_02_S_01/decfd0e5-0bc4-4ca0-81c7-3db9ab437c8d/0618cd18-5947-4c3d-bd37-4160d09f3e08"
  #requestUri: "/build/TEA/en/4.0/O/M_02_S_01/decfd0e5-0bc4-4ca0-81c7-3db9ab437c8d/0618cd18-5947-4c3d-bd37-4160d09f3e08"
  #baseUrl: ""
  #basePath: ""
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#259 …}
  #locale: "pl"
  #defaultLocale: "pl"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: null
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details