GET https://marketplace-preprod.philibertnet.com/api/discounts

Security

Token

antadis Username
Authenticated
Property Value
Roles
[
  "ROLE_TOKEN"
]
Inherited Roles none
Token
Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken {#43
  -user: Symfony\Component\Security\Core\User\InMemoryUser {#52 …}
  -roleNames: [
    "ROLE_TOKEN"
  ]
  -attributes: []
  -firewallName: "api"
}

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.token_provider
context (none)
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\Security\TokenAuthenticator"
]

Listeners

Listener Duration Response
"Symfony\Component\Security\Http\Firewall\ChannelListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
0.31 ms (none)
"Symfony\Component\Security\Http\Firewall\LogoutListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\AccessListener"
0.09 ms (none)

Authenticators

Status Authenticator
success
"App\Security\TokenAuthenticator"
Lazy no
Duration 0.01 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#388
  #user: Symfony\Component\Security\Core\User\InMemoryUser {#52 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#591
      -userLoader: Symfony\Component\Security\Core\User\InMemoryUserProvider::loadUserByIdentifier(string $identifier): UserInterface {#47 …}
      -user: Symfony\Component\Security\Core\User\InMemoryUser {#52 …}
      -identifierNormalizer: null
      -userIdentifier: "antadis"
      -attributes: null
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#394
      -customCredentialsChecker: Closure($credentials, UserInterface $user) {#600 …}
      -resolved: true
      -credentials: "antadis"
    }
  ]
  -attributes: []
}
Badges UserBadge CustomCredentials

Access Decision

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

Access decision log

# Result Attributes Object
1 GRANTED ROLE_TOKEN
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#18 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#5 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#16 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#24 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#22 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#20 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#26 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "application/ld+json"
  ]
  #pathInfo: "/api/discounts"
  #requestUri: "/api/discounts"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "jsonld"
  #session: Symfony\Component\HttpFoundation\Session\Session {#65 …}
  #locale: null
  #defaultLocale: "fr"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_TOKEN.
Show voter details