Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Handles the SessionSecurityTokenCreated() event.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overrides Sub OnSessionSecurityTokenCreated ( _
eventArgs As SessionSecurityTokenCreatedEventArgs _
)
'Usage
Dim eventArgs As SessionSecurityTokenCreatedEventArgs
Me.OnSessionSecurityTokenCreated(eventArgs)
protected override void OnSessionSecurityTokenCreated(
SessionSecurityTokenCreatedEventArgs eventArgs
)
Parameters
- eventArgs
Type: SessionSecurityTokenCreatedEventArgs
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | [arguments] is null . |
| ArgumentException | arguments.SessionToken, arguments.SessionToken.ClaimsPrincipal, or arguments.SessionToken.ClaimsPrincipal.Identity is null or arguments.SessionToken.ClaimsPrincipal.Identity.Count is not equal to 1. |
Remarks
This override does not have to reissue the session security token if the token exists.
See also
Reference
SPFederationAuthenticationModule class