Click or drag to resize

AddChallengeOnUnauthorizedResult Class

Represents an HTTP action result that will add a challenge header when a result is unauthorized.
Inheritance Hierarchy
SystemObject
  GSF.Web.SecurityAddChallengeOnUnauthorizedResult

Namespace:  GSF.Web.Security
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.101-beta
Syntax
public class AddChallengeOnUnauthorizedResult : IHttpActionResult
Request Example View Source

The AddChallengeOnUnauthorizedResult type exposes the following members.

Constructors
  NameDescription
Public methodAddChallengeOnUnauthorizedResult
Creates a new AddChallengeOnUnauthorizedResult.
Top
Properties
  NameDescription
Public propertyChallenge
Gets the authentication header value containing the challenge.
Public propertyInnerResult
Gets the inner HTTP action result to execute for response.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteAsync
Executes InnerResult so challenge header can be added when unauthorized.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetEnumValueOrDefault(Type, Object)Overloaded.
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Public Extension MethodGetEnumValueOrDefaultT(Object)Overloaded.
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Top
See Also