https://preprod-api.milkiya.ma/api/agents/59 Return to referer URL

Security

Token

manager.20@milkiya.ma Username
Authenticated
Property Value
Roles
[
  "ROLE_MANAGER"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#1316
  -token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDM1OTk0OTksImV4cCI6MTc0MzYxMzg5OSwicm9sZXMiOlsiUk9MRV9NQU5BR0VSIl0sInVzZXJuYW1lIjoibWFuYWdlci4yMEBtaWxraXlhLm1hIiwidGVybXNBY2NlcHRlZCI6ZmFsc2UsInVzZXJJZCI6MjAsImZ1bGxOYW1lIjoiS2F3dGFyIEJFTkpFTExPVU4iLCJtYWluUGhvbmUiOiIrMjEyIDIwMDAwMDAwMCJ9.towLygqhQ3X-6wCZ-1CqjcHub0wYKFCnmje-_gVbn-6XwuiQ2Jeyu4rfaAeSgGghEzSh5v146VzIFC502aj2Yw1V78rxwiBNMZ30L37kqzxjBo5r7OwyNzHlszvteq0-Dmy1CoDthviuJDuNjvLvQKZzhwp4-iihJgxLKf7u3coKYuuBx40fRuFc06nJfGL421ZaMMiURVRcOryOqP6fIrM4WRV1IhApfU-_Ghi9h6D3TN5lXO9CtDmLsNh0X4nvySar0Sg-gVUTH5s9MqWszZ5d_VFGjUrKn32Ga-4TEnkymrJiRZVHXS66X17OXXBOQXLDhpSVRkPvMwTEIXTefw"
  -firewallName: "api"
  -user: App\Entity\Manager {#2251 …}
  -roleNames: [
    "ROLE_MANAGER"
  ]
  -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 {#478
  -map: Symfony\Component\Security\Http\AccessMap {#479 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#459 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1785
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1389 …}
}
36.67 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#506
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#997 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#987 …}
  -map: Symfony\Component\Security\Http\AccessMap {#479 …}
  -authManager: null
  -exceptionOnNoToken: false
}
0.11 ms (none)

Authenticators

Authenticator Supports Duration Passport
"Gesdinet\JWTRefreshTokenBundle\Security\Http\Authenticator\RefreshTokenAuthenticator"
0.00 ms (none)
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
1.94 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1304
  #user: App\Entity\Manager {#2251 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1326
      -userIdentifier: "manager.20@milkiya.ma"
      -userLoader: Closure($userIdentifier) {#1392 …}
      -user: App\Entity\Manager {#2251 …}
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1743599499
      "exp" => 1743613899
      "roles" => [
        "ROLE_MANAGER"
      ]
      "username" => "manager.20@milkiya.ma"
      "termsAccepted" => false
      "userId" => 20
      "fullName" => "Kawtar BENJELLOUN"
      "mainPhone" => "+212 200000000"
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDM1OTk0OTksImV4cCI6MTc0MzYxMzg5OSwicm9sZXMiOlsiUk9MRV9NQU5BR0VSIl0sInVzZXJuYW1lIjoibWFuYWdlci4yMEBtaWxraXlhLm1hIiwidGVybXNBY2NlcHRlZCI6ZmFsc2UsInVzZXJJZCI6MjAsImZ1bGxOYW1lIjoiS2F3dGFyIEJFTkpFTExPVU4iLCJtYWluUGhvbmUiOiIrMjEyIDIwMDAwMDAwMCJ9.towLygqhQ3X-6wCZ-1CqjcHub0wYKFCnmje-_gVbn-6XwuiQ2Jeyu4rfaAeSgGghEzSh5v146VzIFC502aj2Yw1V78rxwiBNMZ30L37kqzxjBo5r7OwyNzHlszvteq0-Dmy1CoDthviuJDuNjvLvQKZzhwp4-iihJgxLKf7u3coKYuuBx40fRuFc06nJfGL421ZaMMiURVRcOryOqP6fIrM4WRV1IhApfU-_Ghi9h6D3TN5lXO9CtDmLsNh0X4nvySar0Sg-gVUTH5s9MqWszZ5d_VFGjUrKn32Ga-4TEnkymrJiRZVHXS66X17OXXBOQXLDhpSVRkPvMwTEIXTefw"
  ]
}

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 {#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: "{"personType":"Physical","qualificationLevel":27,"gender":13,"referenceMaritalStatus":26,"companyName":null,"rc":null,"commonCompanyIdentifier":null,"firstName":"Alpha","lastName":"BA","email":"agent.59@milkiya.ma","professionalEmail":"agent.59@milkiya.ma","mainPhone":"+212 5900-00000","phone":"+212 5900-00000","birthDay":"1965-12-29","nationality":1155,"address":{"firstAddress":"LOT SALIMA RUE 3 NR 19 SIDI MAAROUF AIN CHOCK CASA","secondAddress":null,"zipCode":null,"city":649,"country":"morocco"},"cnss":null,"cin":"BJ01657D","sector":{"cities":[649],"neighborhoods":[1217],"mainCity":649},"referenceCollaboratorState":18}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "application/json"
    "text/plain"
    "*/*"
  ]
  #pathInfo: "/api/agents/59"
  #requestUri: "/api/agents/59"
  #baseUrl: ""
  #basePath: null
  #method: "PUT"
  #format: "jsonld"
  #session: Symfony\Component\HttpFoundation\Session\Session {#857 …}
  #locale: "fr-FR"
  #defaultLocale: "fr"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: null
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
2 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
3 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
4 GRANTED PROFILE_UPDATE
App\Entity\Agent {#2730
  -qualificationLevel: Proxies\__CG__\App\Entity\QualificationLevel {#2709 …}
  -genealogies: Doctrine\ORM\PersistentCollection {#4573 …}
  -properties: Doctrine\ORM\PersistentCollection {#4575 …}
  -candidates: Doctrine\ORM\PersistentCollection {#4567 …}
  -contacts: Doctrine\ORM\PersistentCollection {#4578 …}
  -prescribers: Doctrine\ORM\PersistentCollection {#4576 …}
  -prescriberProperties: Doctrine\ORM\PersistentCollection {#4596 …}
  -sector: App\Entity\Sector {#4215 …}
  -manager: Proxies\__CG__\App\Entity\Manager {#3087 …}
  -status: Proxies\__CG__\App\Entity\Reference\ReferenceCollaboratorState {#3067 …}
  -cin: "BJ01657D"
  -isRecommender: false
  -recommandations: Doctrine\ORM\PersistentCollection {#4597 …}
  -sponsor: Proxies\__CG__\App\Entity\Agent {#3160 …}
  -cnss: null
  -rc: null
  -professionalStatus: null
  -nationality: Proxies\__CG__\App\Entity\Nationality {#3145 …}
  -subjectToVAT: null
  -createdQualifiqautionDate: null
  -companyName: null
  -commonCompanyIdentifier: null
  -identityFiles: Doctrine\ORM\PersistentCollection {#4599 …}
  -agentOptions: Doctrine\ORM\PersistentCollection {#4601 …}
  #id: 59
  #firstName: "Alpha"
  #lastName: "BA"
  #email: "agent.59@milkiya.ma"
  #professionalEmail: "agent.59@milkiya.ma"
  #birthDay: DateTime @-126493200 {#4584
    date: 1965-12-29 00:00:00.0 Europe/Berlin (+01:00)
  }
  #phone: "+212 5900-00000"
  #mainPhone: "+212 5900-00000"
  #address: App\Entity\Address {#3900 …}
  #gender: Proxies\__CG__\App\Entity\Gender {#2728 …}
  #roles: [
    "ROLE_AGENT"
  ]
  #password: "$argon2id$v=19$m=65536,t=4,p=1$y3Nfqgu73N89yGX3sNTd7w$6ugw5aXgYg2piVmpyaryZZJCA8vCG7Fw4+V8tyd9TQk"
  -referenceStatus: Proxies\__CG__\App\Entity\Reference\ReferenceCollaboratorStatus {#2652 …}
  -referenceMaritalStatus: Proxies\__CG__\App\Entity\Reference\ReferencePersonMaritalStatus {#2659 …}
  -avatar: App\Entity\Avatar {#2653 …}
  -lastConnection: DateTime @1678478099 {#4591
    date: 2023-03-10 20:54:59.0 Europe/Berlin (+01:00)
  }
  -cgu: App\Entity\Cgu {#2646 …}
  -personType: "Physical"
  -createdAt: DateTime @1686693600 {#4586
    date: 2023-06-14 00:00:00.0 Europe/Berlin (+02:00)
  }
  -updatedAt: DateTime @1743544800 {#4579
    date: 2025-04-02 00:00:00.0 Europe/Berlin (+02:00)
  }
}
"App\Security\Voter\CandidateVoter"
ACCESS ABSTAIN
"App\Security\Voter\DeletePropertyCertificateVoter"
ACCESS ABSTAIN
"App\Security\Voter\IdentityImageVoter"
ACCESS ABSTAIN
"App\Security\Voter\MandateVoter"
ACCESS ABSTAIN
"App\Security\Voter\ProfileVoter"
ACCESS GRANTED
Show voter details
5 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
6 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details