https://api-demo.web.milkiya.ma/api/check_token

Security

Token

hicham.elfassi@milkiya.ma Username
Authenticated
Property Value
Roles
[
  "ROLE_AGENT"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#1412
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjExNDcwMDAsImV4cCI6MTc2MTI5MTAwMCwicm9sZXMiOlsiUk9MRV9BR0VOVCJdLCJ1c2VybmFtZSI6ImhpY2hhbS5lbGZhc3NpQG1pbGtpeWEubWEiLCJ0ZXJtc0FjY2VwdGVkIjp0cnVlLCJ1c2VySWQiOjMxMTYsImZ1bGxOYW1lIjoiSGljaGFtIEVMIEZBU1NJIiwibWFpblBob25lIjoiKzIxMiA2OTMtNjI1MTAyIn0.iBFvG4eNiz8CE2xsez0SkV3mnbZX5xe7wZFBKa81ekV37iaWWjgxGVfsFN4Ng4Vd9xe1_IeM0PCvHvrxiTNl3nXCBPId5EHLigRL_RiOwPCc6k_737DKERum1lhBsQrUcG0HW90sbSzGRopkt6iWLOmXvK8KeoOPn9LH_lA5uF_69Yu1OcW5N8pZiEvewxLri-X_Eu9aT0T94SV1ksQt3uoMYoTvemX0CLs2_UUoq3aECoH3DPS-xgM2l-hLjWmMxsURj128jHnA9Gu95hwgaWaRt2vF37pef2gkS-o30UwmHcWHUMIcYdhK74S3g5TvakO4Hfl39rNwyAOq-dH4bw"
  -firewallName: "api"
  -user: App\Entity\Agent {#2243 …}
  -roleNames: [
    "ROLE_AGENT"
  ]
  -authenticated: true
  -attributes: []
}

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context (none)
entry_point security.authenticator.jwt.api
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "jwt"
  "refresh_jwt"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#470
  -map: Symfony\Component\Security\Http\AccessMap {#471 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#425 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1583
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1757 …}
}
146.76 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#498
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#659 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#669 …}
  -map: Symfony\Component\Security\Http\AccessMap {#471 …}
  -authManager: null
  -exceptionOnNoToken: false
}
1.35 ms (none)

Authenticators

Authenticator Supports Duration Passport
"Gesdinet\JWTRefreshTokenBundle\Security\Http\Authenticator\RefreshTokenAuthenticator"
0.00 ms (none)
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
5.30 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1376
  #user: App\Entity\Agent {#2243 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1751
      -userIdentifier: "hicham.elfassi@milkiya.ma"
      -userLoader: Closure($userIdentifier) {#1752 …}
      -user: App\Entity\Agent {#2243 …}
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1761147000
      "exp" => 1761291000
      "roles" => [
        "ROLE_AGENT"
      ]
      "username" => "hicham.elfassi@milkiya.ma"
      "termsAccepted" => true
      "userId" => 3116
      "fullName" => "Hicham EL FASSI"
      "mainPhone" => "+212 693-625102"
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjExNDcwMDAsImV4cCI6MTc2MTI5MTAwMCwicm9sZXMiOlsiUk9MRV9BR0VOVCJdLCJ1c2VybmFtZSI6ImhpY2hhbS5lbGZhc3NpQG1pbGtpeWEubWEiLCJ0ZXJtc0FjY2VwdGVkIjp0cnVlLCJ1c2VySWQiOjMxMTYsImZ1bGxOYW1lIjoiSGljaGFtIEVMIEZBU1NJIiwibWFpblBob25lIjoiKzIxMiA2OTMtNjI1MTAyIn0.iBFvG4eNiz8CE2xsez0SkV3mnbZX5xe7wZFBKa81ekV37iaWWjgxGVfsFN4Ng4Vd9xe1_IeM0PCvHvrxiTNl3nXCBPId5EHLigRL_RiOwPCc6k_737DKERum1lhBsQrUcG0HW90sbSzGRopkt6iWLOmXvK8KeoOPn9LH_lA5uF_69Yu1OcW5N8pZiEvewxLri-X_Eu9aT0T94SV1ksQt3uoMYoTvemX0CLs2_UUoq3aECoH3DPS-xgM2l-hLjWmMxsURj128jHnA9Gu95hwgaWaRt2vF37pef2gkS-o30UwmHcWHUMIcYdhK74S3g5TvakO4Hfl39rNwyAOq-dH4bw"
  ]
}

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"
4
"App\Security\Voter\CandidateVoter"
5
"App\Security\Voter\DeletePropertyCertificateVoter"
6
"App\Security\Voter\IdentityImageVoter"
7
"App\Security\Voter\MandateVoter"
8
"App\Security\Voter\ProfileVoter"
9
"App\Security\Voter\PropertyDetailsVoter"
10
"App\Security\Voter\PropertyImageVoter"
11
"App\Security\Voter\PropertyVisitVoucherVoter"
12
"App\Security\Voter\PropertyVoter"
13
"App\Security\Voter\TransactionVoter"

Access decision log

# Result Attributes Object
1 GRANTED
[
  "ROLE_AGENT"
  "ROLE_MANAGER"
]
Symfony\Component\HttpFoundation\Request {#58
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#99 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#105 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#100 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#96 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#97 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#98 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#95 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "application/json"
  ]
  #pathInfo: "/api/check_token"
  #requestUri: "/api/check_token"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#957 …}
  #locale: "fr"
  #defaultLocale: "fr"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: null
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details