Files
Aug2021-Cpp2IL-Dump/System/Net/ICredentials.cs
T
2026-04-10 22:50:51 +02:00

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: 0x0200022A RID: 554
[Token(Token = "0x200022A")]
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: 0x06000DEE RID: 3566
[Token(Token = "0x6000DEE")]
[Address(Slot = "0")]
NetworkCredential GetCredential(Uri uri, string authType);
}
}