nonebot / nonebot/adapter-onebot

添加 Access Token 验证钩子

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
120
Forks
37
Avg merge
3d 15h
Merged PRs (30d)
1

Description

在一些需要中心化部署Bot端,但分布式部署OneBot实现端的情况,有可能需要为不同的Bot账号制定不同的access token验证策略以最大程度确保Bot端的安全,我们应当可以通过添加一个验证钩子来实现这一点。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the adapter's existing access-token handling and extension points, then determine how validation could vary by Bot account. Done should include a defined hook contract and coverage for distinct per-account validation strategies.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.