feat: implement ForSecure QR login methods #106
+228
−77
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.
概要
最新の LINE プロトコルに対応するため、よりセキュアな QR ログインフロー(ForSecure)を実装しました。
主な変更点
ForSecure QRログインの実装
以下の ForSecure 対応メソッドを新規実装しました:
once パラメータの取得および受け渡しを正しく行い、最新プロトコル要件に準拠しました。
サーバーから返却される以下の値を正しく反映するように改善しました:
固定タイムアウト方式を廃止し、規定回数まで自動リトライするループ処理へ変更しました。
注意
この PR は #105 の一部の変更のみを含んでいます。他の変更(クライアントの堅牢性向上など)は別 PR として分割予定です。