|
SessionHandlerGetAuthenticationTokenFromCookie(HttpRequestMessage, String) Method
|
Gets the authentication token as defined in the request cookie header values.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.230-beta
Syntaxpublic static string GetAuthenticationTokenFromCookie(
HttpRequestMessage request,
string authenticationToken
)
Public Shared Function GetAuthenticationTokenFromCookie (
request As HttpRequestMessage,
authenticationToken As String
) As String
public:
static String^ GetAuthenticationTokenFromCookie(
HttpRequestMessage^ request,
String^ authenticationToken
)
static member GetAuthenticationTokenFromCookie :
request : HttpRequestMessage *
authenticationToken : string -> string
GSF.Web.Security.SessionHandler.GetAuthenticationTokenFromCookie = function(request, authenticationToken);
View SourceParameters
- request HttpRequestMessage
- The target HTTP request message.
- authenticationToken String
- Token used for identifying the authentication token in cookie headers.
Return Value
StringAuthentication token string, if defined; otherwise,
null.
See Also