POST https://pim-krepkomp.ibrush.ru/api/v1/stock/available/batch

Security

Token

admin Username
Authenticated
Property Value
Roles
[
  "ROLE_PIMCORE_ADMIN"
]
Inherited Roles
[
  "ROLE_PIMCORE_USER"
]
Token
Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken {#1716
  -user: Pimcore\Security\User\User {#1656 …}
  -roleNames: [
    "ROLE_PIMCORE_ADMIN"
  ]
  -attributes: []
  -firewallName: "api_stock"
}

Firewall

api_stock Name
Security enabled
Stateless

Configuration

Key Value
provider Pimcore\Security\User\UserProvider
context (none)
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\StockBundle\Security\StockApiKeyAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#1521
  -map: Symfony\Component\Security\Http\AccessMap {#1520 …}
  -logger: Monolog\Logger {#1331 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1633
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1634 …}
}
3.06 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1644
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#260 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#238 …}
  -map: Symfony\Component\Security\Http\AccessMap {#1520 …}
}
0.25 ms (none)

Authenticators

Status Authenticator
success
"App\StockBundle\Security\StockApiKeyAuthenticator"
Lazy no
Duration 2.09 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1675
  #user: Pimcore\Security\User\User {#1656 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1661
      -userLoader: Closure(): User {#1673 …}
      -user: Pimcore\Security\User\User {#1656 …}
      -identifierNormalizer: null
      -userIdentifier: "2"
      -attributes: null
    }
  ]
  -attributes: []
}
Badges UserBadge

Access Decision

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

Access decision log

# Result Attributes Object
1 GRANTED ROLE_PIMCORE_USER
Symfony\Component\HttpFoundation\Request {#18
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#21 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#19 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#20 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#24 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#23 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#22 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#25 …}
  #content: "{"items":[{"guid":"f43e92c8-6957-4da4-81cc-b120e422ee0b","quantity":100}]}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/v1/stock/available/batch"
  #requestUri: "/api/v1/stock/available/batch"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#1470 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: [
    "4\x00\x00\x00" => []
    "2\x0084.47.157.154\x00172.19.0.1\x00" => [
      "84.47.157.154"
    ]
    "8\x00https\x00\x00" => [
      "https"
    ]
    "32\x00\x00\x00" => []
    "16\x00\x00\x00" => []
  ]
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_PIMCORE_USER.
Show voter details