次の方法で共有


SamlSecurityTokenHandler.CreateSecurityTokenReference メソッド

定義

トークンがメッセージに添付されていない場合に、セキュリティ トークン参照を作成します。

public:
 override System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ CreateSecurityTokenReference(System::IdentityModel::Tokens::SecurityToken ^ token, bool attached);
public override System.IdentityModel.Tokens.SecurityKeyIdentifierClause CreateSecurityTokenReference (System.IdentityModel.Tokens.SecurityToken token, bool attached);
override this.CreateSecurityTokenReference : System.IdentityModel.Tokens.SecurityToken * bool -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Public Overrides Function CreateSecurityTokenReference (token As SecurityToken, attached As Boolean) As SecurityKeyIdentifierClause

パラメーター

token
SecurityToken

SAML トークン。

attached
Boolean

アタッチされている参照またはアタッチされていない参照を作成する必要があるかどうかを示す値。

戻り値

トークン参照を表す SecurityKeyIdentifierClause。 (SamlAssertionKeyIdentifierClause のインスタンスは実際に返されます。)

例外

tokennullです。

適用対象