Export (0) Print
Expand All

SessionSecurityToken Constructor

.NET Framework 4.5

Initializes a new instance of the SessionSecurityToken class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method SessionSecurityToken(ClaimsPrincipal) Initializes a new instance of the SessionSecurityToken class from the specified principal.
Public method SessionSecurityToken(ClaimsPrincipal, String) Initializes a new instance of the SessionSecurityToken class from the specified principal and bootstrap token.
Public method SessionSecurityToken(ClaimsPrincipal, TimeSpan) Initializes a new instance of the SessionSecurityToken class from the specified principal. The new token is valid from UtcNow through the specified lifetime.
Protected method SessionSecurityToken(SerializationInfo, StreamingContext) Initializes a new instance of the SessionSecurityToken class with serialized data.
Public method SessionSecurityToken(ClaimsPrincipal, String, Nullable<DateTime>, Nullable<DateTime>) Initializes a new instance of the SessionSecurityToken class from the specified principal and bootstrap token; and with the specified start time and expiration time.
Public method SessionSecurityToken(ClaimsPrincipal, String, String, Nullable<DateTime>, Nullable<DateTime>) Initializes a new instance of the SessionSecurityToken class from the specified principal and bootstrap token; and with the specified start time and expiration time. The new token is scoped to the specified endpoint.
Public method SessionSecurityToken(ClaimsPrincipal, UniqueId, String, String, TimeSpan, SymmetricSecurityKey) Initializes a new instance of the SessionSecurityToken class by using the specified principal, context ID, context, endpoint, lifetime, and key.
Public method SessionSecurityToken(ClaimsPrincipal, UniqueId, String, String, DateTime, TimeSpan, SymmetricSecurityKey) Initializes a new instance of the SessionSecurityToken class by using the specified principal, context ID, context, endpoint, valid timestamp, lifetime, and key.
Public method SessionSecurityToken(ClaimsPrincipal, UniqueId, String, String, Nullable<DateTime>, Nullable<DateTime>, SymmetricSecurityKey) Initializes a new instance of the SessionSecurityToken class by using the specified principal, context ID, context, endpoint, start time, expiration time, and key.
Top
Show:
© 2014 Microsoft