This is a hosted version of token-provider.php, check out the README for what it does. Its source is also available.