store and refresh the access token in a lazy mode
this is the simple service for one thing: Store and Refresh the token when you need, which has the same expire-time with tencent server. So you can easily use it with wechaty-puppet-official-account.
- pull the docker image
docker pull mcatwj/wechaty-puppet-official-account-at:latest
- run & expose service
docker run -p your-port:8080 mcatwj/wechaty-puppet-official-account-at:latest
- configure endpoint to puppet-official-account [Optional]
this is only for someone who use wechaty, refer to : wechaty-puppet-official-account pr#8
export WECHATY_PUPPET_OA_ACCESS_TOKEN_PROXY=http://your-endpoint/
enjoy yourself with access-token-center
service.
- Enable the expire-time of the access-token same with Tencent server
Initial version for AccesToken Center.
- store & refresh access token with LRU mechanism
- deploy it as a docker
- Code & Docs © 2020 吴京京 <[email protected]>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons