Udostępnij za pośrednictwem


ServiceAuthenticationManager.Authenticate Metoda

Definicja

Uwierzytelnia określony komunikat.

public:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ Authenticate(System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ authPolicy, Uri ^ listenUri, System::ServiceModel::Channels::Message ^ % message);
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> Authenticate (System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> authPolicy, Uri listenUri, ref System.ServiceModel.Channels.Message message);
abstract member Authenticate : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> * Uri * Message -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy>
override this.Authenticate : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> * Uri * Message -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy>
Public Overridable Function Authenticate (authPolicy As ReadOnlyCollection(Of IAuthorizationPolicy), listenUri As Uri, ByRef message As Message) As ReadOnlyCollection(Of IAuthorizationPolicy)

Parametry

authPolicy
ReadOnlyCollection<IAuthorizationPolicy>

Zasady autoryzacji.

listenUri
Uri

Identyfikator URI, z którego wiadomość została odebrana.

message
Message

Wiadomość do uwierzytelnienia.

Zwraca

ReadOnlyCollection<IAuthorizationPolicy>

Zwraca wartość ReadOnlyCollection<T>.

Dotyczy