4 implementations of IIdentity
mscorlib (1)
system\security\claims\ClaimsIdentity.cs (1)
31
public class ClaimsIdentity :
IIdentity
System.ServiceModel (1)
System\ServiceModel\Security\Tokens\WindowsSidIdentity.cs (1)
12
class WindowsSidIdentity :
IIdentity
System.Web (1)
Security\PassportIdentity.cs (1)
28
public sealed class PassportIdentity :
IIdentity
, IDisposable {
System.Web.Extensions (1)
ClientServices\ClientFormsIdentity.cs (1)
16
public class ClientFormsIdentity :
IIdentity
, IDisposable
128 references to IIdentity
mscorlib (22)
system\security\claims\ClaimsIdentity.cs (13)
137
/// an <see cref="
IIdentity
"/> instance.
139
/// <param name="identity"><see cref="
IIdentity
"/> to draw the name and authentication type from.</param>
141
public ClaimsIdentity(
IIdentity
identity)
157
: this((
IIdentity
) null, claims, null, null, null)
167
: this((
IIdentity
) null, (IEnumerable<Claim>)null, authenticationType, (string)null, (string)null)
183
: this((
IIdentity
)null, claims, authenticationType, null, null)
189
/// an <see cref="
IIdentity
"/> instance.
191
/// <param name="identity"><see cref="
IIdentity
"/> to draw the name and authentication type from.</param>
193
public ClaimsIdentity(
IIdentity
identity, IEnumerable<Claim> claims)
206
: this((
IIdentity
) null, (IEnumerable<Claim>)null, authenticationType, nameType, roleType)
219
: this((
IIdentity
)null, claims, authenticationType, nameType, roleType)
232
public ClaimsIdentity(
IIdentity
identity, IEnumerable<Claim> claims, string authenticationType, string nameType, string roleType)
248
internal ClaimsIdentity(
IIdentity
identity, IEnumerable<Claim> claims, string authenticationType, string nameType, string roleType, bool checkAuthType)
system\security\claims\ClaimsPrincipal.cs (2)
192
public ClaimsPrincipal(
IIdentity
identity)
743
public virtual System.Security.Principal.
IIdentity
Identity
system\security\permissions\principalpermission.cs (1)
485
IIdentity
identity = principal.Identity;
system\security\principal\genericprincipal.cs (4)
32
private
IIdentity
m_identity;
35
public GenericPrincipal(
IIdentity
identity, string[] roles) {
92
void AddIdentityWithRoles(
IIdentity
identity, string[] roles)
119
public override
IIdentity
Identity {
system\security\principal\iprincipal.cs (1)
24
IIdentity
Identity { get; }
system\security\principal\windowsprincipal.cs (1)
115
public override
IIdentity
Identity {
System (4)
net\System\Net\SecureProtocols\_NegoState.cs (2)
322
internal
IIdentity
GetIdentity() {
326
IIdentity
result = null;
net\System\Net\SecureProtocols\NegotiateStream.cs (2)
45
private
IIdentity
_RemoteIdentity;
410
public virtual
IIdentity
RemoteIdentity
System.IdentityModel (29)
System\IdentityModel\Claims\WindowsClaimSet.cs (1)
94
IIdentity
IIdentityInfo.Identity
System\IdentityModel\Claims\X509CertificateClaimSet.cs (3)
72
IIdentity
IIdentityInfo.Identity
340
IIdentity
identity;
354
public
IIdentity
Identity
System\IdentityModel\Policy\UnconditionalPolicy.cs (10)
14
IIdentity
Identity { get; }
24
IIdentity
primaryIdentity;
49
internal UnconditionalPolicy(
IIdentity
primaryIdentity, ClaimSet issuance)
55
internal UnconditionalPolicy(
IIdentity
primaryIdentity, ClaimSet issuance, DateTime expirationTime)
61
internal UnconditionalPolicy(
IIdentity
primaryIdentity, ReadOnlyCollection<ClaimSet> issuances, DateTime expirationTime)
121
internal
IIdentity
PrimaryIdentity
128
IIdentity
identity = null;
229
IList<
IIdentity
> identities;
233
identities = new List<
IIdentity
>(1);
239
identities = obj as IList<
IIdentity
>;
System\IdentityModel\SecurityUtils.cs (8)
31
static
IIdentity
anonymousIdentity;
41
internal static
IIdentity
AnonymousIdentity
69
internal static
IIdentity
CreateIdentity(string name, string authenticationType)
74
internal static
IIdentity
CreateIdentity(string name)
336
List<
IIdentity
> identities = new List<
IIdentity
>();
630
internal static
IIdentity
CloneIdentityIfNecessary(
IIdentity
identity)
System\IdentityModel\Selectors\CustomUserNameSecurityTokenAuthenticator.cs (2)
33
IIdentity
identity;
48
public
IIdentity
Identity
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (2)
202
public virtual
IIdentity
ResolveIdentity(SecurityToken token)
229
public virtual
IIdentity
ResolveIdentity(SecurityKeyIdentifier keyIdentifier)
System\IdentityModel\Tokens\AuthorizationPolicy.cs (1)
220
private static ClaimsPrincipal CreateFromIdentity(
IIdentity
identity)
System\IdentityModel\Tokens\SamlSubject.cs (2)
35
IIdentity
identity;
127
internal
IIdentity
Identity
System.Runtime.Remoting (1)
channels\core\remotingauthentication.cs (1)
34
bool IsConnectingIdentityAuthorized(
IIdentity
identity);
System.ServiceModel (35)
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
462
public
IIdentity
Identity
System\ServiceModel\Security\RoleProviderPrincipal.cs (1)
24
public
IIdentity
Identity
System\ServiceModel\Security\SctClaimSerializer.cs (10)
404
IList<
IIdentity
> identities;
407
identities = obj as IList<
IIdentity
>;
420
static void SerializePrimaryIdentity(
IIdentity
identity, SctClaimDictionary dictionary, XmlDictionaryWriter writer, XmlObjectSerializer serializer)
475
public static IList<
IIdentity
> DeserializeIdentities(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer)
477
List<
IIdentity
> identities = null;
480
identities = new List<
IIdentity
>();
484
IIdentity
identity = DeserializePrimaryIdentity(reader, dictionary, serializer);
495
static
IIdentity
DeserializePrimaryIdentity(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer)
497
IIdentity
identity = null;
520
identity = (
IIdentity
)serializer.ReadObject(reader);
System\ServiceModel\Security\SecurityUtils.cs (9)
272
static
IIdentity
anonymousIdentity;
357
internal static
IIdentity
AnonymousIdentity
387
internal static
IIdentity
CreateIdentity(string name, string authenticationType)
392
internal static
IIdentity
CreateIdentity(string name)
1031
List<
IIdentity
> identities = null;
1035
identities = obj as List<
IIdentity
>;
1041
IIdentity
identity = identities[i];
1080
internal static void AppendIdentityName(StringBuilder str,
IIdentity
identity)
1145
internal static string GetIdentityName(
IIdentity
identity)
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (7)
49
IList<
IIdentity
> identities = null;
94
identities = SctClaimSerializer.DeserializeIdentities(reader, dictionary, DataContractSerializerDefaults.CreateSerializer(typeof(
IIdentity
), this.knownTypes, int.MaxValue));
196
DataContractSerializer identitySerializer = DataContractSerializerDefaults.CreateSerializer(typeof(
IIdentity
), this.knownTypes, int.MaxValue);
259
IList<
IIdentity
> identities;
263
public SctUnconditionalPolicy(IList<
IIdentity
> identities, IList<ClaimSet> claimSets, DateTime expirationTime)
297
List<
IIdentity
> dstIdentities = obj as List<
IIdentity
>;
System\ServiceModel\ServiceSecurityContext.cs (7)
23
IIdentity
primaryIdentity;
113
public
IIdentity
PrimaryIdentity
119
IIdentity
primaryIdentity = null;
120
IList<
IIdentity
> identities = GetIdentities();
140
IList<
IIdentity
> identities = GetIdentities();
189
IList<
IIdentity
> GetIdentities()
195
return identities as IList<
IIdentity
>;
System.Web (20)
Hosting\IIS7UserPrincipal.cs (3)
16
private
IIdentity
_identity;
19
internal IIS7UserPrincipal(IIS7WorkerRequest wr,
IIdentity
identity) {
28
public
IIdentity
Identity {
Hosting\IIS7WorkerRequest.cs (1)
2238
IIdentity
identity = null;
Management\EventlogProvider.cs (1)
89
IIdentity
id = iprincipal.Identity;
Management\WebEvents.cs (1)
2004
IIdentity
id = Principal.Identity;
Management\wmiprovider.cs (1)
105
IIdentity
id = iprincipal.Identity;
Security\FormsIdentity.cs (1)
81
: base((
IIdentity
)identity)
Security\RoleManagerModule.cs (1)
146
private RolePrincipal CreateRolePrincipalWithAssert(
IIdentity
identity, string encryptedTicket = null) {
Security\RolePrincipal.cs (10)
39
public RolePrincipal(
IIdentity
identity, string encryptedTicket)
54
public RolePrincipal(
IIdentity
identity)
62
public RolePrincipal(string providerName,
IIdentity
identity )
78
public RolePrincipal(string providerName,
IIdentity
identity, string encryptedTicket )
180
void AddIdentityAttachingRoles(
IIdentity
identity)
222
public override
IIdentity
Identity { get { return _Identity; }}
247
IIdentity
id = _Identity;
363
_Identity = info.GetValue("_Identity", typeof(
IIdentity
)) as
IIdentity
;
433
private
IIdentity
_Identity;
UI\WebControls\LoginUtil.cs (1)
134
IIdentity
identity = user.Identity;
System.Web.Extensions (8)
ApplicationServices\ApplicationServiceHelper.cs (1)
82
IIdentity
userIdentity = user.Identity;
ClientServices\ClientRolePrincipal.cs (3)
14
public
IIdentity
Identity { get { return _Identity; } }
15
private
IIdentity
_Identity;
17
public ClientRolePrincipal(
IIdentity
identity) {
ClientServices\Providers\ClientRoleProvider.cs (1)
162
private void GetRolesForUserCore(
IIdentity
identity)
ClientServices\Providers\ClientSettingsProvider.cs (3)
77
IIdentity
id = Thread.CurrentPrincipal.Identity;
471
IIdentity
id = Thread.CurrentPrincipal.Identity;
627
IIdentity
id = Thread.CurrentPrincipal.Identity;
System.Workflow.Activities (2)
Executors\WorkflowWebService.cs (1)
182
IIdentity
identity = System.Threading.Thread.CurrentPrincipal.Identity;
LocalService\WorkflowMessageEventHandler.cs (1)
120
IIdentity
identity = System.Threading.Thread.CurrentPrincipal.Identity;
System.WorkflowServices (7)
System\ServiceModel\Security\SerializableAuthorizationContext.cs (7)
119
DataContractSerializer identitySerializer = DataContractSerializerDefaults.CreateSerializer(typeof(
IIdentity
), knownTypes, 0x7fffffff);
151
IList<
IIdentity
> identities = null;
172
identities = SctClaimSerializer.DeserializeIdentities(reader, claimDictionary, DataContractSerializerDefaults.CreateSerializer(typeof(
IIdentity
), knownTypes, 0x7fffffff));
202
IList<
IIdentity
> identities;
204
public SctUnconditionalPolicy(IList<
IIdentity
> identities, string id, IList<ClaimSet> claimSets, DateTime expirationTime)
243
List<
IIdentity
> identities = obj as List<
IIdentity
>;