Compartir a través de


ServiceAuthenticationManager.Authenticate Método

Definición

Autentica el mensaje especificado.

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)

Parámetros

authPolicy
ReadOnlyCollection<IAuthorizationPolicy>

La directiva de autorización.

listenUri
Uri

El URI en el que se recibió el mensaje.

message
Message

El mensaje que se va a autenticar.

Devoluciones

ReadOnlyCollection<IAuthorizationPolicy>

Devuelve ReadOnlyCollection<T>.

Se aplica a