21 lines
1.0 KiB
C#
21 lines
1.0 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides the base authentication interface for retrieving credentials for Web client authentication.</summary>
|
|
// Token: 0x02000226 RID: 550
|
|
[Token(Token = "0x2000226")]
|
|
public interface ICredentials
|
|
{
|
|
/// <summary>Returns a <see cref="T:System.Net.NetworkCredential" /> object that is associated with the specified URI, and authentication type.</summary>
|
|
/// <param name="uri">The <see cref="T:System.Uri" /> that the client is providing authentication for.</param>
|
|
/// <param name="authType">The type of authentication, as defined in the <see cref="P:System.Net.IAuthenticationModule.AuthenticationType" /> property.</param>
|
|
/// <returns>The <see cref="T:System.Net.NetworkCredential" /> that is associated with the specified URI and authentication type, or, if no credentials are available, <see langword="null" />.</returns>
|
|
// Token: 0x06000DD8 RID: 3544
|
|
[Token(Token = "0x6000DD8")]
|
|
[Address(Slot = "0")]
|
|
NetworkCredential GetCredential(Uri uri, string authType);
|
|
}
|
|
}
|