Extension:PluggableAuth/Hooks/PluggableAuthUserAuthorization/bn
Appearance
For more information about attaching hooks, see ম্যানুয়াল:হুক.
For examples of other extensions using this hook, see Category:PluggableAuthUserAuthorization extensions/bn.
বিস্তারিত
- UserIdentity $user - the User object
- bool &$authorized - Boolean return value (
trueif authorized,falseotherwise)
The possible return values for the handler are defined in Manual:Hooks.
In particular, if there has not been an error, the hook function should return no value or null to allow other handlers to run or it should return false to prevent further handlers from running.
It is, therefore, possible that the value of $authorized passed in may be false from a previous handler invocation that returned no value or null.
The handler may choose to override that value or to leave it unchanged.