Condividi tramite


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

  Name Description
Public method RequestRestrictions(RequiredAuthentication, AllowedHandler, String)
Public method RequestRestrictions(String, RequiredAuthentication, AllowedHandler, String)
Public method RequestRestrictions(RequiredAuthentication, AllowedHandler, String, Boolean)
Public method RequestRestrictions(String, RequiredAuthentication, AllowedHandler, String, Boolean)
Public method RequestRestrictions(RequiredAuthentication, AllowedHandler, String, Boolean, AuthenticationMechanisms)
Public method RequestRestrictions(String, RequiredAuthentication, AllowedHandler, String, Boolean, AuthenticationMechanisms)

Top

Properties

  Name Description
Public property AllowedHandlers The allowed processing and handlers for a client request.
Public property AllowNonSsl When ssl is configured, all requests will be redirected to a secure url unless this is set to true.
Public property Description A brief description of this request restriction and the request paths it applies to.
Public property Label Optional label used to logically identify a set of request restrictions.
Public property 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.
Public property RequiredAuthentication The required level of authentication for a client request.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasAnyLabel
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace