WSTrustChannelFactory のドキュメントには、プロキシの操作に関する参照があります。
One common pattern where the OnBehalfOf feature is used is the proxy
pattern where the client cannot access the STS directly but instead
communicates through a proxy gateway
例が見つからないようです。
一部のユーザーのコンピューターでは、外部要求用にプロキシが定義されています。
STS がプロキシの背後にある場合、トークンを要求するにはどうすればよいですか。
現在、私は次のように取得しています:
var rst = new RequestSecurityToken{...}
IWSTrustChannelContract wsTrustChannelContract = factory.CreateChannel();
var token = wsTrustChannelContract.Issue(rst) as GenericXmlSecurityToken;
プロキシを使用するように変更するにはどうすればよいですか?
ありがとう。