Editar

Compartilhar via


ServiceAuthenticationManager.Authenticate Method

Definition

Authenticates the specified message.

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)

Parameters

authPolicy
ReadOnlyCollection<IAuthorizationPolicy>

The authorization policy.

listenUri
Uri

The URI at which the message was received.

message
Message

The message to be authenticated.

Returns

Returns ReadOnlyCollection<T>.

Applies to