Why are most samples still using HTTP Signature if it is being deprecated?
まだ誰も着手していません。
評価
調査の方向性
Configuration.getMerchantDetails() から始め、RetrieveCustomer.java と RetrievePaymentInstrument で使用されている認証設定を比較します。同じ認証情報を使用し、authenticationType を "jwt" に設定して両方のサンプルを実行します。その後、影響を受ける呼び出しが認証エラーなしで動作するように、サンプルのデフォルト値を更新します。
索引モデルが issue の本文から書いたものです。
説明
Most samples are still configured to use Configuration.getMerchantDetails() for their properties. This still defualts to using the soon-to-be-deprecated http_signature authentication. You should set the default for this to "jwt"
I've noticed that if I do this, some API calls no longer work. For example, the sample in RetrieveCustomer.java works fine with the authenticationType property set to "jwt". However, I get an authorization error when attempting RetrievePaymentInstrument using the same credentials. Why?
- 主要言語
- Java
- スター
- 35
- フォーク
- 84
- 平均マージ
- 37分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CyberSource/cybersource-rest-samples-java のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
CyberSource/cybersource-rest-samples-java#63 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
CyberSource/cybersource-rest-samples-java#62 · コメント 1 件 ·
CyberSource/cybersource-rest-samples-java の issue をすべて見る
似ている issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
inu-appcenter/memorIN-backend#288 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
frontend maui-pilot pilot-ask question
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
area/plugin
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kestra-io/plugin-kestra#190 ·