CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Security.CslaClaimsPrincipal Class Reference

ClaimsPrincipal subclass that supports serialization by SerializationFormatterFactory.GetFormatter(). More...

Inheritance diagram for Csla.Security.CslaClaimsPrincipal:
Csla.Security.ICslaPrincipal Csla.Serialization.Mobile.IMobileObject

Public Member Functions

 CslaClaimsPrincipal ()
 Creates an instance of the object. More...
 
 CslaClaimsPrincipal (ClaimsPrincipal principal)
 Creates an instance of the object. More...
 
 CslaClaimsPrincipal (ICslaIdentity identity)
 Creates an instance of the object, initializing a role claim for each role in the identity's Roles collection. More...
 
 CslaClaimsPrincipal (IIdentity identity)
 Creates an instance of the object. More...
 
 CslaClaimsPrincipal (IEnumerable< ClaimsIdentity > identities)
 Creates an instance of the object. More...
 
 CslaClaimsPrincipal (IPrincipal principal)
 Creates an instance of the object based on an existing principal object. More...
 
 CslaClaimsPrincipal (System.IO.BinaryReader reader)
 Creates an instance of the object from a binary stream. More...
 

Protected Member Functions

 CslaClaimsPrincipal (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 Creates an instance of the object from BinaryFormatter or NDCS deserialization. More...
 

Detailed Description

ClaimsPrincipal subclass that supports serialization by SerializationFormatterFactory.GetFormatter().

Definition at line 20 of file CslaClaimsPrincipal.cs.

Constructor & Destructor Documentation

◆ CslaClaimsPrincipal() [1/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( )

Creates an instance of the object.

Definition at line 25 of file CslaClaimsPrincipal.cs.

◆ CslaClaimsPrincipal() [2/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( ClaimsPrincipal  principal)

Creates an instance of the object.

Parameters
principalSource principal from which to copy identity

Definition at line 33 of file CslaClaimsPrincipal.cs.

◆ CslaClaimsPrincipal() [3/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( ICslaIdentity  identity)

Creates an instance of the object, initializing a role claim for each role in the identity's Roles collection.

Parameters
identityIdentity object for the user.

Definition at line 42 of file CslaClaimsPrincipal.cs.

◆ CslaClaimsPrincipal() [4/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( IIdentity  identity)

Creates an instance of the object.

Parameters
identityIdentity object for the user.

Definition at line 55 of file CslaClaimsPrincipal.cs.

◆ CslaClaimsPrincipal() [5/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( IEnumerable< ClaimsIdentity >  identities)

Creates an instance of the object.

Parameters
identitiesList of claims identity objects for the user.

Definition at line 63 of file CslaClaimsPrincipal.cs.

◆ CslaClaimsPrincipal() [6/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( IPrincipal  principal)

Creates an instance of the object based on an existing principal object.

Parameters
principalPrincipal object

Definition at line 72 of file CslaClaimsPrincipal.cs.

◆ CslaClaimsPrincipal() [7/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( System.IO.BinaryReader  reader)

Creates an instance of the object from a binary stream.

Parameters
readerBinary reader

Definition at line 81 of file CslaClaimsPrincipal.cs.

◆ CslaClaimsPrincipal() [8/8]

Csla.Security.CslaClaimsPrincipal.CslaClaimsPrincipal ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)
protected

Creates an instance of the object from BinaryFormatter or NDCS deserialization.

Parameters
contextSerialization context
infoSerialization info

Definition at line 91 of file CslaClaimsPrincipal.cs.