Extension:CentralAuth/Hooks/CentralAuthLoginRedirectData
Appearance
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:CentralAuthLoginRedirectData extensions.
Parameters
[edit]$centralUser: An instance ofCentralAuthUser$data: An associativearrayof data, containing the following keys:'secret': Astringof random data generated byMWCryptRand::generateHex()'name': Astringrepresenting the name of the central user (filled in byCentralAuthUser::getName())'guid': Aintrepresenting the global user ID of the central user (filled in byCentralAuthUser::getId())'wikiId': Astringrepresenting an ASCII string identifier of the wiki (filled in bywfWikiID())'secureCookies': Aboolrepresenting whether cookies are secure or not'finalProto': Astringrepresenting the final protocol of the page, either'http'or'https''currentProto': Astringrepresenting the current protocol of the page, either'http'or'https'