Click or drag to resize

AuthenticationHandler Class

Handles authentication using the configured ISecurityProvider implementation in the Owin pipeline.
Inheritance Hierarchy
SystemObject
  GSF.Web.SecurityAuthenticationHandler

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.230-beta
Syntax
public class AuthenticationHandler
View Source

The AuthenticationHandler type exposes the following members.

Constructors
 NameDescription
Public methodAuthenticationHandler Creates a new instance of the AuthenticationHandler class.
Top
Methods
 NameDescription
Public methodAuthenticate The core authentication logic which must be provided by the handler. Will be invoked at most once per request.
Public methodAuthorizeAsync Called once by common code after authentication to respond directly to specifically known paths.
Public methodStatic memberClearAuthorizationCache Clears any cached authorizations for the specified sessionID.
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)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberTryGetPrincipal Attempt to get current security principal for specified sessionID.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also