ClientCredentialsSecurityTokenManager.CreateSecurityTokenAuthenticator Método

Definición

Crea un autenticador de tokens de seguridad.

public:
 override System::IdentityModel::Selectors::SecurityTokenAuthenticator ^ CreateSecurityTokenAuthenticator(System::IdentityModel::Selectors::SecurityTokenRequirement ^ tokenRequirement, [Runtime::InteropServices::Out] System::IdentityModel::Selectors::SecurityTokenResolver ^ % outOfBandTokenResolver);
public override System.IdentityModel.Selectors.SecurityTokenAuthenticator CreateSecurityTokenAuthenticator (System.IdentityModel.Selectors.SecurityTokenRequirement tokenRequirement, out System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver);
override this.CreateSecurityTokenAuthenticator : System.IdentityModel.Selectors.SecurityTokenRequirement * SecurityTokenResolver -> System.IdentityModel.Selectors.SecurityTokenAuthenticator
Public Overrides Function CreateSecurityTokenAuthenticator (tokenRequirement As SecurityTokenRequirement, ByRef outOfBandTokenResolver As SecurityTokenResolver) As SecurityTokenAuthenticator

Parámetros

outOfBandTokenResolver
SecurityTokenResolver

Cuando este método se devuelve, contiene SecurityTokenResolver. Este parámetro se pasa sin inicializar.

Devoluciones

Objeto SecurityTokenAuthenticator.

Excepciones

tokenRequirement es null.

Comentarios

SecurityTokenAuthenticator es responsable para validar tokens de seguridad y proporcionar un IAuthorizationPolicy para obtener las notificaciones para los tokens de seguridad que cumplan los requisitos especificados en ServiceModelSecurityTokenRequirement.

Se aplica a