77 lines
2.8 KiB
C#
77 lines
2.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Contains an authentication message for an Internet server.</summary>
|
|
// Token: 0x0200021F RID: 543
|
|
[Token(Token = "0x200021F")]
|
|
public class Authorization
|
|
{
|
|
/// <summary>Creates a new instance of the <see cref="T:System.Net.Authorization" /> class with the specified authorization message.</summary>
|
|
/// <param name="token">The encrypted authorization message expected by the server.</param>
|
|
// Token: 0x06000DDC RID: 3548 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000DDC")]
|
|
[Address(RVA = "0x29D6C90", Offset = "0x29D5A90", VA = "0x1829D6C90")]
|
|
public Authorization(string token)
|
|
{
|
|
}
|
|
|
|
/// <summary>Creates a new instance of the <see cref="T:System.Net.Authorization" /> class with the specified authorization message and completion status.</summary>
|
|
/// <param name="token">The encrypted authorization message expected by the server.</param>
|
|
/// <param name="finished">The completion status of the authorization attempt. <see langword="true" /> if the authorization attempt is complete; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x06000DDD RID: 3549 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000DDD")]
|
|
[Address(RVA = "0x29D6D00", Offset = "0x29D5B00", VA = "0x1829D6D00")]
|
|
public Authorization(string token, bool finished)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the message returned to the server in response to an authentication challenge.</summary>
|
|
/// <returns>The message that will be returned to the server in response to an authentication challenge.</returns>
|
|
// Token: 0x1700028D RID: 653
|
|
// (get) Token: 0x06000DDE RID: 3550 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700028D")]
|
|
public string Message
|
|
{
|
|
[Token(Token = "0x6000DDE")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the completion status of the authorization.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the authentication process is complete; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700028E RID: 654
|
|
// (get) Token: 0x06000DDF RID: 3551 RVA: 0x00007020 File Offset: 0x00005220
|
|
[Token(Token = "0x1700028E")]
|
|
public bool Complete
|
|
{
|
|
[Token(Token = "0x6000DDF")]
|
|
[Address(RVA = "0x42C2C0", Offset = "0x42B0C0", VA = "0x18042C2C0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400078E RID: 1934
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400078E")]
|
|
private string m_Message;
|
|
|
|
// Token: 0x0400078F RID: 1935
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400078F")]
|
|
private bool m_Complete;
|
|
|
|
// Token: 0x04000790 RID: 1936
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000790")]
|
|
internal string ModuleAuthenticationType;
|
|
}
|
|
}
|