SPSessionAuthenticationModule.AuthenticateSessionSecurityToken Method
Authenticates the incoming request by updating the current HTTP context and thread principal with the provided.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Public Overrides Sub AuthenticateSessionSecurityToken ( _
sessionToken As SessionSecurityToken, _
writeCookie As Boolean _
)
'Usage
Dim instance As SPSessionAuthenticationModule
Dim sessionToken As SessionSecurityToken
Dim writeCookie As Boolean
instance.AuthenticateSessionSecurityToken(sessionToken, _
writeCookie)
public override void AuthenticateSessionSecurityToken(
SessionSecurityToken sessionToken,
bool writeCookie
)
Parameters
sessionToken
Type: SessionSecurityTokenThe session security token to be used to authenticate the incoming HTTP request.
writeCookie
Type: System.BooleanDetermines if a new session cookie should be written.
See Also
Reference
SPSessionAuthenticationModule Class