Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ClaimsIdentity() [11/13]

System.Security.Claims.ClaimsIdentity.ClaimsIdentity ( ClaimsIdentity other)
inlineprotected

Definition at line 202 of file ClaimsIdentity.cs.

203 {
204 if (other == null)
205 {
206 throw new ArgumentNullException("other");
207 }
208 if (other._actor != null)
209 {
211 }
212 _authenticationType = other._authenticationType;
213 _bootstrapContext = other._bootstrapContext;
214 _label = other._label;
215 _nameClaimType = other._nameClaimType;
216 _roleClaimType = other._roleClaimType;
217 if (other._userSerializationData != null)
218 {
219 _userSerializationData = other._userSerializationData.Clone() as byte[];
220 }
221 SafeAddClaims(other._instanceClaims);
222 }
void SafeAddClaims(IEnumerable< Claim > claims)

References System.Security.Claims.ClaimsIdentity._actor, System.Security.Claims.ClaimsIdentity._authenticationType, System.Security.Claims.ClaimsIdentity._bootstrapContext, System.Security.Claims.ClaimsIdentity._label, System.Security.Claims.ClaimsIdentity._nameClaimType, System.Security.Claims.ClaimsIdentity._roleClaimType, System.Security.Claims.ClaimsIdentity._userSerializationData, System.Security.Claims.ClaimsIdentity.Clone(), System.other, and System.Security.Claims.ClaimsIdentity.SafeAddClaims().