GET https://sierra-cantabria.dracoder.com/api/admin/brand/

Security

Token

gonzalo@dracoder.com Username
Authenticated
Property Value
Roles
[
  "ROLE_OAUTH2_EMAIL"
  "ROLE_SUPER_ADMIN"
]
Inherited Roles
[
  "ROLE_ADMIN"
  "ROLE_USER"
]
Token
League\Bundle\OAuth2ServerBundle\Security\Authentication\Token\OAuth2Token {#841
  -user: App\Entity\User {#1122 …}
  -roleNames: [
    "ROLE_OAUTH2_EMAIL"
    "ROLE_SUPER_ADMIN"
  ]
  -attributes: [
    "access_token_id" => "2c5a4ddda4e779d016cb01cfafad2110c25f85446b2771d404512cd7247e489b62da28c694945a7d"
    "oauth_client_id" => "0d0692e7eaa7652071030eb28ad874d3"
    "scopes" => [
      "email"
    ]
  ]
}

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
[
  "oauth2"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#365
  -map: Symfony\Component\Security\Http\AccessMap {#363 …}
  -logger: Monolog\Logger {#597 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#481
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#463 …}
}
138.40 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#478
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#47 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#41 …}
  -map: Symfony\Component\Security\Http\AccessMap {#363 …}
}
2.88 ms (none)

Authenticators

Status Authenticator
success
"League\Bundle\OAuth2ServerBundle\Security\Authenticator\OAuth2Authenticator"
Lazy no
Duration 95.72 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#475
  #user: App\Entity\User {#1122 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#607
      -userLoader: Closure(string $userIdentifier): UserInterface {#362 …}
      -user: App\Entity\User {#1122 …}
      -identifierNormalizer: null
      -userIdentifier: "gonzalo@dracoder.com"
      -attributes: null
    }
    "League\Bundle\OAuth2ServerBundle\Security\Passport\Badge\ScopeBadge" => League\Bundle\OAuth2ServerBundle\Security\Passport\Badge\ScopeBadge {#790
      -resolved: true
      -scopes: [
        "email"
      ]
    }
  ]
  -attributes: [
    "accessTokenId" => "2c5a4ddda4e779d016cb01cfafad2110c25f85446b2771d404512cd7247e489b62da28c694945a7d"
    "oauthClientId" => "0d0692e7eaa7652071030eb28ad874d3"
  ]
}
Badges UserBadge ScopeBadge

Access Decision

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

Access decision log

# Result Attributes Object
1 GRANTED ROLE_SUPER_ADMIN
Symfony\Component\HttpFoundation\Request {#22
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#64 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#51 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#63 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#67 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#66 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#65 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#68 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/admin/brand/"
  #requestUri: "/api/admin/brand/"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#2218 …}
  #locale: null
  #defaultLocale: "es"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_SUPER_ADMIN.
Show voter details