Authorization Class

 

Contains an authentication message for an Internet server.

Namespace:   System.Net
Assembly:  System (in System.dll)

System.Object
  System.Net.Authorization

public class Authorization

NameDescription
System_CAPS_pubmethodAuthorization(String)

Creates a new instance of the Authorization class with the specified authorization message.

System_CAPS_pubmethodAuthorization(String, Boolean)

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

System_CAPS_pubmethodAuthorization(String, Boolean, String)

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

NameDescription
System_CAPS_pubpropertyComplete

Gets the completion status of the authorization.

System_CAPS_pubpropertyConnectionGroupId

Gets a unique identifier for user-specific connections.

System_CAPS_pubpropertyMessage

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

System_CAPS_pubpropertyMutuallyAuthenticated

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

System_CAPS_pubpropertyProtectionRealm

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The AuthenticationManager returns an instance of the Authorization class that contains an authentication message. This message is sent to the Internet server to indicate that the client (such as WebRequest or one of its descendants) is authorized to access the server.

The Authorization instance is created by the authentication module that the AuthenticationManager designates to handle the request.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: