Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
GenericIdentity (string name) | |
GenericIdentity (string name, string type) | |
override ClaimsIdentity | Clone () |
virtual void | AddClaim (Claim claim) |
virtual void | AddClaims (IEnumerable< Claim?> claims) |
virtual bool | TryRemoveClaim (Claim? claim) |
virtual void | RemoveClaim (Claim? claim) |
virtual IEnumerable< Claim > | FindAll (Predicate< Claim > match) |
virtual IEnumerable< Claim > | FindAll (string type) |
virtual ? Claim | FindFirst (Predicate< Claim > match) |
virtual ? Claim | FindFirst (string type) |
virtual bool | HasClaim (Predicate< Claim > match) |
virtual bool | HasClaim (string type, string value) |
virtual void | WriteTo (BinaryWriter writer) |
Static Public Attributes | |
const string | DefaultIssuer = "LOCAL AUTHORITY" |
const string | DefaultNameClaimType = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" |
const string | DefaultRoleClaimType = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" |
Protected Member Functions | |
GenericIdentity (GenericIdentity identity) | |
virtual Claim | CreateClaim (BinaryReader reader) |
virtual void | WriteTo (BinaryWriter writer, byte[]? userData) |
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
Properties | |
override IEnumerable< Claim > | Claims [get] |
override string | Name [get] |
override string | AuthenticationType [get] |
override bool | IsAuthenticated [get] |
ClaimsIdentity? | Actor [get, set] |
object? | BootstrapContext [get, set] |
virtual ? byte[] | CustomSerializationData [get] |
List< List< Claim > > | ExternalClaims [get] |
string? | Label [get, set] |
string | NameClaimType [get] |
string | RoleClaimType [get] |
Private Types | |
enum | SerializationMask { None = 0 , AuthenticationType = 1 , BootstrapConext = 2 , NameClaimType = 4 , RoleClaimType = 8 , HasClaims = 0x10 , HasLabel = 0x20 , Actor = 0x40 , UserData = 0x80 } |
Private Member Functions | |
void | AddNameClaim () |
IEnumerable< Claim > | CombinedClaimsIterator () |
void | SafeAddClaims (IEnumerable< Claim > claims) |
void | SafeAddClaim (Claim claim) |
void | Initialize (BinaryReader reader) |
bool | IsCircular (ClaimsIdentity subject) |
Private Attributes | |
readonly string | m_name |
readonly string | m_type |
byte[] | _userSerializationData |
ClaimsIdentity | _actor |
string | _authenticationType |
object | _bootstrapContext |
List< List< Claim > > | _externalClaims |
string | _label |
readonly List< Claim > | _instanceClaims = new List<Claim>() |
string | _nameClaimType = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" |
string | _roleClaimType = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" |
Definition at line 6 of file GenericIdentity.cs.