C# Class Odachi.AspNetCore.Authentication.Basic.BasicSignInContext

Context object used to control flow of basic authentication.
Inheritance: BaseBasicContext
显示文件 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
BasicSignInContext ( HttpContext context, BasicOptions options, string username, string password ) : Microsoft.AspNetCore.Authentication

Creates a new instance of the context object.

Method Details

BasicSignInContext() public method

Creates a new instance of the context object.
public BasicSignInContext ( HttpContext context, BasicOptions options, string username, string password ) : Microsoft.AspNetCore.Authentication
context HttpContext The HTTP request context
options BasicOptions The middleware options
username string The username
password string The password
return Microsoft.AspNetCore.Authentication