Click or drag to resize

AuthenticateControllerAttribute Class

Defines an MVC filter attribute to handle basic authentication using the current GSF security provider.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    FilterAttribute
      GSF.Web.SecurityAuthenticateControllerAttribute

Namespace:  GSF.Web.Security
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.101-beta
Syntax
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited = false)]
public class AuthenticateControllerAttribute : FilterAttribute, 
	IAuthenticationFilter, IFilter
Request Example View Source

The AuthenticateControllerAttribute type exposes the following members.

Constructors
  NameDescription
Public methodAuthenticateControllerAttribute
Initializes a new instance of the AuthenticateControllerAttribute class
Top
Properties
  NameDescription
Public propertyAllowMultiple
Gets a value that indicates whether multiple filters are allowed.
(Inherited from FilterAttribute.)
Public propertyLoginPage
Gets or sets the login page used as a redirect location when authentication fails.
Public propertySecuritySettingsCategory
Gets or sets settings category used to lookup security connection for user data context.
Public propertySessionToken
Gets or sets the token used for identifying the session ID in cookie headers.
Public propertySettingsCategory
Gets or sets settings category used to load configured settings. When defined, SessionToken and LoginPage will be loaded from the configuration file settings when not otherwise explicitly defined.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
Methods
  NameDescription
Public methodAuthenticateAsync
Authenticates the request.
Public methodChallengeAsync
Challenges the request.
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
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
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
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