mscorlib(4.0.0.0) API with additions
System.Net.Authorization Class Reference

Contains an authentication message for an Internet server. More...

Public Member Functions

 Authorization (string token)
 Creates a new instance of the T:System.Net.Authorization class with the specified authorization message. More...
 
 Authorization (string token, bool finished)
 Creates a new instance of the T:System.Net.Authorization class with the specified authorization message and completion status. More...
 
 Authorization (string token, bool finished, string connectionGroupId)
 Creates a new instance of the T:System.Net.Authorization class with the specified authorization message, completion status, and connection group identifier. More...
 

Public Attributes

string Message => m_Message
 Gets the message returned to the server in response to an authentication challenge. More...
 
string ConnectionGroupId => m_ConnectionGroupId
 Gets a unique identifier for user-specific connections. More...
 
bool Complete => m_Complete
 Gets the completion status of the authorization. More...
 

Properties

string [] ProtectionRealm [get, set]
 Gets or sets the prefix for Uniform Resource Identifiers (URIs) that can be authenticated with the P:System.Net.Authorization.Message property. More...
 
bool MutuallyAuthenticated [get, set]
 Gets or sets a T:System.Boolean value that indicates whether mutual authentication occurred. More...
 

Detailed Description

Contains an authentication message for an Internet server.

Definition at line 4 of file Authorization.cs.

Constructor & Destructor Documentation

◆ Authorization() [1/3]

System.Net.Authorization.Authorization ( string  token)

Creates a new instance of the T:System.Net.Authorization class with the specified authorization message.

Parameters
tokenThe encrypted authorization message expected by the server.

Definition at line 64 of file Authorization.cs.

◆ Authorization() [2/3]

System.Net.Authorization.Authorization ( string  token,
bool  finished 
)

Creates a new instance of the T:System.Net.Authorization class with the specified authorization message and completion status.

Parameters
tokenThe encrypted authorization message expected by the server.
finishedThe completion status of the authorization attempt. true if the authorization attempt is complete; otherwise, false.

Definition at line 73 of file Authorization.cs.

◆ Authorization() [3/3]

System.Net.Authorization.Authorization ( string  token,
bool  finished,
string  connectionGroupId 
)

Creates a new instance of the T:System.Net.Authorization class with the specified authorization message, completion status, and connection group identifier.

Parameters
tokenThe encrypted authorization message expected by the server.
finishedThe completion status of the authorization attempt. true if the authorization attempt is complete; otherwise, false.
connectionGroupIdA unique identifier that can be used to create private client-server connections that are bound only to this authentication scheme.

Definition at line 83 of file Authorization.cs.

Member Data Documentation

◆ Complete

bool System.Net.Authorization.Complete => m_Complete

Gets the completion status of the authorization.

Returns
true if the authentication process is complete; otherwise, false.

Definition at line 27 of file Authorization.cs.

◆ ConnectionGroupId

string System.Net.Authorization.ConnectionGroupId => m_ConnectionGroupId

Gets a unique identifier for user-specific connections.

Returns
A unique string that associates a connection with an authenticating entity.

Definition at line 22 of file Authorization.cs.

◆ Message

string System.Net.Authorization.Message => m_Message

Gets the message returned to the server in response to an authentication challenge.

Returns
The message that will be returned to the server in response to an authentication challenge.

Definition at line 18 of file Authorization.cs.

Property Documentation

◆ MutuallyAuthenticated

bool System.Net.Authorization.MutuallyAuthenticated
getset

Gets or sets a T:System.Boolean value that indicates whether mutual authentication occurred.

Returns
true if both client and server were authenticated; otherwise, false.

Definition at line 47 of file Authorization.cs.

◆ ProtectionRealm

string [] System.Net.Authorization.ProtectionRealm
getset

Gets or sets the prefix for Uniform Resource Identifiers (URIs) that can be authenticated with the P:System.Net.Authorization.Message property.

Returns
An array of strings that contains URI prefixes.

Definition at line 32 of file Authorization.cs.


The documentation for this class was generated from the following file: