ServiceCredentialsSecurityTokenManager.GetIdentityOfSelf(SecurityTokenRequirement) Método
Definição
Obtém o EndpointIdentity com base no requisito de token de segurança.Gets the EndpointIdentity based on the security token requirement.
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 de token de segurança.The security token requirement.
Retornos
A identidade do ponto de extremidade que corresponde ao tokenRequirement.The endpoint identity that corresponds to the tokenRequirement. null será retornado se uma identidade não puder ser criada do tokenRequirement.null is returned if an identity cannot be created from the tokenRequirement.
Implementações
Exceções
tokenRequirement é null.tokenRequirement is null.
Comentários
Esse método é chamado pela infraestrutura do WCF para obter o EndpointIdentity que corresponde a um ponto de extremidade de serviço.This method is called by the WCF infrastructure to obtain the EndpointIdentity that corresponds to a service endpoint.