WebClientHelperAppendTokenCookie - метод
Пространство имён: Tessa.Web.ClientСборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
public static void AppendTokenCookie(
string value,
DateTime expires,
string? instanceName,
bool multipleInstances,
string? guyFawkesAuth,
SameSiteMode sameSiteMode,
HttpRequest request,
HttpResponse response,
string tokenCookiesName,
bool secure = true
)
Public Shared Sub AppendTokenCookie (
value As String,
expires As DateTime,
instanceName As String,
multipleInstances As Boolean,
guyFawkesAuth As String,
sameSiteMode As SameSiteMode,
request As HttpRequest,
response As HttpResponse,
tokenCookiesName As String,
Optional secure As Boolean = true
)
public:
static void AppendTokenCookie(
String^ value,
DateTime expires,
String^ instanceName,
bool multipleInstances,
String^ guyFawkesAuth,
SameSiteMode^ sameSiteMode,
HttpRequest^ request,
HttpResponse^ response,
String^ tokenCookiesName,
bool secure = true
)
static member AppendTokenCookie :
value : string *
expires : DateTime *
instanceName : string *
multipleInstances : bool *
guyFawkesAuth : string *
sameSiteMode : SameSiteMode *
request : HttpRequest *
response : HttpResponse *
tokenCookiesName : string *
?secure : bool
(* Defaults:
let _secure = defaultArg secure true
*)
-> unit
Параметры
- value String
-
- expires DateTime
-
- instanceName String
-
- multipleInstances Boolean
-
- guyFawkesAuth String
-
- sameSiteMode SameSiteMode
-
- request HttpRequest
-
- response HttpResponse
-
- tokenCookiesName String
-
- secure Boolean (Optional)
-