Log in
Model

AuthorizationComposite

Magento\Customer\Model\Customer\AuthorizationComposite

What it does

This class implements a composite authorization pattern that checks multiple authorization validators in sequence.

It's used to verify if a customer has permission to access a specific resource by running through all configured authorization checks, returning false if any single check fails.

Developers would use this when they need to apply multiple authorization rules that must all pass for access to be granted.

Public Methods

  • isAllowed()