BasicAuthHandler

BasicAuthHandler

BasicAuthHandler

Constructor

new BasicAuthHandler()

Source:

Extends

Methods

(static) createInstance() → {BasicAuthHandler}

Creates a new instance of BasicAuthHandler class
Source:
Returns:
Type
BasicAuthHandler

(static) parseBasicAuthorization(s) → {Object|undefined}

Parameters:
Name Type Description
s string
Source:
Returns:
Type
Object | undefined

authenticateRequest(context, callback)

Occurs when a handler is going to set current user identity.
Parameters:
Name Type Description
context HttpContext
callback function
Overrides:
Source:

authorizeRequest(context, callback)

Occurs when a handler has verified user authorization.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

beginRequest(context, callback)

Occurs as the first event in the HTTP execution
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

endRequest(context, callback)

Occurs as the last event in the HTTP execution
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

mapRequest(context, callback)

Occurs when the handler is selected to respond to the request.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

postExecuteResult(context, callback)

Occurs when application was succesfully executes an HTTP Result.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

postMapRequest(context, callback)

Occurs when application has mapped the current request to the appropriate handler.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

preExecuteResult(context, callback)

Occurs when application starts executing an HTTP Result.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

processRequest(context, callback)

Occurs when application starts processing current HTTP request.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

validateRequest(context, callback)

Occurs when a handler is going to validate current HTTP request.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source: