SPProofTokenCacheItem.Create method
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Public Shared Function Create ( _
proofTokenValue As String, _
securityKey As SymmetricSecurityKey, _
expiry As DateTime _
) As SPProofTokenCacheItem
'Usage
Dim proofTokenValue As String
Dim securityKey As SymmetricSecurityKey
Dim expiry As DateTime
Dim returnValue As SPProofTokenCacheItem
returnValue = SPProofTokenCacheItem.Create(proofTokenValue, _
securityKey, expiry)
public static SPProofTokenCacheItem Create(
string proofTokenValue,
SymmetricSecurityKey securityKey,
DateTime expiry
)
Parameters
- proofTokenValue
Type: System.String
- securityKey
Type: System.IdentityModel.Tokens.SymmetricSecurityKey
- expiry
Type: System.DateTime
Return value
Type: Microsoft.SharePoint.IdentityModel.SPProofTokenCacheItem