https://preprod-api.milkiya.ma/api/mandates/611

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.eyJpYXQiOjE3Mzg3NDY2ODYsImV4cCI6MTczODc2MTA4Niwicm9sZXMiOlsiUk9MRV9NQU5BR0VSIl0sInVzZXJuYW1lIjoibWFuYWdlci4yMEBtaWxraXlhLm1hIiwidGVybXNBY2NlcHRlZCI6ZmFsc2UsInVzZXJJZCI6MjAsImZ1bGxOYW1lIjoiS2F3dGFyIEJFTkpFTExPVU4iLCJtYWluUGhvbmUiOiIrMjEyIDIwMDAwMDAwMCJ9.rfGc5QAWPbL6gZhO2v4ZB2Jl7sY-j0DgDFL2T87sPg_OFup5U0-Qm3Dtv5mphoIppyYNVJqLXs904JW4nlA_5mIB8LLBWIaP9H_7e9BMnFR1WZcvwTYKghhCD7JSZFysP8HZ6Fmx6h0NBJUJIHfcVXJR3Np7LxtIr6B7Z0RTURFBiPncnXjwCKdKjs_yJdMibm0ChnHk6NL-Oe23QxHThLF1LxnXQMNTKyh9smlwU_Z3DHnZrChCLVut4m4H6AfA8h5lVHsOh-0yFDWzNPDvUu7cALs9AW-OcLy_-52wCAOtNcJdWDNZrflbHDP5Mqx6NKyyoRk0XL1wn55JUZAIew"
  -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.84 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.89 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" => 1738746686
      "exp" => 1738761086
      "roles" => [
        "ROLE_MANAGER"
      ]
      "username" => "manager.20@milkiya.ma"
      "termsAccepted" => false
      "userId" => 20
      "fullName" => "Kawtar BENJELLOUN"
      "mainPhone" => "+212 200000000"
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Mzg3NDY2ODYsImV4cCI6MTczODc2MTA4Niwicm9sZXMiOlsiUk9MRV9NQU5BR0VSIl0sInVzZXJuYW1lIjoibWFuYWdlci4yMEBtaWxraXlhLm1hIiwidGVybXNBY2NlcHRlZCI6ZmFsc2UsInVzZXJJZCI6MjAsImZ1bGxOYW1lIjoiS2F3dGFyIEJFTkpFTExPVU4iLCJtYWluUGhvbmUiOiIrMjEyIDIwMDAwMDAwMCJ9.rfGc5QAWPbL6gZhO2v4ZB2Jl7sY-j0DgDFL2T87sPg_OFup5U0-Qm3Dtv5mphoIppyYNVJqLXs904JW4nlA_5mIB8LLBWIaP9H_7e9BMnFR1WZcvwTYKghhCD7JSZFysP8HZ6Fmx6h0NBJUJIHfcVXJR3Np7LxtIr6B7Z0RTURFBiPncnXjwCKdKjs_yJdMibm0ChnHk6NL-Oe23QxHThLF1LxnXQMNTKyh9smlwU_Z3DHnZrChCLVut4m4H6AfA8h5lVHsOh-0yFDWzNPDvUu7cALs9AW-OcLy_-52wCAOtNcJdWDNZrflbHDP5Mqx6NKyyoRk0XL1wn55JUZAIew"
  ]
}

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: "{"commission":2.5,"isFreeEntry":false,"commissionPercent":2.5,"duration":3,"exclusiveDuration":6,"referenceVat":"NONE","commissionRecommenderPercent":12,"referenceMandateStatus":46,"referenceMandateType":12,"additionalProperties":[4127],"additionalContacts":[]}"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: []
  #pathInfo: "/api/mandates/611"
  #requestUri: "/api/mandates/611"
  #baseUrl: ""
  #basePath: null
  #method: "PUT"
  #format: "jsonld"
  #session: Symfony\Component\HttpFoundation\Session\Session {#857 …}
  #locale: "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 PUT
