<?xml version="1.0" encoding="utf-8"?>
<Type Name="UserNamePasswordValidationMode" FullName="System.ServiceModel.Security.UserNamePasswordValidationMode">
  <TypeSignature Language="C#" Value="public enum UserNamePasswordValidationMode" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed UserNamePasswordValidationMode extends System.Enum" />
  <AssemblyInfo>
    <AssemblyName>System.ServiceModel</AssemblyName>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>This enumeration is referenced by <see cref="T:System.ServiceModel.Configuration.UserNameServiceElement" />, <see cref="T:System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager" />, and <see cref="T:System.ServiceModel.Security.UserNamePasswordServiceCredential" />.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Lists ways to validate in username/password mode.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="Custom">
      <MemberSignature Language="C#" Value="Custom" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.UserNamePasswordValidationMode Custom = int32(2)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.ServiceModel.Security.UserNamePasswordValidationMode</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Custom authentication based on a configured custom <see cref="T:System.IdentityModel.Selectors.UsernamePasswordValidator" />.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="MembershipProvider">
      <MemberSignature Language="C#" Value="MembershipProvider" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.UserNamePasswordValidationMode MembershipProvider = int32(1)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.ServiceModel.Security.UserNamePasswordValidationMode</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Provides password validation based on a configured <see cref="T:System.Web.Security.MembershipProvider" />.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Windows">
      <MemberSignature Language="C#" Value="Windows" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.UserNamePasswordValidationMode Windows = int32(0)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.ServiceModel.Security.UserNamePasswordValidationMode</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Usernames are mapped to Windows users.</para>
        </summary>
      </Docs>
    </Member>
  </Members>
</Type>