ServiceCredentialsSecurityTokenManager.GetIdentityOfSelf Metoda

Definice

EndpointIdentity Získá na základě požadavku na token zabezpečení.

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

Parametry

tokenRequirement
SecurityTokenRequirement

Požadavek na token zabezpečení

Návraty

EndpointIdentity

Identita koncového bodu, která odpovídá bodě tokenRequirement. null je vrácena, pokud nelze vytvořit identitu z objektu tokenRequirement.

Implementuje

Výjimky

tokenRequirement je null.

Poznámky

Tato metoda je volána infrastrukturou WCF k získání EndpointIdentity , která odpovídá koncovému bodu služby.

Platí pro