a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
70 lines
3.5 KiB
XML
70 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="UserNamePasswordClientCredential" FullName="System.ServiceModel.Security.UserNamePasswordClientCredential">
|
|
<TypeSignature Language="C#" Value="public sealed class UserNamePasswordClientCredential" />
|
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit UserNamePasswordClientCredential extends System.Object" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.ServiceModel</AssemblyName>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>This class enables the user to configure the user name and password for a indigo2 <see cref="T:System.ServiceModel.ChannelFactory" /> credential when using user name/password authentication. If the channel factory's binding is not configured to use user name/password-based authentication, the user name and password are not used. If the channel factory's binding is configured to use federated security that requires getting an issued token from a security token service, the user name and password are also presented to the security token service if it requires user name/password authentication.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Represents a client credential based on user name and password.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="Password">
|
|
<MemberSignature Language="C#" Value="public string Password { get; set; }" />
|
|
<MemberSignature Language="ILAsm" Value=".property instance string Password" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>To get or set this property, access the <see cref="T:System.ServiceModel.Security.UserNamePasswordClientCredential" /> object from the <see cref="P:System.ServiceModel.Description.ClientCredentials.UserName" /> property from the client object, as shown in the code below.</para>
|
|
<para>code reference: S_UEUserNamePasswordClientCredential#10</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the password.</para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="UserName">
|
|
<MemberSignature Language="C#" Value="public string UserName { get; set; }" />
|
|
<MemberSignature Language="ILAsm" Value=".property instance string UserName" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>For user name/password authentication, this property is required and cannot be null or empty.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the user name.</para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |