C# Class ReviewR.Web.Infrastructure.RequestExtensions

显示文件 Open project: anurse/ReviewR

Public Methods

Method Description
ClearCookie ( this self, string name, string path ) : void
GetAuthCookie ( this self ) : string
GetAuthHeader ( this self ) : string
SetAuthCookie ( this self, string token, string path, DateTimeOffset expires ) : void

Method Details

ClearCookie() public static method

public static ClearCookie ( this self, string name, string path ) : void
self this
name string
path string
return void

GetAuthCookie() public static method

public static GetAuthCookie ( this self ) : string
self this
return string

GetAuthHeader() public static method

public static GetAuthHeader ( this self ) : string
self this
return string

SetAuthCookie() public static method

public static SetAuthCookie ( this self, string token, string path, DateTimeOffset expires ) : void
self this
token string
path string
expires DateTimeOffset
return void