https://diet-pp.cookaba.com/api/customers/e5fbf7e4-e20d-42bf-b7f6-844135a5848e/add-credit

Security

Token

api@ksante.fr Username
Authenticated
Property Value
Roles
[
  "ROLE_API"
  "ROLE_USER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Token\JWTUserToken {#775
  -user: Ksante\SsoBundle\Entity\User {#1124 …}
  -roleNames: [
    "ROLE_API"
    "ROLE_USER"
  ]
  -authenticated: true
  -attributes: []
  #rawToken: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzYzNTU0ODAsImV4cCI6NjUwNjc1NTQ4MCwicm9sZXMiOlsiUk9MRV9BUEkiLCJST0xFX1VTRVIiXSwidXNlcm5hbWUiOiJhcGlAa3NhbnRlLmZyIn0.N4SwfXHaHcphExLLm1FdiZZhgbUFZxNhYIetZ6XzCGEA9tt7Dlb_u6TL_DgLBMF3MIyo_QpHxNMNLBXe6tIJfSDbkaQHqoAWXqqVnce1p1m9W6Pt_1DzzfSkwcXsvhzU7LIAykIzLieWPa-lqc20_0epR4GQnMqUVtgm4bOLBdzOEe38jU4oT4YUA6IHhoVGGVAwtQHYePu4bJTXzzPOdyQdeLzFiw-s7s9K2et0j_SesZp_YMjzuqv_E2ipmRahl4n2kzjwF_JRLuMqbmlfWc8tMT5MaZwiFh63SxI3Qvpf9COCZqY1GNd2sXBBbF5pWEZrRzOlyPyG9NRJQkD-Og"
  #providerKey: "api"
}

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.in_database
context (none)
entry_point security.authenticator.guard.api.0
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "guard"
  "json_login"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#711
  -map: Symfony\Component\Security\Http\AccessMap {#710 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#719 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#696
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#763 …}
}
33.35 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#698
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#369 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#108 …}
  -map: Symfony\Component\Security\Http\AccessMap {#710 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.45 ms (none)

Authenticators

Authenticator Supports Duration Passport
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
0.00 ms (none)
"Lexik\Bundle\JWTAuthenticationBundle\Security\Guard\JWTTokenAuthenticator"
9.19 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#797
  #user: Ksante\SsoBundle\Entity\User {#1124 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#800
      -userIdentifier: "guard_authenticator_411d49c076d7f414f6c5d26eb7f94238"
      -userLoader: Closure() {#782 …}
      -user: Ksante\SsoBundle\Entity\User {#1124 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#779
      -customCredentialsChecker: [
        Lexik\Bundle\JWTAuthenticationBundle\Security\Guard\JWTTokenAuthenticator {#723
          -jwtManager: Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager {#738 …}
          -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#154 …}
          -tokenExtractor: Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\ChainTokenExtractor {#724 …}
          -preAuthenticationTokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#728 …}
          -translator: Symfony\Component\Translation\DataCollectorTranslator {#436 …}
        }
        "checkCredentials"
      ]
      -credentials: Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Token\PreAuthenticationJWTUserToken {#795 …}
      -resolved: true
    }
  ]
  -attributes: []
}

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
[
  "IS_AUTHENTICATED_FULLY"
  "ROLE_API"
]
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#16 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#12 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#11 …}
  +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: "{"external_id":"e5fbf7e4-e20d-42bf-b7f6-844135a5848e","first_name":"test.kx2.3103@kd.fr","last_name":"test.kx2.3103@kd.fr","email":"test.kx2.3103@kd.fr","phone_number":"33654128745","points":1,"channel_code":"KITCHENDIET_FR"}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: []
  #pathInfo: "/api/customers/e5fbf7e4-e20d-42bf-b7f6-844135a5848e/add-credit"
  #requestUri: "/api/customers/e5fbf7e4-e20d-42bf-b7f6-844135a5848e/add-credit"
  #baseUrl: ""
  #basePath: null
  #method: "PATCH"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#1708 …}
  #locale: null
  #defaultLocale: "fr"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: null
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details
2 GRANTED ROLE_API
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details