forked from s0/node-tcnet
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: TCNASDP認証の自動リフレッシュ機能 #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+488
−3
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b055c24
feat: AuthStateに"refreshing"を追加しTCNetConfigurationを拡張
9c5s 8a7532c
test: 再認証 performReauth のテストを追加 (Red)
9c5s b3fb026
feat: performReauth/executeReauthを実装
9c5s e093496
feat: startAutoReauth/stopAutoReauthを実装
9c5s 4cf7653
feat: 公開reauth()メソッドを追加
9c5s f835d8c
feat: 初回認証成功時にautoReauthタイマーを起動
9c5s 9b789ae
feat: disconnect時にautoReauthタイマーを確実に停止
9c5s b4708bf
docs: 認証リフレッシュ機能のドキュメントを追加
9c5s 34735b7
refactor: コードレビュー指摘に基づく改善
9c5s 1305652
fix: 並列レビュー指摘に基づく5件の修正
9c5s 949b261
fix: executeReauthからsendAuthSequence呼び出しを削除
9c5s 26e89a8
chore: 認証リフレッシュ機能のchangesetを追加
9c5s c2f6a17
refactor: PRレビュー指摘に基づく3件の改善
9c5s 558c39c
fix: CodeRabbitレビュー2件の指摘に対応
9c5s f98b6e6
refactor: CodeRabbitレビュー3件目の指摘に対応
9c5s fb76ebb
test: performReauthのsingle-flightテストコメントを正確に修正
9c5s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| "@9c5s/node-tcnet": minor | ||
| --- | ||
|
|
||
| feat: TCNASDP認証の自動リフレッシュ機能を追加 | ||
|
|
||
| Bridgeの認証タイムアウト(~100秒)を回避するため、認証シーケンスを定期的に再実行してLICENSE: EXTを維持する。 | ||
|
|
||
| - `AuthState`型に`"refreshing"`を追加 | ||
| - `TCNetConfiguration`に`autoReauth`(デフォルト: true)と`reauthInterval`(デフォルト: 60000ms)を追加 | ||
| - 公開`reauth()`メソッドを追加(手動リフレッシュ用、single-flight保証付き) | ||
| - `reauthenticated`/`reauthFailed`イベントを追加 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.