Table of contents
TOC
Collapse the table of content
Expand the table of content

WebAPIHelper.HasCacheEntry Method

SharePoint Dev Documents|Last Updated: 5/19/2017
|
1 Contributor

Checks if this request has a servicesToken cookie. To be used from inside the WebAPI.

Namespace:OfficeDevPnP.Core.WebAPI
Assembly: OfficeDevPnP.Core.dll

Syntax

public static bool HasCacheEntry(HttpControllerContext httpControllerContext)

Parameters

httpControllerContext

  Type: System.Web.Http.Controllers.HttpControllerContext
  Information about the HTTP request that reached the WebAPI controller

Return Value

Type: bool
True if cookie is available and not empty, false otherwise

See also

© 2018 Microsoft