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

◆ ClaimsPrincipal() [4/6]

System.Security.Claims.ClaimsPrincipal.ClaimsPrincipal ( IIdentity identity)
inline

Definition at line 140 of file ClaimsPrincipal.cs.

141 {
142 if (identity == null)
143 {
144 throw new ArgumentNullException("identity");
145 }
146 if (identity is ClaimsIdentity item)
147 {
149 }
150 else
151 {
152 _identities.Add(new ClaimsIdentity(identity));
153 }
154 }
void Add(TKey key, TValue value)
readonly List< ClaimsIdentity > _identities

References System.Security.Claims.ClaimsPrincipal._identities, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), and System.item.