SamlSecurityTokenHandler.CreateSecurityTokenReference Método

Definición

Crea la referencia del token de seguridad cuando el token no está asociado 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

Token SAML.

attached
Boolean

Valor que indica si se debe crear una referencia adjunta o no adjunta.

Devoluciones

que SecurityKeyIdentifierClause representa la referencia del token. (Se devuelve realmente una instancia de SamlAssertionKeyIdentifierClause ).

Excepciones

token es null.

Se aplica a