Implement API key authentication #1

Open
Alice wants to merge 4 commits from dev into main
Owner

APIキー認証機能の実装を行いました。

APIキー認証機能の実装を行いました。
Alice added 1 commit 2026-05-22 06:11:23 +00:00
Alice added 1 commit 2026-05-22 06:43:47 +00:00
Alice added 1 commit 2026-05-22 06:48:58 +00:00
yotta approved these changes 2026-05-23 02:01:09 +00:00
@@ -8,0 +23,4 @@
return {'api_key': new_key, 'expires_at': expires_at}
@app.get('/hello')
def read_hello(x_api_key: str = Header(...), db: Session = Depends(get_db)):
First-time contributor

エンドポイントと関数の名前を揃えてください

エンドポイントと関数の名前を揃えてください
Alice added 1 commit 2026-05-23 02:01:47 +00:00
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dev:dev
git checkout dev
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Alice/fastapi-base#1