Skip to content

Commit

Permalink
識別情報が必要な場合はAuthorization Code Flowを用いる
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q authored Jun 22, 2024
1 parent 2431a3f commit b6e34fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ Package traqoauth2 provides constants for using OAuth2 to access traQ.
> - [traPtitech/NeoShowcase](https://github.com/traPtitech/NeoShowcase)
> - [traPtitech/caddy-trap-auth](https://github.com/traPtitech/caddy-trap-auth)
> - [traPtitech/traefik-forward-auth](https://github.com/traPtitech/traefik-forward-auth)
> - ログインユーザーの識別情報を利用したい (e.g. GET /users/me, POST /channels/:channelID/messages) 場合
> - ログインユーザーの識別情報を必要としない場合 (e.g. GET /users, GET /groups/:groupID)
> - [Bot](https://bot-console.trap.jp/docs/bot)のAccess Tokenを用いる
> - (実装予定) [OAuth2 Client Credential Flow](https://github.com/traPtitech/traQ/issues/2403) を用いる
> - ログインユーザーの識別情報を利用したい場合 (e.g. GET /users/me, POST /channels/:channelID/messages)
> - OAuth2 Authorization Code Flow
Full example: [_example/](_example/)

Expand Down

0 comments on commit b6e34fd

Please sign in to comment.