SamlSecurityTokenHandler.CreateSecurityTokenReference Método

Definição

Cria a referência de token de segurança quando o token não está anexado à mensagem.

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

O token SAML.

attached
Boolean

Um valor que indica se uma referência anexada ou desanexada deve ser criada.

Retornos

SecurityKeyIdentifierClause

Um SecurityKeyIdentifierClause que representa a referência de token. (Uma instância de SamlAssertionKeyIdentifierClause é retornada, na verdade.)

Exceções

token é null.

Aplica-se a