Dela via


ILoginErrorAccessor Interface

Definition

Provides access to get or set the current error status. The default implementation will use TempData and be enabled when run under Development.

public interface ILoginErrorAccessor
type ILoginErrorAccessor = interface
Public Interface ILoginErrorAccessor

Properties

IsEnabled

Gets whether error messages should be displayed.

Methods

GetMessage(HttpContext)

Gets the error message for the current request.

SetMessage(HttpContext, String)

Sets the error message for the current request.

Applies to