Click or drag to resize

SessionHandlerGetAuthenticationTokenFromCookie(HttpRequestMessage, String) Method

Gets the authentication token as defined in the request cookie header values.

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
public static string GetAuthenticationTokenFromCookie(
	HttpRequestMessage request,
	string authenticationToken
)
View Source

Parameters

request  HttpRequestMessage
The target HTTP request message.
authenticationToken  String
Token used for identifying the authentication token in cookie headers.

Return Value

String
Authentication token string, if defined; otherwise, null.
See Also