https://diet-pp.cookaba.com/api/customers/7c68b8d5-ad15-4679-8f20-70db58448a31/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.eyJpYXQiOjE3ODcwNDcyMjcsImV4cCI6NjUxNzQ0NzIyNywicm9sZXMiOlsiUk9MRV9BUEkiLCJST0xFX1VTRVIiXSwidXNlcm5hbWUiOiJhcGlAa3NhbnRlLmZyIn0.M4PME0xikSJxFc7oiw3E9BeVbSWlwzCqlt-9Jr8iQ4zNuSzDqySXwTqGpR61yDYQQCR0q2fQaxdqDeHyA1uldHaVuOL9Mv0Q7SCB1qpsCIvBjSy8lvEmAQWeklrxUKOKRobJC60BGNjGLfCStsBduYIAqZq0vAwzI8SZPwjrJUcP3Dkrwd8HCrmVDJKmvdLtG9yj8WicEmaIvtG_VuFTsDHGgjemnuFVYTZlBsP4y6IBjQUjui5Ucd6qGVXRFXUi9PsAoAF51SB0bO5gwswTJmCeO3Q7WT4XePmNPDvqP6VMS08l4JCuzYZB6DYb1CFrzOWe0Fw0KPpIZwDtw4CpHw"
  #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 …}
}
62.61 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.72 ms (none)

Authenticators

Authenticator Supports Duration Passport
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
0.00 ms (none)
"Lexik\Bundle\JWTAuthenticationBundle\Security\Guard\JWTTokenAuthenticator"
11.20 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":"7c68b8d5-ad15-4679-8f20-70db58448a31","first_name":"test.promo1.237@db.fr","last_name":"test.promo1.237@db.fr","email":"test.promo1.237@db.fr","phone_number":"33777444555","points":1,"channel_code":"DIETBON_FR"}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: []
  #pathInfo: "/api/customers/7c68b8d5-ad15-4679-8f20-70db58448a31/add-credit"
  #requestUri: "/api/customers/7c68b8d5-ad15-4679-8f20-70db58448a31/add-credit"
  #baseUrl: ""
  #basePath: null
  #method: "PATCH"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#1716 …}
  #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