ServiceCredentialsSecurityTokenManager.GetIdentityOfSelf Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém-nos EndpointIdentity com base no requisito do token de segurança.
public:
virtual System::ServiceModel::EndpointIdentity ^ GetIdentityOfSelf(System::IdentityModel::Selectors::SecurityTokenRequirement ^ tokenRequirement);
public virtual System.ServiceModel.EndpointIdentity GetIdentityOfSelf(System.IdentityModel.Selectors.SecurityTokenRequirement tokenRequirement);
abstract member GetIdentityOfSelf : System.IdentityModel.Selectors.SecurityTokenRequirement -> System.ServiceModel.EndpointIdentity
override this.GetIdentityOfSelf : System.IdentityModel.Selectors.SecurityTokenRequirement -> System.ServiceModel.EndpointIdentity
Public Overridable Function GetIdentityOfSelf (tokenRequirement As SecurityTokenRequirement) As EndpointIdentity
Parâmetros
- tokenRequirement
- SecurityTokenRequirement
O requisito do token de segurança.
Devoluções
A identidade do ponto final que corresponde ao tokenRequirement.
null é devolvido se não puder ser criada uma identidade a partir do tokenRequirement.
Implementações
Exceções
tokenRequirement é null.
Observações
Este método é chamado pela infraestrutura WCF para obter o EndpointIdentity que corresponde a um endpoint de serviço.