https://diet-pp.cookaba.com/api/customers/524534cc-52c4-4876-a02c-9b8bf12690a9/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 {#784
  -user: Ksante\SsoBundle\Entity\User {#1131 …}
  -roleNames: [
    "ROLE_API"
    "ROLE_USER"
  ]
  -authenticated: true
  -attributes: []
  #rawToken: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3ODcwNjU5MDgsImV4cCI6NjUxNzQ2NTkwOCwicm9sZXMiOlsiUk9MRV9BUEkiLCJST0xFX1VTRVIiXSwidXNlcm5hbWUiOiJhcGlAa3NhbnRlLmZyIn0.oiiddLmzrCejeyWKQqszRL0iOxF-O1Qx8uuUBkwLDPy2mlrcJCCrJqlhKQB4OOllReB5UAaa0QVJfGVZ9D0qG2-luuyvztfalLHCsTbMl0ZzsNEzuqw-5EZUnKiJwjykCdieROt5YxuPb15JTcXiiw4vcNcafh12H7MPMiDkm3z-ZOsUQIrZINtnlg7QiHRs-PfF4S8-mfOfxwv1330kOJa_e8473FOlgTtvZTi7Ev-hhpAiHeFp6RG9e4LeQ_1z18cS5DiW8u_y7I5yHuXkUyPn14nsvwaE-p7SwbWGHzkebjJSEYA5MnnVQ_EP00sQYj6HHgn2JF1EQOLF-r7NJQ"
  #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 …}
}
46.85 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.39 ms (none)

Authenticators

Authenticator Supports Duration Passport
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
0.00 ms (none)
"Lexik\Bundle\JWTAuthenticationBundle\Security\Guard\JWTTokenAuthenticator"
8.21 ms
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#797
  #user: Ksante\SsoBundle\Entity\User {#1131 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#800
      -userIdentifier: "guard_authenticator_411d49c076d7f414f6c5d26eb7f94238"
      -userLoader: Closure() {#785 …}
      -user: Ksante\SsoBundle\Entity\User {#1131 …}
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials {#787
      -customCredentialsChecker: [
        Lexik\Bundle\JWTAuthenticationBundle\Security\Guard\JWTTokenAuthenticator {#729
          -jwtManager: Lexik\Bundle\JWTAuthenticationBundle\Services\JWTManager {#738 …}
          -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#154 …}
          -tokenExtractor: Lexik\Bundle\JWTAuthenticationBundle\TokenExtractor\ChainTokenExtractor {#728 …}
          -preAuthenticationTokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#726 …}
          -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":"524534cc-52c4-4876-a02c-9b8bf12690a9","first_name":"karima","last_name":"staging","email":"karima.test.1808@db.fr","phone_number":"33611111111","points":100,"channel_code":"DIETBON_FR"}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: []
  #pathInfo: "/api/customers/524534cc-52c4-4876-a02c-9b8bf12690a9/add-credit"
  #requestUri: "/api/customers/524534cc-52c4-4876-a02c-9b8bf12690a9/add-credit"
  #baseUrl: ""
  #basePath: null
  #method: "PATCH"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#1714 …}
  #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