Coder Social home page Coder Social logo

official-account-access-token-center's Introduction

official-account-access-token-center

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.

Usage

  • 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.

HISTORY

v0.0.4 master

  1. Enable the expire-time of the access-token same with Tencent server

v0.0.1 (Nov 20, 2020)

Initial version for AccesToken Center.

  1. store & refresh access token with LRU mechanism
  2. deploy it as a docker

AUTHOR

吴京京 <[email protected]>

COPYRIGHT & LICENSE

  • Code & Docs © 2020 吴京京 <[email protected]>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

official-account-access-token-center's People

Contributors

wj-mcat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.