Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
AuthenticationManager.cs
Go to the documentation of this file.
3
4namespace System.Net;
5
7{
8 public static ICredentialPolicy? CredentialPolicy { get; set; }
9
11
12
13 public static IEnumerator RegisteredModules => Array.Empty<IAuthenticationModule>().GetEnumerator();
14
15 [Obsolete("The AuthenticationManager Authenticate and PreAuthenticate methods are not supported and throw PlatformNotSupportedException.", DiagnosticId = "SYSLIB0009", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
16 public static Authorization? Authenticate(string challenge, WebRequest request, ICredentials credentials)
17 {
19 }
20
21 [Obsolete("The AuthenticationManager Authenticate and PreAuthenticate methods are not supported and throw PlatformNotSupportedException.", DiagnosticId = "SYSLIB0009", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
22 public static Authorization? PreAuthenticate(WebRequest request, ICredentials credentials)
23 {
25 }
26
27 public static void Register(IAuthenticationModule authenticationModule)
28 {
29 if (authenticationModule == null)
30 {
31 throw new ArgumentNullException("authenticationModule");
32 }
33 }
34
35 public static void Unregister(IAuthenticationModule authenticationModule)
36 {
37 if (authenticationModule == null)
38 {
39 throw new ArgumentNullException("authenticationModule");
40 }
41 }
42
43 public static void Unregister(string authenticationScheme)
44 {
45 if (authenticationScheme == null)
46 {
47 throw new ArgumentNullException("authenticationScheme");
48 }
49 }
50}
static void Register(IAuthenticationModule authenticationModule)
static ? Authorization Authenticate(string challenge, WebRequest request, ICredentials credentials)
static ? ICredentialPolicy CredentialPolicy
static void Unregister(IAuthenticationModule authenticationModule)
static void Unregister(string authenticationScheme)
static ? Authorization PreAuthenticate(WebRequest request, ICredentials credentials)
static StringDictionary CustomTargetNameDictionary