RequestRestrictions Class
Describes the authentication and handler requirements for a client request.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.RequestRestrictions
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Class RequestRestrictions
public class RequestRestrictions
public ref class RequestRestrictions
type RequestRestrictions = class end
public class RequestRestrictions
The RequestRestrictions type exposes the following members.
Constructors
Top
Properties
Name | Description | |
---|---|---|
AllowedHandlers | The allowed processing and handlers for a client request. | |
AllowNonSsl | When ssl is configured, all requests will be redirected to a secure url unless this is set to true. | |
Description | A brief description of this request restriction and the request paths it applies to. | |
Label | Optional label used to logically identify a set of request restrictions. | |
MechanismsToAdvertise | When a request fails to authenticate, the configured authentication modules may or may not provide some kind of advertisement back to the client that they support authentication through their particular mechanism. Some advertisements are more intrusive than others; for example the Federated mechanism hijacks the 401 entirely to send a 302 to the client. If a particular mechanism's bit is unset in this mask, then it will not advertise itself on a failed request. | |
RequiredAuthentication | The required level of authentication for a client request. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasAnyLabel | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Overrides Object.ToString().) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.