Export (0) Print
Expand All

RequestRestrictions Class

Describes the authentication and handler requirements for a client request.

System.Object
  Microsoft.TeamFoundation.Framework.Server.RequestRestrictions

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public class RequestRestrictions

The RequestRestrictions type exposes the following members.

  NameDescription
Public propertyAllowedHandlersThe allowed processing and handlers for a client request.
Public propertyAllowNonSslWhen ssl is configured, all requests will be redirected to a secure url unless this is set to true.
Public propertyDescriptionA brief description of this request restriction and the request paths it applies to.
Public propertyLabelOptional label used to logically identify a set of request restrictions.
Public propertyMechanismsToAdvertiseWhen 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 propertyRequiredAuthenticationThe required level of authentication for a client request.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHasAnyLabel
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToString (Overrides Object.ToString().)
Top

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