Manual:Hooks/ApiTokensGetTokenTypes

&$tokenTypes: supported token types in format 'type' => callback function used to retrieve this type of tokens.