App\Entity\Mandate {#2816
  -id: 611
  -property: Proxies\__CG__\App\Entity\Property {#2962 …}
  -maximumPrice: 722500.0
  -minimalArea: null
  -maximalArea: 85.0
  -referenceMandateType: Proxies\__CG__\App\Entity\Reference\ReferenceMandateType {#2944 …}
  -referenceMandateStatus: Proxies\__CG__\App\Entity\Reference\ReferenceMandateStatus {#2935 …}
  -referencePropertyType: Proxies\__CG__\App\Entity\Reference\ReferencePropertyType {#2924 …}
  -key: "MAVE20230823-473"
  -commission: 18062.5
  -isFreeEntry: false
  -propertyVisitVouchers: Doctrine\ORM\PersistentCollection {#5009 …}
  -transactions: Doctrine\ORM\PersistentCollection {#5024 …}
  -commissionPercent: 2.5
  -duration: 3
  -exclusiveDuration: 6
  -additionalProperties: Doctrine\ORM\PersistentCollection {#5026 …}
  -additionalContacts: Doctrine\ORM\PersistentCollection {#5003 …}
  -isAdditionalProperty: false
  -referenceVat: "NONE"
  -commissionRecommenderPercent: 12.0
  -esign: null
  -createdAt: DateTime @1692741600 {#5010
    date: 2023-08-23 00:00:00.0 Europe/Berlin (+02:00)
  }
  -updatedAt: DateTime @1738710000 {#5011
    date: 2025-02-05 00:00:00.0 Europe/Berlin (+01:00)
  }
}
"App\Security\Voter\CandidateVoter"
ACCESS ABSTAIN
"App\Security\Voter\DeletePropertyCertificateVoter"
ACCESS ABSTAIN
"App\Security\Voter\IdentityImageVoter"
ACCESS ABSTAIN
"App\Security\Voter\MandateVoter"
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
7 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
8 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
9 GRANTED PUT
App\Entity\Mandate {#2816
  -id: 611
  -property: Proxies\__CG__\App\Entity\Property {#2962 …}
  -maximumPrice: 722500.0
  -minimalArea: null
  -maximalArea: 85.0
  -referenceMandateType: Proxies\__CG__\App\Entity\Reference\ReferenceMandateType {#2944 …}
  -referenceMandateStatus: Proxies\__CG__\App\Entity\Reference\ReferenceMandateStatus {#2935 …}
  -referencePropertyType: Proxies\__CG__\App\Entity\Reference\ReferencePropertyType {#2924 …}
  -key: "MAVE20230823-473"
  -commission: 18062.5
  -isFreeEntry: false
  -propertyVisitVouchers: Doctrine\ORM\PersistentCollection {#5009 …}
  -transactions: Doctrine\ORM\PersistentCollection {#5024 …}
  -commissionPercent: 2.5
  -duration: 3
  -exclusiveDuration: 6
  -additionalProperties: Doctrine\ORM\PersistentCollection {#5026 …}
  -additionalContacts: Doctrine\ORM\PersistentCollection {#5003 …}
  -isAdditionalProperty: false
  -referenceVat: "NONE"
  -commissionRecommenderPercent: 12.0
  -esign: null
  -createdAt: DateTime @1692741600 {#5010
    date: 2023-08-23 00:00:00.0 Europe/Berlin (+02:00)
  }
  -updatedAt: DateTime @1738710000 {#5011
    date: 2025-02-05 00:00:00.0 Europe/Berlin (+01:00)
  }
}
"App\Security\Voter\CandidateVoter"
ACCESS ABSTAIN
"App\Security\Voter\DeletePropertyCertificateVoter"
ACCESS ABSTAIN
"App\Security\Voter\IdentityImageVoter"
ACCESS ABSTAIN
"App\Security\Voter\MandateVoter"
ACCESS GRANTED
Show voter details
10 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details
11 GRANTED ROLE_MANAGER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details