SPIdentityContextSerializer constructor
Initializes a new instance of the [SPIdentityContextSerializer] class to serialize or deserialize an [SPIdentityContext] instance.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
resolver As IIdentityClaimsResolver _
)
'Usage
Dim resolver As IIdentityClaimsResolver
Dim instance As New SPIdentityContextSerializer(resolver)
public SPIdentityContextSerializer(
IIdentityClaimsResolver resolver
)
Parameters
resolver
Type: Microsoft.SharePoint.IdentityModel.OAuth2.IIdentityClaimsResolverAn implementation of [IIdentityClaimsResolver] used to resolve an identity to a key for serialization.
See also
Reference
SPIdentityContextSerializer class