linux-packaging-mono/mcs/class/System/Documentation/en/System.Net/AuthenticationSchemeSelector.xml
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

33 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="AuthenticationSchemeSelector" FullName="System.Net.AuthenticationSchemeSelector">
<TypeSignature Language="C#" Value="public delegate System.Net.AuthenticationSchemes AuthenticationSchemeSelector(HttpListenerRequest httpRequest);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed AuthenticationSchemeSelector extends System.MulticastDelegate" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="httpRequest" Type="System.Net.HttpListenerRequest" />
</Parameters>
<ReturnValue>
<ReturnType>System.Net.AuthenticationSchemes</ReturnType>
</ReturnValue>
<Docs>
<param name="httpRequest">To be added.</param>
<returns>To be added.</returns>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Delegates of this type are used by <see cref="T:System.Net.HttpListener" /> instances to select an authentication scheme based on the characteristics of a request.</para>
<para>An <see cref="T:System.Net.AuthenticationSchemeSelector" /> delegate is passed an <see cref="T:System.Net.HttpListenerRequest" /> object for each incoming request that has not provided authentication information. The method invoked by the delegate uses the <see cref="T:System.Net.HttpListenerRequest" /> object and any other available information to decide which authentication scheme to require. The delegate is specified by using the <see cref="P:System.Net.HttpListener.AuthenticationSchemeSelectorDelegate" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Selects the authentication scheme for an <see cref="T:System.Net.HttpListener" /> instance.</para>
</summary>
</Docs>
</Type>