using System; namespace System.Net { /// Contains an authentication message for an Internet server. // Token: 0x020001FD RID: 509 public class Authorization { /// Creates a new instance of the class with the specified authorization message. /// The encrypted authorization message expected by the server. // Token: 0x0600113F RID: 4415 RVA: 0x0003267C File Offset: 0x0003087C public Authorization(string token) : this(token, true) { } /// Creates a new instance of the class with the specified authorization message and completion status. /// The encrypted authorization message expected by the server. /// The completion status of the authorization attempt. true if the authorization attempt is complete; otherwise, false. // Token: 0x06001140 RID: 4416 RVA: 0x00032688 File Offset: 0x00030888 public Authorization(string token, bool complete) : this(token, complete, null) { } /// Creates a new instance of the class with the specified authorization message, completion status, and connection group identifier. /// The encrypted authorization message expected by the server. /// The completion status of the authorization attempt. true if the authorization attempt is complete; otherwise, false. /// A unique identifier that can be used to create private client-server connections that are bound only to this authentication scheme. // Token: 0x06001141 RID: 4417 RVA: 0x00032694 File Offset: 0x00030894 public Authorization(string token, bool complete, string connectionGroupId) { this.token = token; this.complete = complete; this.connectionGroupId = connectionGroupId; } /// Gets the message returned to the server in response to an authentication challenge. /// The message that will be returned to the server in response to an authentication challenge. // Token: 0x170005AD RID: 1453 // (get) Token: 0x06001142 RID: 4418 RVA: 0x000326B4 File Offset: 0x000308B4 public string Message { get { return this.token; } } /// Gets the completion status of the authorization. /// true if the authentication process is complete; otherwise, false. // Token: 0x170005AE RID: 1454 // (get) Token: 0x06001143 RID: 4419 RVA: 0x000326BC File Offset: 0x000308BC public bool Complete { get { return this.complete; } } /// Gets a unique identifier for user-specific connections. /// A unique string that associates a connection with an authenticating entity. // Token: 0x170005AF RID: 1455 // (get) Token: 0x06001144 RID: 4420 RVA: 0x000326C4 File Offset: 0x000308C4 public string ConnectionGroupId { get { return this.connectionGroupId; } } /// Gets or sets the prefix for Uniform Resource Identifiers (URIs) that can be authenticated with the property. /// An array of strings that contains URI prefixes. // Token: 0x170005B0 RID: 1456 // (get) Token: 0x06001145 RID: 4421 RVA: 0x000326CC File Offset: 0x000308CC // (set) Token: 0x06001146 RID: 4422 RVA: 0x000326D4 File Offset: 0x000308D4 public string[] ProtectionRealm { get { return this.protectionRealm; } set { this.protectionRealm = value; } } // Token: 0x170005B1 RID: 1457 // (get) Token: 0x06001147 RID: 4423 RVA: 0x000326E0 File Offset: 0x000308E0 // (set) Token: 0x06001148 RID: 4424 RVA: 0x000326E8 File Offset: 0x000308E8 internal IAuthenticationModule Module { get { return this.module; } set { this.module = value; } } // Token: 0x06001149 RID: 4425 RVA: 0x000326F4 File Offset: 0x000308F4 private static Exception GetMustImplement() { return new NotImplementedException(); } /// Gets or sets a value that indicates whether mutual authentication occurred. /// true if both client and server were authenticated; otherwise, false. // Token: 0x170005B2 RID: 1458 // (get) Token: 0x0600114A RID: 4426 RVA: 0x000326FC File Offset: 0x000308FC // (set) Token: 0x0600114B RID: 4427 RVA: 0x00032704 File Offset: 0x00030904 [global::System.MonoTODO] public bool MutuallyAuthenticated { get { throw Authorization.GetMustImplement(); } set { throw Authorization.GetMustImplement(); } } // Token: 0x04000F55 RID: 3925 private string token; // Token: 0x04000F56 RID: 3926 private bool complete; // Token: 0x04000F57 RID: 3927 private string connectionGroupId; // Token: 0x04000F58 RID: 3928 private string[] protectionRealm; // Token: 0x04000F59 RID: 3929 private IAuthenticationModule module; } }