SPTokenCache.IsCookieDataValidForWrite method

Namespace:  Microsoft.SharePoint.IdentityModel
Assembly:  Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)

Syntax

'Declaration
Protected Overridable Function IsCookieDataValidForWrite ( _
    requestData As SPSessionSecurityTokenRequestData, _
    cookieKind As SPSessionSecurityTokenRequestDataKind _
) As Boolean
'Usage
Dim requestData As SPSessionSecurityTokenRequestData
Dim cookieKind As SPSessionSecurityTokenRequestDataKind
Dim returnValue As Boolean

returnValue = Me.IsCookieDataValidForWrite(requestData, _
    cookieKind)
protected virtual bool IsCookieDataValidForWrite(
    SPSessionSecurityTokenRequestData requestData,
    SPSessionSecurityTokenRequestDataKind cookieKind
)

Parameters

Return value

Type: System.Boolean

See also

Reference

SPTokenCache class

SPTokenCache members

Microsoft.SharePoint.IdentityModel namespace