wechaty / openapi

Wechaty REST API Server with OpenAPI Specification (aka. Swagger)
https://wechaty.js.org/docs/openapi/
Apache License 2.0
22 stars 6 forks source link

Add authorization for RESTful API #6

Open huan opened 3 years ago

huan commented 3 years ago

need to be integrated with gRPC

Links

huan commented 3 years ago

The Wechaty gRPC is using the following schema for authorization:

Authorization: Wechaty ${TOKEN}

We will follow this authorization schema as the HTTP header of OpenAPI.