Saml2SecurityTokenHandler.CreateSecurityTokenReference Méthode

Définition

Crée la référence de jeton de sécurité lorsque le jeton n'est pas joint au message.

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

Paramètres

token
SecurityToken

Jeton SAML.

attached
Boolean

Valeur qui indique si une référence attachée ou détachée doit être créée.

Retours

SecurityKeyIdentifierClause qui représente la référence du jeton. (Une instance de Saml2AssertionKeyIdentifierClause est réellement retournée.)

Exceptions

token a la valeur null.

S’applique à