Saml2SecurityTokenHandler.CreateSecurityTokenReference Método

Definición

Crea la referencia del token de seguridad cuando el token no está adjunto al mensaje.

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

Parámetros

token
SecurityToken

El token de SAML.

attached
Boolean

Un valor que indica si una referencia adjunta o no adjunta debe crearse.

Devoluciones

SecurityKeyIdentifierClause que representa la referencia del token. (Una instancia de Saml2AssertionKeyIdentifierClause se devuelve realmente.)

Excepciones

token es null.

Se aplica a