Security

Token

adamf@mgeonline.com Username
Authenticated
Property Value
Roles
[
  "ROLE_OAUTH2_USER"
  "ROLE_USER"
]
Inherited Roles none
Token
League\Bundle\OAuth2ServerBundle\Security\Authentication\Token\OAuth2Token {#786
  -user: App\Entity\Main\User {#758 …}
  -roleNames: [
    "ROLE_OAUTH2_USER"
    "ROLE_USER"
  ]
  -attributes: [
    "access_token_id" => "87ad6c1a03448a844764a5f94bc551a131445cd8dcb04e9cf03bb1d81c386ca982901bbafde253d0"
    "oauth_client_id" => "092a40eb963a2ddda2ababc0060669f2"
    "scopes" => [
      "user"
    ]
  ]
}

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context (none)
entry_point security.authenticator.oauth2.api
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "switch_user"
  "oauth2"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#294
  -map: Symfony\Component\Security\Http\AccessMap {#295 …}
  -logger: Symfony\Bridge\Monolog\Logger {#285 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#316
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#301 …}
}
98.43 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#784
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#479 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#279 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#64 …}
  -firewallName: "api"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#300 …}
  -usernameParameter: "x-switch-user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Symfony\Bridge\Monolog\Logger {#285 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#611 …}
  -stateless: true
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#495 …}
  -targetRoute: null
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#317
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#479 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#300 …}
  -map: Symfony\Component\Security\Http\AccessMap {#295 …}
}
0.00 ms (none)

Authenticators

Authenticator Supports Duration Passport
"League\Bundle\OAuth2ServerBundle\Security\Authenticator\OAuth2Authenticator"
34.78 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#339
  #user: App\Entity\Main\User {#758 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#342
      -userIdentifier: "adamf@mgeonline.com"
      -userLoader: Closure(string $userIdentifier): UserInterface {#318 …}
      -user: App\Entity\Main\User {#758 …}
      -attributes: null
    }
    "League\Bundle\OAuth2ServerBundle\Security\Passport\Badge\ScopeBadge" => League\Bundle\OAuth2ServerBundle\Security\Passport\Badge\ScopeBadge {#341
      -resolved: true
      -scopes: [
        "user"
      ]
    }
  ]
  -attributes: [
    "accessTokenId" => "87ad6c1a03448a844764a5f94bc551a131445cd8dcb04e9cf03bb1d81c386ca982901bbafde253d0"
    "oauthClientId" => "092a40eb963a2ddda2ababc0060669f2"
  ]
}

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
4
"App\Security\Voter\GmailConnectionVoter"
5
"App\Security\Voter\SocialVoter"